From: ebiederm@xmission.com (Eric W. Biederman)
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>,
Albert Cahalan <acahalan@gmail.com>,
Cal Peake <cp@absolutedigital.net>, Andi Kleen <ak@suse.de>,
Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [CFT] Grep to find users of sys_sysctl.
Date: Fri, 20 Oct 2006 08:38:07 -0600 [thread overview]
Message-ID: <m1wt6v2gts.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20061020075234.GA18645@flint.arm.linux.org.uk> (Russell King's message of "Fri, 20 Oct 2006 08:52:34 +0100")
Jakub Jelinek <jakub@redhat.com> writes:
> This assumes the binaries and/or libraries are not stripped, and they
> usually are stripped. So, it is better to run something like:
> find / -type f -perm /111 | while read f; do readelf -Ws $f 2>/dev/null | fgrep
> -q sysctl@GLIBC && echo $f; done
Russell King <rmk+lkml@arm.linux.org.uk> writes:
> glibc on ARM _requires_ sys_sysctl for userspace ioperm, inb, outb etc
> emulation.
It looks like we have a small but interesting set of sysctl users.
The list of files below is a composite from a number of systems I have
access to, and the reply I have gotten so far. I'm still hoping to hear
from other people so I can add some other users of sysctl to my list.
I'm still investigating to see how all of these pieces are using
sysctl, and how much they care:
- radvd seems to be an upstanding user.
- libsensors seems to be using sysctls so we have no responsibility to
maintain the ABI there.
- libpthread uses sysctl but it doesn't much care.
- module_upgrade seems to be setting the printk verbosity?
The nvidia-installer sounds like a scary piece of code.
I'm puzzled why the majority of the users seem to be concentrated
in system configuration software and installers.
These
Compiling the results I have so far (Some of these are from older distros):
/sbin/kmodule
/sbin/sndconfig
/usr/X11R6/bin/Xconfigurator
/usr/bin/tiny-nvidia-installer
/usr/bin/nvidia-installer
/usr/sbin/glidelink
/usr/sbin/kudzu
/usr/sbin/module_upgrade
/usr/sbin/mouseconfig
/usr/sbin/radvd
/usr/sbin/updfstab
/usr/lib/libsensors.so.1.2.1
/usr/lib/libsensors.so.3.1.0
/usr/lib/libsensors.so.3.0.9
/usr/lib64/libsensors.so.2.0.0
/usr/lib64/libsensors.so.3.0.9
/usr/lib/python1.5/site-packages/_kudzumodule.so
/usr/lib/python2.2/site-packages/_kudzumodule.so
/usr/lib/python2.3/site-packages/_kudzumodule.so
/usr/lib64/python2.4/site-packages/_kudzumodule.so
/lib/i686/libpthread-0.10.so
/lib/i686/libpthread.so.0
/lib/i686/nosegneg/libpthread-2.4.so
/lib/libpthread-0.10.so
/lib/libpthread-0.9.so
/lib/libpthread.so.0
/lib/tls/libpthread-2.3.3.so
/lib/tls/libpthread-2.3.5.so
/lib/tls/libpthread-2.3.6.so
/lib/tls/libpthread.so.0
/lib/libpthread-2.4.so
/lib64/libpthread.so.0
/lib64/tls/libpthread.so.0
/lib64/libpthread-2.4.so
/usr/i386-glibc22-linux/lib/libpthread-0.9.so
/usr/i386-glibc22-linux/lib/libpthread.so.0
Eric
next prev parent reply other threads:[~2006-10-20 14:40 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 18:23 sysctl Albert Cahalan
2006-10-18 18:27 ` sysctl David KOENIG
2006-10-18 18:31 ` sysctl Linus Torvalds
2006-10-18 18:52 ` sysctl Cal Peake
2006-10-18 19:12 ` sysctl Olaf Hering
2006-10-18 19:44 ` sysctl Andrew Morton
2006-10-18 21:06 ` sysctl Cal Peake
2006-10-19 4:41 ` [RFC] [PATCH] Improve the remove sysctl warnings Eric W. Biederman
2006-10-19 16:25 ` Cal Peake
2006-10-19 19:50 ` Alexey Dobriyan
2006-10-19 19:55 ` Cal Peake
2006-10-20 7:05 ` [CFT] Grep to find users of sys_sysctl Eric W. Biederman
2006-10-20 7:35 ` Andrew Morton
2006-10-20 12:54 ` Eric W. Biederman
2006-10-20 16:39 ` Andrew Morton
2006-10-21 10:23 ` Eric W. Biederman
2006-10-20 7:52 ` Russell King
2006-10-20 14:38 ` Eric W. Biederman [this message]
2006-10-20 15:18 ` Albert Cahalan
2006-10-21 10:53 ` Eric W. Biederman
2006-10-20 15:46 ` Bill Nottingham
2006-10-20 8:02 ` Jakub Jelinek
2006-10-20 13:41 ` Eric W. Biederman
2006-10-20 17:54 ` Marco Roeland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1wt6v2gts.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=acahalan@gmail.com \
--cc=ak@suse.de \
--cc=akpm@osdl.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=cp@absolutedigital.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox