From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752185Ab1JLCbf (ORCPT ); Tue, 11 Oct 2011 22:31:35 -0400 Received: from 50-56-35-84.static.cloud-ips.com ([50.56.35.84]:58504 "EHLO mail" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751222Ab1JLCbe (ORCPT ); Tue, 11 Oct 2011 22:31:34 -0400 Date: Wed, 12 Oct 2011 02:31:43 +0000 From: "Serge E. Hallyn" To: "Andrew G. Morgan" Cc: Kay Sievers , Alan Cox , linux-kernel@vger.kernel.org, lennart@poettering.net, harald@redhat.com, david@fubar.dk, greg@kroah.com, KaiGai Kohei Subject: Re: A Plumber???s Wish List for Linux Message-ID: <20111012023143.GA17492@hallyn.com> References: <1317943022.1095.25.camel@mop> <20111007111231.6e11d18e@lxorguk.ukuu.org.uk> <20111007113820.3b8424a8@lxorguk.ukuu.org.uk> <20111007152137.GE28351@carfax.org.uk> <20111010111813.GF17912@twin.jikos.cz> <20111011131428.GA13346@hallyn.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Andrew G. Morgan (morgan@kernel.org): > 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 I keep forgetting about that :) thanks, Andrew. -serge