List Info

Thread: sysctl calls from userland




sysctl calls from userland
user name
2006-09-27 23:27:19
Looking through the dmesg(1) output from the kernel I built
this morning
from Linus' git tree, I saw a few:

 warning: process `date' used the removed sysctl system call

Other programs listed as using sysctl are: kmodule, ls,
kudzu, sleep
newaliases, sendmail and dbus-daemon.

Looking at "sleep", I found that the sysctl() call
was made before
getting to main().  The issue is all the code dragged in by
"-lrt".
A simple test case:

$ cat nop.c
main() {}
$ gcc -o nop nop.c -lrt
$ strace -o nop.out ./nop
$ grep sysctl nop.out
_sysctl(0x60000ffffe97f3c0)           = 0
$

Is my userland too old (vintage RHEL4u1)?

-Tony
-
To unsubscribe from this list: send the line
"unsubscribe linux-ia64" in
the body of a message to majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )