Author: archaic Date: 2005-03-13 21:44:40 -0700 (Sun, 13 Mar 2005) New Revision: 867
Added: trunk/hlfs/linux-libc-headers-2.6.11.0-pseudo_random-1.patch trunk/hlfs/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-pseudo_random-1.patch trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch Removed: trunk/hlfs/linux-libc-headers-2.6.10.0-pseudo_random-1.patch trunk/hlfs/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-pseudo_random-1.patch trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch Log: Updated llh's pseudo_random and unistd PIC patches to 2.6.11.0 (hlfs). Deleted: trunk/hlfs/linux-libc-headers-2.6.10.0-pseudo_random-1.patch =================================================================== --- trunk/hlfs/linux-libc-headers-2.6.10.0-pseudo_random-1.patch 2005-03-13 23:24:10 UTC (rev 866) +++ trunk/hlfs/linux-libc-headers-2.6.10.0-pseudo_random-1.patch 2005-03-14 04:44:40 UTC (rev 867) @@ -1,36 +0,0 @@ -Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes) -Date: 2005-02-12 -Initial Package Version: 2.6.10.0 -Upstream Status: Not submitted -Origin: http://frandom.sourceforge.net/ -Description: This patch adds support for sysctl erandom and urandom. - -This patch depends on the kernel pseudo_random patch. - -Also see: -http://www.linuxfromscratch.org/hlfs/ -http://www.linuxfromscratch.org/hints/downloads/files/entropy.txt - -diff -Naur linux-libc-headers-2.6.10.0.orig/include/linux/sysctl.h linux-libc-headers-2.6.10.0/include/linux/sysctl.h ---- linux-libc-headers-2.6.10.0.orig/include/linux/sysctl.h 2005-01-08 14:03:21.000000000 +0000 -+++ linux-libc-headers-2.6.10.0/include/linux/sysctl.h 2005-02-12 18:10:36.386370616 +0000 -@@ -195,6 +195,8 @@ - }; - - /* /proc/sys/kernel/random */ -+#define SYSCTL_URANDOM -+#define SYSCTL_ERANDOM - enum - { - RANDOM_POOLSIZE=1, -@@ -202,7 +204,9 @@ - RANDOM_READ_THRESH=3, - RANDOM_WRITE_THRESH=4, - RANDOM_BOOT_ID=5, -- RANDOM_UUID=6 -+ RANDOM_UUID=6, -+ RANDOM_URANDOM=7, -+ RANDOM_ERANDOM=8 - }; - - /* /proc/sys/kernel/pty */ Deleted: trunk/hlfs/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch =================================================================== --- trunk/hlfs/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch 2005-03-13 23:24:10 UTC (rev 866) +++ trunk/hlfs/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch 2005-03-14 04:44:40 UTC (rev 867) @@ -1,175 +0,0 @@ -Submitted By: Robert Connolly <robert at linuxfromscratch dot org> (ashes) -Date: 2005-02-22 -Initial Package Version: 2.6.10.0 -Upstream Status: Not submitted -Origin: Gentoo - unistd.h-i386-pic.patch -Description: This patch adds position independent assembly for syscalls. -This fixes problems with llseek(), util-linux, vsftpd, proftpd, and more. - -Also see: -http://www.linuxfromscratch.org/hlfs/ - -diff -Naur linux-libc-headers-2.6.10.0.orig/include/asm-i386/unistd.h linux-libc-headers-2.6.10.0/include/asm-i386/unistd.h ---- linux-libc-headers-2.6.10.0.orig/include/asm-i386/unistd.h 2005-01-08 14:04:09.000000000 +0000 -+++ linux-libc-headers-2.6.10.0/include/asm-i386/unistd.h 2005-02-22 10:34:01.836076592 +0000 -@@ -321,6 +321,21 @@ - __syscall_return(type,__res); \ - } - -+#ifdef __PIC__ -+#define _syscall1(type,name,type1,arg1) \ -+type name(type1 arg1) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall1(type,name,type1,arg1) \ - type name(type1 arg1) \ - { \ -@@ -330,7 +345,23 @@ - : "0" (__NR_##name),"b" ((long)(arg1))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall2(type,name,type1,arg1,type2,arg2) \ -+type name(type1 arg1,type2 arg2) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1)),"c" ((long)(arg2))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall2(type,name,type1,arg1,type2,arg2) \ - type name(type1 arg1,type2 arg2) \ - { \ -@@ -340,7 +371,24 @@ - : "0" (__NR_##name),"b" ((long)(arg1)),"c" ((long)(arg2))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ -+type name(type1 arg1,type2 arg2,type3 arg3) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall3(type,name,type1,arg1,type2,arg2,type3,arg3) \ - type name(type1 arg1,type2 arg2,type3 arg3) \ - { \ -@@ -351,7 +399,24 @@ - "d" ((long)(arg3))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ -+type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"r" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3)),"S" ((long)(arg4))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall4(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4) \ - type name (type1 arg1, type2 arg2, type3 arg3, type4 arg4) \ - { \ -@@ -362,7 +427,25 @@ - "d" ((long)(arg3)),"S" ((long)(arg4))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ -+ type5,arg5) \ -+type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ : "=a" (__res) \ -+ : "0" (__NR_##name),"m" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall5(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ - type5,arg5) \ - type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5) \ -@@ -374,7 +457,30 @@ - "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5))); \ - __syscall_return(type,__res); \ - } -+#endif - -+#ifdef __PIC__ -+#define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ -+ type5,arg5,type6,arg6) \ -+type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \ -+{ \ -+long __res; \ -+__asm__ volatile (\ -+ "pushl %%ebp\n\t" \ -+ "movl %%eax,%%ebp\n\t" \ -+ "movl %1,%%eax\n\t" \ -+ "pushl %%ebx\n\t" \ -+ "movl %2,%%ebx\n\t" \ -+ "int $0x80\n\t" \ -+ "popl %%ebx\n\t" \ -+ "popl %%ebp\n\t" \ -+ : "=a" (__res) \ -+ : "i" (__NR_##name),"m" ((long)(arg1)),"c" ((long)(arg2)), \ -+ "d" ((long)(arg3)),"S" ((long)(arg4)),"D" ((long)(arg5)), \ -+ "0" ((long)(arg6))); \ -+__syscall_return(type,__res); \ -+} -+#else - #define _syscall6(type,name,type1,arg1,type2,arg2,type3,arg3,type4,arg4, \ - type5,arg5,type6,arg6) \ - type name (type1 arg1,type2 arg2,type3 arg3,type4 arg4,type5 arg5,type6 arg6) \ -@@ -387,6 +493,7 @@ - "0" ((long)(arg6))); \ - __syscall_return(type,__res); \ - } -+#endif - - #ifdef __KERNEL_SYSCALLS__ - Copied: trunk/hlfs/linux-libc-headers-2.6.11.0-pseudo_random-1.patch (from rev 866, trunk/hlfs/linux-libc-headers-2.6.10.0-pseudo_random-1.patch) Copied: trunk/hlfs/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch (from rev 866, trunk/hlfs/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch) Deleted: trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-pseudo_random-1.patch =================================================================== --- trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-pseudo_random-1.patch 2005-03-13 23:24:10 UTC (rev 866) +++ trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-pseudo_random-1.patch 2005-03-14 04:44:40 UTC (rev 867) @@ -1 +0,0 @@ -link ../hlfs/linux-libc-headers-2.6.10.0-pseudo_random-1.patch \ No newline at end of file Deleted: trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch =================================================================== --- trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch 2005-03-13 23:24:10 UTC (rev 866) +++ trunk/linux-libc-headers/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch 2005-03-14 04:44:40 UTC (rev 867) @@ -1 +0,0 @@ -link ../hlfs/linux-libc-headers-2.6.10.0-unistd_x86_PIC-1.patch \ No newline at end of file Added: trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-pseudo_random-1.patch =================================================================== --- trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-pseudo_random-1.patch 2005-03-13 23:24:10 UTC (rev 866) +++ trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-pseudo_random-1.patch 2005-03-14 04:44:40 UTC (rev 867) @@ -0,0 +1 @@ +link ../hlfs/linux-libc-headers-2.6.11.0-pseudo_random-1.patch \ No newline at end of file Property changes on: trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-pseudo_random-1.patch ___________________________________________________________________ Name: svn:special + * Added: trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch =================================================================== --- trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch 2005-03-13 23:24:10 UTC (rev 866) +++ trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch 2005-03-14 04:44:40 UTC (rev 867) @@ -0,0 +1 @@ +link ../hlfs/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch \ No newline at end of file Property changes on: trunk/linux-libc-headers/linux-libc-headers-2.6.11.0-unistd_x86_PIC-1.patch ___________________________________________________________________ Name: svn:special + * -- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
