mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: ebiederm@xmission.com (Eric W. Biederman)
Cc: linux-kernel <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@osdl.org>,
	Albert Cahalan <acahalan@gmail.com>,
	Cal Peake <cp@absolutedigital.net>
Subject: Re: [CFT] Grep to find users of sys_sysctl.
Date: Fri, 20 Oct 2006 09:39:15 -0700	[thread overview]
Message-ID: <20061020093915.58961ba3.akpm@osdl.org> (raw)
In-Reply-To: <m1bqo7406k.fsf@ebiederm.dsl.xmission.com>

On Fri, 20 Oct 2006 06:54:43 -0600
ebiederm@xmission.com (Eric W. Biederman) wrote:

> > On Fri, 20 Oct 2006 01:05:18 -0600
> > ebiederm@xmission.com (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.
> >> 
> >
> > http://www.google.com/codesearch
> >
> > there are a few hits...
> 
> What were you using for search criteria?
> 
> A challenge is to weed out code that runs on BSDs where people do use sysctl.

I just used "sysctl" and clicked a lot.

>From a quick scan:

http://www.google.com/codesearch?q=+sysctl+linux+-glibc+show:ezM3VpAIwOY:VqU4ELp0K4A:GC7QFUptQys&sa=N&cd=51&ct=rc&cs_p=http://www.xorp.org/releases/0.2/xorp-0.2.tar.gz&cs_f=xorp-0.2/ospfd/linux/system.C#a0

http://www.google.com/codesearch?q=+sysctl+-glibc+show:dPzMrf8geLs:EbNoGzoYDAc:I-_8YloL1fY&sa=N&cd=11&ct=rc&cs_p=http://www.openwall.com/scanlogd/lib/libnet-1.1.3-RC-01.tar.gz&cs_f=libnet/src/libnet_link_bpf.c#a0

http://www.google.com/codesearch?q=+sysctl+-glibc+show:QQ2BcrelppE:zZeMmMrGko0:BFmHNHvdqyA&sa=N&cd=17&ct=rc&cs_p=http://www.cpan.org/authors/id/B/BR/BRYCE/Test-Parser-1.4.tar.gz&cs_f=Test-Parser-1.4/lib/Test/Parser/Sysctl.pm#a0

http://www.google.com/codesearch?q=+sysctl+-glibc+show:yqt7gBTAktI:350f8_WXUz8:J6r1Ge4gTiw&sa=N&cd=23&ct=rc&cs_p=http://darwinsource.opendarwin.org/tarballs/apsl/top-9.tar.gz&cs_f=top-9/libtop.c#a0

http://www.google.com/codesearch?q=+sysctl+-glibc+show:-9-E1kR2zW0:HD_LhbY9gNM:Wt7DONTBSR4&sa=N&cd=65&ct=rc&cs_p=http://sparemint.atariforge.net/sparemint/mint/kernel/1.15.12/freemint-1.15.12-src.tar.gz&cs_f=freemint-1.15.12/tools/sysctl/sysctl.c#a0

http://www.google.com/codesearch?q=+sysctl+-glibc+show:A8hxeTvi8Lc:rlNCNnWdQuo:lUO9tYzCStY&sa=N&cd=102&ct=rc&cs_p=http://www.opensource.apple.com/darwinsource/tarballs/other/OpenLDAP-69.0.2.tar.gz&cs_f=OpenLDAP-69.0.2/OpenLDAP/libraries/liblutil/uuid.c#a0

http://www.google.com/codesearch?q=+sysctl+-glibc+show:8eVH0Ss2hrY:Yg_zU6fz4U8:akq5ZzLPf34&sa=N&cd=107&ct=rc&cs_p=ftp://ftp.stacken.kth.se/pub/arla/arla-0.42.tar.gz&cs_f=arla-0.42/lib/roken/getdtablesize.c#a0

http://www.google.com/codesearch?q=+sysctl+-glibc+show:NXzHfAnEMjg:ZIWovlf1IWU:WZdEzr-Zs0o&sa=N&cd=112&ct=rc&cs_p=http://gentoo.osuosl.org/distfiles/bind-9.3.2-P1.tar.gz&cs_f=bind-9.3.2-P1/lib/isc/unix/ifiter_sysctl.c#a0

Quite a lot of networking-related utilities.  Including bind and openldap.

  reply	other threads:[~2006-10-20 16:39 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 [this message]
2006-10-21 10:23                   ` Eric W. Biederman
2006-10-20  7:52             ` Russell King
2006-10-20 14:38               ` Eric W. Biederman
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=20061020093915.58961ba3.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=acahalan@gmail.com \
    --cc=cp@absolutedigital.net \
    --cc=ebiederm@xmission.com \
    --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

all inboxes | Powered by JetHome®