Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753493Ab1BNVZF (ORCPT ); Mon, 14 Feb 2011 16:25:05 -0500 Received: from adelie.canonical.com ([91.189.90.139]:56356 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752797Ab1BNVZD convert rfc822-to-8bit (ORCPT ); Mon, 14 Feb 2011 16:25:03 -0500 Date: Mon, 14 Feb 2011 15:24:53 -0600 From: "Serge E. Hallyn" To: Eric Paris Cc: Eric Paris , "Andrew G. Morgan" , "Serge E. Hallyn" , Steve Grubb , "Serge E. Hallyn" , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH] System Wide Capability Bounding Set Message-ID: <20110214212453.GA6582@localhost> References: <1294266337.3237.45.camel@localhost.localdomain> <201101270942.07689.sgrubb@redhat.com> <20110128184901.GA5134@localhost> <201101281410.29794.sgrubb@redhat.com> <20110128193809.GB8854@localhost> <1296584221.3145.12.camel@localhost.localdomain> <20110201212605.GB5294@localhost> <1297133758.2323.5.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 30 Quoting Eric Paris (eparis@parisplace.org): > On Mon, Feb 7, 2011 at 9:55 PM, Eric Paris wrote: > > > > Below is what I'm working on. ?I've asked dhowells to review the creds > > code, since commit_creds() does not take const. ?Maybe that's just an > > oversight. ?Basically I've exposed two new sysctls. > > > > /proc/sys/kernel/usermodehelper/bset > > /proc/sys/kernel/usermodehelper/inheritable > > > > You must have CAP_SYS_MODULE to change these (changes are &= ONLY). > > When the kernel launches a usermodehelper it will do so with these as > > the bset and pI. ?I haven't attempted securebits and uid (since I didn't > > really need them I don't think) ?But will if anyone can think of a use > > case. > > > > Is this what you were thinking? > > > Anything? Problems with this patch/approach? Sorry, I've just not had a chance to take a close enough look. I'll try to do so tonight. -serge -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/