1 diff -X /home/sds/dontdiff -ru glibc-2.3.2-200304020432.orig/elf/elf.h glibc-2.3.2-200304020432/elf/elf.h
2 --- glibc-2.3.2-200304020432.orig/elf/elf.h 2003-03-02 06:41:51.000000000 -0500
3 +++ glibc-2.3.2-200304020432/elf/elf.h 2003-06-10 14:55:10.000000000 -0400
5 interpretation of the AUXV. Must be > 16. */
6 #define AT_IGNOREPPC 22 /* Entry should be ignored */
8 +#define AT_SECURE 23 /* Secure mode boolean */
10 /* Pointer to the global system page used for system calls and other
13 diff -X /home/sds/dontdiff -ru glibc-2.3.2-200304020432.orig/sysdeps/generic/dl-sysdep.c glibc-2.3.2-200304020432/sysdeps/generic/dl-sysdep.c
14 --- glibc-2.3.2-200304020432.orig/sysdeps/generic/dl-sysdep.c 2003-03-15 18:09:21.000000000 -0500
15 +++ glibc-2.3.2-200304020432/sysdeps/generic/dl-sysdep.c 2003-06-10 15:27:04.000000000 -0400
22 # define set_seen(tag) (tag) /* Evaluate for the side effects. */
26 gid ^= av->a_un.a_val;
29 + secure = av->a_un.a_val;
32 GL(dl_platform) = av->a_un.a_ptr;
35 DL_SYSDEP_OSCHECK (dl_fatal);
39 + INTUSE(__libc_enable_secure) = secure;
41 /* Fill in the values we have not gotten from the kernel through the
45 /* If one of the two pairs of IDs does not mattch this is a setuid
47 INTUSE(__libc_enable_secure) = uid | gid;
50 #ifndef HAVE_AUX_PAGESIZE
51 if (GL(dl_pagesize) == 0)