Re: [CFT] Grep to find users of sys_sysctl.

Russell King
2006-10-20T07:52:48Z

On Fri, Oct 20, 2006 at 01:05:18AM -0600, Eric W. Biederman wrote:
> Anyone who is interested in knowing if they have an application on
> their system that actually uses sys_sysctl please run the following grep.
>
> find / -type f -perm /111 -exec fgrep 'sysctl@@GLIBC' '{}' ';'
>
> The -perm /111 is an optimization to only look at executable files,
> and may be omitted if you are patient.
>
> Currently I don't expect anyone to find a match anywhere except in libpthreads,
> if you find any others please let me know.

glibc on ARM _requires_ sys_sysctl for userspace ioperm, inb, outb etc
emulation.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core