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:
Dan Nichilson 2006-04-14 21:52:03 +00:00
parent 2b470cff0b
commit 504d0c05c1
2 changed files with 13 additions and 4 deletions

View File

@ -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>

View File

@ -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 &amp;&amp;
sed -i "s@*/@*/\n#include &lt;linux/types.h&gt;\n@" \
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
sed -i '/CONFIG_H/i #include &lt;linux/types.h&gt;' \
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c &amp;&amp;
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