Quoting Serge E. Hallyn (serge@hallyn.com):
> Quoting Satyam Sharma (ssatyam@cse.iitk.ac.in):
> > From: Satyam Sharma <ssatyam@cse.iitk.ac.in>
> >
> > [PATCH] Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check
> >
> > Introduce is_owner_or_cap() macro in fs.h, and convert over relevant
> > users to it. This is done because we want to avoid bugs in the future
>
> I like the idea - it will make future user namespace/per-container
> capability patches much cleaner by localizing a lot of the changes.
>
> (haven't tested the patch yet, but it looks trivial enough, and I will
> test later today)
tested fine for me.
thanks,
-serge
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]