mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@osdl.org>
To: Jeff Sipek <jeffpc@optonline.net>
Cc: Jamie Lokier <jamie@shareable.org>,
	thockin@sun.com,
	Linux Kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: sysconf - exposing constants to userspace
Date: Thu, 19 Feb 2004 16:52:41 -0800	[thread overview]
Message-ID: <20040219165241.F22989@build.pdx.osdl.net> (raw)
In-Reply-To: <200402191929.54604.jeffpc@optonline.net>; from jeffpc@optonline.net on Thu, Feb 19, 2004 at 07:29:45PM -0500

* Jeff Sipek (jeffpc@optonline.net) wrote:
> If I understand the original post correctly, the numbers that we don't make 
> available to userspace are compile time constants. For example, since I can't 
> think of anything better, NR_CPUS. It is set during the config process, but 
> one cannot read the number from userspace while running that kernel. I know 
> that there are better examples, but I just can't think of any at the moment.

like /proc/sys/kernel/version? ;-)

later,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

      parent reply	other threads:[~2004-02-20  0:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-19 20:48 Tim Hockin
2004-02-19 21:30 ` Jeff Sipek
2004-02-20  0:20   ` Jamie Lokier
2004-02-20  0:21     ` Tim Hockin
2004-02-20  0:35       ` Chris Wright
2004-02-20  0:29     ` Jeff Sipek
2004-02-20  0:34       ` Tim Hockin
2004-02-20  0:52       ` Chris Wright [this message]

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=20040219165241.F22989@build.pdx.osdl.net \
    --to=chrisw@osdl.org \
    --cc=jamie@shareable.org \
    --cc=jeffpc@optonline.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thockin@sun.com \
    /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®