[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4FC730FA.8080305@gmail.com>
Date: Thu, 31 May 2012 04:51:06 -0400
From: KOSAKI Motohiro <kosaki.motohiro@...il.com>
To: James Morris <jmorris@...ei.org>
CC: kosaki.motohiro@...il.com, linux-kernel@...r.kernel.org,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
Vasiliy Kulikov <segoon@...nwall.com>,
Chris Wright <chrisw@...s-sol.org>,
James Morris <james.l.morris@...cle.com>,
linux-security-module@...r.kernel.org,
Serge Hallyn <serge.hallyn@...onical.com>
Subject: Re: [PATCH] security: kill security_task_fix_setuid()
(5/31/12 4:42 AM), James Morris wrote:
> On Thu, 31 May 2012, kosaki.motohiro@...il.com wrote:
>
>> From: KOSAKI Motohiro<kosaki.motohiro@...fujitsu.com>
>>
>> commit 72fa5997 (move RLIMIT_NPROC check from set_user() to do_execve_common())
>> pointed out set*uid() failure can cause a security problem.
>> Thus, security_task_fix_setuid() potentially has the same issue. Any security
>> module shouldn't use it. This patch kills it completely.
>>
>> Luckily, any security module don't use it. then, this patch doesn't make any
>> userland visible change.
>
> Capabilities uses it.
Oops, I overlooked. Please ignore this patch. sorry.
--
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