Re: c/r: broken locking when executing map_files

From: Cyrill Gorcunov
Date: Fri May 11 2012 - 14:18:22 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/