From: Andrew Morton <akpm@linux-foundation.org>
To: Dan Ballard <dan@mindstab.net>
Cc: Randy Dunlap <rdunlap@xenotime.net>, Ingo Molnar <mingo@elte.hu>,
Lennart Poettering <lennart@poettering.net>,
Kay Sievers <kay.sievers@vrfy.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] kernel/sysctl.c: Add cap_last_cap to /proc/sys/kernel
Date: Mon, 17 Oct 2011 15:39:36 -0700 [thread overview]
Message-ID: <20111017153936.c47a27ff.akpm@linux-foundation.org> (raw)
In-Reply-To: <1318690205-2731-1-git-send-email-dan@mindstab.net>
On Sat, 15 Oct 2011 07:50:05 -0700
Dan Ballard <dan@mindstab.net> wrote:
> Userspace needs to know the highest valid capability of the running
> kernel, which right now cannot reliably be retrieved from the header
> files only. The fact that this value cannot be determined properly
> right now creates various problems for libraries compiled on newer
> header files which are run on older kernels. They assume
> capabilities are available which actually aren't.
Specfically, what libraries are we talking about here?
> Now the capability is exported in /proc/sys/kernel/cap_last_cap.
Ever the optimist: is there any way in which we can avoid 0444
permissions on this?
next prev parent reply other threads:[~2011-10-17 22:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 22:56 [PATCH 1/1] added code to export CAP_LAST_CAP in /proc/sys/kernel modeled after ngroups_max Dan Ballard
2011-10-14 20:51 ` Andrew Morton
2011-10-15 14:50 ` [PATCH 1/1] kernel/sysctl.c: Add cap_last_cap to /proc/sys/kernel Dan Ballard
2011-10-17 22:39 ` Andrew Morton [this message]
2011-10-19 23:09 ` Lennart Poettering
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=20111017153936.c47a27ff.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dan@mindstab.net \
--cc=kay.sievers@vrfy.org \
--cc=lennart@poettering.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rdunlap@xenotime.net \
/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