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

From: Kees Cook
Date: Thu Jun 03 2010 - 00:43:28 EST


On Thu, Jun 03, 2010 at 09:42:21AM +0800, Dave Young wrote:
> On Thu, Jun 3, 2010 at 9:18 AM, Kees Cook <kees.cook@xxxxxxxxxxxxx> wrote:
> > 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.

Okay, I wasn't sure if that was right or not. I'll do that for v6, and
send the sysctl_nr_open_* in a separate patch.

Thanks!

-Kees

--
Kees Cook
Ubuntu Security Team
--
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/