mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 23:07:23 +08:00
Fixed Xorg security bug in ticket #1876. Imporved sed to include linux/types.h
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5863 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
2b470cff0b
commit
504d0c05c1
@ -44,6 +44,11 @@
|
||||
<listitem>
|
||||
<para>April 14th, 2006</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dnicholson] - Added sed to Xorg-6.9.0 to fix security
|
||||
vulnerabitility in ticket #1876. Changed sed to include
|
||||
linux/types.h to be the same as that in Xorg-7.0.0.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[randy] - Updated all the wiki links to point to the existing
|
||||
package wiki page if one existed.</para>
|
||||
|
@ -202,12 +202,16 @@
|
||||
order to avoid a race condition with the <application>luit</application>
|
||||
program. Additionally, recent <application>glibc</application> requires
|
||||
<filename>linux/types.h</filename> to be included prior to
|
||||
<filename>asm/types.h</filename>. Fix both issues with the following
|
||||
commands:</para>
|
||||
<filename>asm/types.h</filename>. Finally, the server portion of
|
||||
<application>Xorg</application> contains a <ulink
|
||||
url="http://wiki.x.org/wiki/SecurityPage">security vulnerability</ulink>.
|
||||
Fix these issues with the following commands:</para>
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../xorg-&xorg-version;-luit_race-1.patch &&
|
||||
sed -i "s@*/@*/\n#include <linux/types.h>\n@" \
|
||||
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
|
||||
sed -i '/CONFIG_H/i #include <linux/types.h>' \
|
||||
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c &&
|
||||
sed -i 's/geteuid /geteuid() /' \
|
||||
programs/Xserver/hw/xfree86/common/xf86Init.c</userinput></screen>
|
||||
|
||||
<para>Additionally, if you choose to install
|
||||
<application>Xorg</application> to any prefix other than
|
||||
|
Loading…
Reference in New Issue
Block a user