Quoting Serge E. Hallyn ([EMAIL PROTECTED]): > Quoting Satyam Sharma ([EMAIL PROTECTED]): > > From: Satyam Sharma <[EMAIL PROTECTED]> > > > > [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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/