Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754632AbYCEPTU (ORCPT ); Wed, 5 Mar 2008 10:19:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752085AbYCEPTF (ORCPT ); Wed, 5 Mar 2008 10:19:05 -0500 Received: from nf-out-0910.google.com ([64.233.182.185]:52131 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751987AbYCEPTC (ORCPT ); Wed, 5 Mar 2008 10:19:02 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=xYeHaXdSjXr7SAz7a72DFA4ATrDowdWbiP6XEv+W68tJQSJS5xdVhp6Hha1Al+ENLv3gYk04mO9vS7Q8sgj25wld5HAfNNg//GemA2c0wt2gbLIEC4BU1h4anJmfnLn/X5p1KgPzMWHstJTLeO/BwXhfq3ihltiUwzJdoVVoI/0= Message-ID: <47CEB9DE.9060501@gmail.com> Date: Wed, 05 Mar 2008 16:18:54 +0100 From: Jiri Slaby User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: "Serge E. Hallyn" CC: Andrew Morton , linux-kernel@vger.kernel.org, "Andrew G. Morgan" , James Morris , Stephen Smalley , Paul Moore Subject: Re: prctl(0x8) -> EINVAL [Was: 2.6.25-rc3-mm1] References: <20080304011928.e8c82c0c.akpm@linux-foundation.org> <47CE7B1F.3000208@gmail.com> <20080305140624.GA9128@sergelap.austin.ibm.com> In-Reply-To: <20080305140624.GA9128@sergelap.austin.ibm.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1011 Lines: 23 On 03/05/2008 03:06 PM, Serge E. Hallyn wrote: > From 4a66f19580489a3ac84f0a145e4585c09e65c88e Mon Sep 17 00:00:00 2001 > From: Serge E. Hallyn > Date: Wed, 5 Mar 2008 06:02:32 -0800 > Subject: [PATCH 1/1] capabilities: use cap_task_prctl when !CONFIG_SECURITY > > capabilities-implement-per-process-securebits.patch introduced > cap_task_prctl() and moved the handling of capability-related > prctl into it. So when !CONFIG_SECURITY, the default > security_task_prctl() needs to call cap_task_prctl() the way > other default hooks call capability helpers when they exist. > > This fixes a slew of userspace breakages when > CONFIG_SECURITY=n. > > Signed-off-by: Serge E. Hallyn Tested-by: Jiri Slaby -- 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/