sysctl calls from userland

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux