diff options
author | dchagin <dchagin@FreeBSD.org> | 2009-05-10 18:43:43 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2009-05-10 18:43:43 +0000 |
commit | 51f122997d95d99a2b0e68444995323789c9da37 (patch) | |
tree | 80f75650b634fefa8d61d026ce4eb87879a7bdf8 /sys/compat/linux/linux_socket.c | |
parent | e4e6bf246f894df69a22849f9d779e13672a6d83 (diff) | |
download | FreeBSD-src-51f122997d95d99a2b0e68444995323789c9da37.zip FreeBSD-src-51f122997d95d99a2b0e68444995323789c9da37.tar.gz |
Do not export AT_CLKTCK when emulating Linux kernel prior
to 2.4.0, as it has appeared in the 2.4.0-rc7 first time.
Being exported, AT_CLKTCK is returned by sysconf(_SC_CLK_TCK),
glibc falls back to the hard-coded CLK_TCK value when aux entry
is not present.
Glibc versions prior to 2.2.1 always use hard-coded CLK_TCK value.
For older applications/libc's which depends on hard-coded CLK_TCK
value user should set compat.linux.osrelease less than 2.4.0.
Approved by: kib (mentor)
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
0 files changed, 0 insertions, 0 deletions