r907 - trunk

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Sun Nov 14 08:58:14 PST 2004


Author: tushar
Date: 2004-11-14 09:58:12 -0700 (Sun, 14 Nov 2004)
New Revision: 907

Modified:
   trunk/ssp.txt
Log:
Updated Hint: ssp

Modified: trunk/ssp.txt
===================================================================
--- trunk/ssp.txt	2004-11-14 16:55:43 UTC (rev 906)
+++ trunk/ssp.txt	2004-11-14 16:58:12 UTC (rev 907)
@@ -1,6 +1,6 @@
 AUTHOR:		Robert Connolly <robert at linuxfromscratch dot org> (ashes)
 
-DATE:		2004-10-30
+DATE:		2004-11-12
 
 LICENSE:	Public Domain
 
@@ -78,7 +78,7 @@
 *** All of these patches are in:
 http://www.linuxfromscratch.org/~robert/hlfs/downloads/cvs/\
 	hlfs-patches-{date}.tar.bz2
-For example: hlfs-patches-20041028.tar.bz2
+For example: hlfs-patches-20041104.tar.bz2
 
 Note: gcc-3.3 patches apply to gcc-3.3.* too. Likewise with gcc-3.4 patches.
 
@@ -118,15 +118,16 @@
         linux-2.4.27-ssp-1.patch # or
         linux-2.6.5-ssp-1.patch # This still works on newer 2.6 kernels.
 
+Do not use older versions than these patches, a new define was added. These
+patches should apply to old kernels if you are using an older version.
+
 http://www.linuxfromscratch.org/patches/downloads/linux/\
-        linux-2.4.27-frandom-1.patch # or
-	linux-2.6.8.1-frandom-1.patch # This works on 2.6.9 too.
+        linux-2.4.27-frandom-2.patch # or
+	linux-2.6.9-frandom-2.patch
 
-There is also an mktemp patch for frandom:
+In the entropy.txt hint there is a libarc3library using frandom, which
+has a patch for Mktemp. See entropy.txt for more details.
 
-http://www.linuxfromscratch.org/patches/downloads/mktemp/\
-	mktemp-1.5-frandom-1.patch
-
 The XFree86 patch disables stack protection for some modules.
 
 http://www.linuxfromscratch.org/patches/downloads/XFree86/ \
@@ -135,8 +136,8 @@
 And for LFS-6
 
 http://www.linuxfromscratch.org/patches/downloads/\
-        linux-libc-headers/linux-libc-headers-2.6-frandom-1.patch
-ftp://twocents.mooo.com/pub/hlfs-patches/linux-libc-headers-2.6-frandom-1.patch
+        linux-libc-headers/linux-libc-headers-2.6-frandom-2.patch
+ftp://twocents.mooo.com/pub/hlfs-patches/linux-libc-headers-2.6-frandom-2.patch
 
 ======
 Extras
@@ -200,13 +201,13 @@
 ---------
 Kernel headers
 (See under PREREQUISITES above)
-patch -Np1 -i ../linux-2.4.27-frandom-1.patch
+patch -Np1 -i ../linux-2.4.27-frandom-2.patch
 
  - GCC pass 1
 If the host system has SSP in Glibc already, then you can patch gcc
 here. Otherwise do not. If in doubt, wait until pass two.
  - Glibc
-patch -Np1 -i ../glibc-2.3.4-ssp-frandom-4.patch # or 2.3.2's patch
+patch -Np1 -i ../glibc-2.3.4-ssp_frandom-4.patch # or 2.3.2's patch
 
  - GCC pass 2
 If you use sspspecs patch then a `make bootstrap` is a good idea too.
@@ -223,7 +224,7 @@
 Make sure the frandom header get installed again.
 
  - Glibc
-patch -Np1 -i ../glibc-2.3.4-ssp-frandom-4.patch
+patch -Np1 -i ../glibc-2.3.4-ssp_frandom-4.patch
 
  - Binutils
 make CFLAGS="-fno-stack-protector" check
@@ -251,7 +252,7 @@
 
 make mrproper &&
 patch -Np1 -i ../linux-2.4.27-ssp-1.patch
-patch -Np1 -i ../linux-2.4.27-frandom-1.patch
+patch -Np1 -i ../linux-2.4.27-frandom-2.patch
 
 make menuconfig
 
@@ -403,3 +404,9 @@
 [2004-10-30]
 * Do not use -O3 or -O4
 * Use CFLAGS="-O2" for Perl chapter 6.
+[2004-11-04]
+* Remove frandom mktemp patch.
+* Add note about arc4random.
+* Update patches, new define for SYSCTL_ERANDOM.
+[2004-11-12]
+* Fix typos




More information about the hints mailing list