[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47CEB9DE.9060501@gmail.com>
Date: Wed, 05 Mar 2008 16:18:54 +0100
From: Jiri Slaby <jirislaby@...il.com>
To: "Serge E. Hallyn" <serue@...ibm.com>
CC: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
"Andrew G. Morgan" <morgan@...nel.org>,
James Morris <jmorris@...ei.org>,
Stephen Smalley <sds@...ho.nsa.gov>,
Paul Moore <paul.moore@...com>
Subject: Re: prctl(0x8) -> EINVAL [Was: 2.6.25-rc3-mm1]
On 03/05/2008 03:06 PM, Serge E. Hallyn wrote:
> From 4a66f19580489a3ac84f0a145e4585c09e65c88e Mon Sep 17 00:00:00 2001
> From: Serge E. Hallyn <serue@...ibm.com>
> 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 <serue@...ibm.com>
Tested-by: Jiri Slaby <jirislaby@...il.com>
--
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