[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131017012050.GR13318@ZenIV.linux.org.uk>
Date: Thu, 17 Oct 2013 02:20:50 +0100
From: Al Viro <viro@...IV.linux.org.uk>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Jim Lieb <jlieb@...asas.com>, tytso@....edu, viro@...iv.linux.org,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
bfields@...hat.com, jlayton@...hat.com
Subject: Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file
server ops
On Wed, Oct 16, 2013 at 06:18:16PM -0700, Eric W. Biederman wrote:
> That doesn't look bad but it does need capable(CAP_SETUID) &&
> capable(CAP_SETGID) or possibly something a little more refined.
D'oh
> I don't think we want file descriptor passing to all of a sudden become
> a grant of privilege, beyond what the passed fd can do.
Definitely. And an extra ) to make it compile wouldn't hurt either...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists