diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-10 20:02:00 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-10 20:02:00 +0000 |
commit | 47a81620adc8c33631bd4b3b8d122c2a17940f8c (patch) | |
tree | cc9128904b2033f9184b42a149d434e2d86ed7af /elf | |
parent | 8fdc11384ea3bddaaba026c98d21fa608d7d7a1d (diff) | |
download | glibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.tar glibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.tar.gz glibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.tar.bz2 glibc-47a81620adc8c33631bd4b3b8d122c2a17940f8c.zip |
Update.
2000-07-09 Mark Kettenis <kettenis@gnu.org>
* elf/rtld.c (dl_main): Move call to __libc_check_standard_fds...
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): ... to here.
2000-07-10 Ulrich Drepper <drepper@redhat.com>
* include/features.h: Include ISO C99 features if the compiler used
is an ISO C99 compiler.
Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-07-08 Mark Kettenis <kettenis@gnu.org>
* iconv/gconv_conf.c: Include <bits/libc-lock.h>.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/rtld.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/elf/rtld.c b/elf/rtld.c index 5dbab3a885..68c516d4bc 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -52,9 +52,6 @@ extern void *_dl_sysdep_read_whole_file (const char *filename, size_t *filesize_ptr, int mmap_prot); -/* Protec SUID program against misuse of file descriptors. */ -extern void __libc_check_standard_fds (void); - /* Helper function to handle errors while resolving symbols. */ static void print_unresolved (int errcode, const char *objname, const char *errsting); @@ -400,12 +397,6 @@ dl_main (const ElfW(Phdr) *phdr, hp_timing_t diff; #endif - /* First thing, if this is a SUID program we make sure that FDs 0, - 1, and 2 are allocated. If necessary we are doing it ourself. - If it is not possible we stop the program. */ - if (__builtin_expect (__libc_enable_secure, 0)) - __libc_check_standard_fds (); - /* Process the environment variable which control the behaviour. */ process_envvars (&mode, &_dl_lazy); |