[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120511181815.GF1970@moon>
Date: Fri, 11 May 2012 22:18:15 +0400
From: Cyrill Gorcunov <gorcunov@...nvz.org>
To: Vasiliy Kulikov <segoon@...nwall.com>
Cc: Sasha Levin <levinsasha928@...il.com>, khlebnikov@...nvz.org,
xemul@...allels.com, Dave Jones <davej@...hat.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: c/r: broken locking when executing map_files
On Fri, May 11, 2012 at 09:56:40PM +0400, Vasiliy Kulikov wrote:
> >
> > Wait, the proc_map_files_lookup requires the caller to be cap-sysadmin
> > granted, would not this be enough?
>
> Yes :-) You can also remove additional checks after capable() in
> readdir and revalidate functions.
Yup, I'll update. Thanks.
Cyrill
--
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