This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps/unix/sysv/linux dl-osinfo.h
- From: roland at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 7 Apr 2005 20:56:51 -0000
- Subject: libc/sysdeps/unix/sysv/linux dl-osinfo.h
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2005-04-07 20:56:51
Modified files:
sysdeps/unix/sysv/linux: dl-osinfo.h
Log message:
2005-03-22 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_discover_osversion)
[(NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO) && SHARED]: Scan
GLRO(dl_sysinfo_map) for PT_NOTE giving Linux kernel version,
we can skip the uname call if it's there.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Don't use
DL_SYSDEP_OSCHECK here.
* elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]: Do it here instead.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/dl-osinfo.h.diff?cvsroot=glibc&r1=1.18&r2=1.19