Re: [PATCH v4] fs: allow protected cross-uid sticky symlinks

From: Dave Young
Date: Wed Jun 02 2010 - 21:42:28 EST


On Thu, Jun 3, 2010 at 9:18 AM, Kees Cook <kees.cook@xxxxxxxxxxxxx> wrote:
> Hi,
>
> On Thu, Jun 03, 2010 at 08:51:28AM +0800, Dave Young wrote:
>> On Thu, Jun 3, 2010 at 6:23 AM, Kees Cook <kees.cook@xxxxxxxxxxxxx> wrote:
>> > v2:
>> > Â- moved sysctl extern into security.h.
>>
>> Not in v4?
>>
>> > v3:
>> > Â- move into VFS core.
>> > Â- rename sysctl, invert logic.
>
> Right, as part of the "move out of security/" the sysctl moved to live in
> fs/namei.c (and therefore needed an extern in kernel/sysctl.c).

Then linux/fs.h is the place to go
sysctl_nr_open_min and sysctl_nr_open_max can go there as well.

>
> -Kees
>
> --
> Kees Cook
> Ubuntu Security Team
>



--
Regards
dave
--
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/