[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALQRfL676ijWFeHcYCiX4Vczk4PRd2kf1aybWFNJ3a6FB1D_5A@mail.gmail.com>
Date: Tue, 11 Oct 2011 08:49:13 -0700
From: "Andrew G. Morgan" <morgan@...nel.org>
To: "Serge E. Hallyn" <serge@...lyn.com>
Cc: Kay Sievers <kay.sievers@...y.org>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
linux-kernel@...r.kernel.org, lennart@...ttering.net,
harald@...hat.com, david@...ar.dk, greg@...ah.com,
KaiGai Kohei <kaigai@...gai.gr.jp>
Subject: Re: A Plumber???s Wish List for Linux
The benefit of Kai Gai's patch was that it exported the actual names
of the capabilities rather than have them only stored in libcap.
It is possible to use CAP_IS_SUPPORTED(cap) (in libcap-2.21) to figure
out the maximum capability supported by the running kernel.
https://sites.google.com/site/fullycapable/release-notes-for-libcap
Cheers
Andrew
On Tue, Oct 11, 2011 at 6:14 AM, Serge E. Hallyn <serge@...lyn.com> wrote:
>
> Unfortunately I'd deleted the early part of this thread before noticing
> the mention on lwn+lkml.org, but fwiw detection of the last supported
> capability has been brought up before (with patchsets floated (By KaiGai
> I'm pretty sure) which exported the list of capabilities through /sys or
> /security), and I agree it's something we need.
>
> -serge
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists