mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serge@hallyn.com>
To: "Serge E. Hallyn" <serge@hallyn.com>
Cc: Satyam Sharma <ssatyam@cse.iitk.ac.in>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Al Viro <viro@ftp.linux.org.uk>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [PATCH] Introduce is_owner_or_cap() to wrap CAP_FOWNER use with fsuid check
Date: Wed, 18 Jul 2007 12:18:34 -0500	[thread overview]
Message-ID: <20070718171834.GA28855@vino.hallyn.com> (raw)
In-Reply-To: <20070717153510.GA8464@vino.hallyn.com>

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

      reply	other threads:[~2007-07-18 17:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-17  9:30 Satyam Sharma
2007-07-17 15:35 ` Serge E. Hallyn
2007-07-18 17:18   ` Serge E. Hallyn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070718171834.GA28855@vino.hallyn.com \
    --to=serge@hallyn.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ssatyam@cse.iitk.ac.in \
    --cc=torvalds@linux-foundation.org \
    --cc=viro@ftp.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®