Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2015 15:26:22 +0200
From:      Jilles Tjoelker <jilles@stack.nl>
To:        Sergey Kandaurov <pluknet@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r281086 - head/sys/kern
Message-ID:  <20150405132622.GA48066@stack.nl>
In-Reply-To: <CAE-mSOJEZkqf9z9rpGUzy07gBpuFuF4hDVbc%2BSxfukt%2BBs0PNQ@mail.gmail.com>
References:  <201504042147.t34LltiZ084425@svn.freebsd.org> <CAE-mSOJEZkqf9z9rpGUzy07gBpuFuF4hDVbc%2BSxfukt%2BBs0PNQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 05, 2015 at 02:23:05AM +0300, Sergey Kandaurov wrote:
> On 5 April 2015 at 00:47, Jilles Tjoelker <jilles@freebsd.org> wrote:
> > Author: jilles
> > Date: Sat Apr  4 21:47:54 2015
> > New Revision: 281086
> > URL: https://svnweb.freebsd.org/changeset/base/281086

> > Log:
> >   utimensat: Correct Capsicum required capability rights.

> [snip]

> What about kern_lutimes()?
> It seems it needs CAP_FUTIMES as well due its path argument.

The current directory and the root directory don't have capability
rights associated with them, so requiring CAP_FUTIMES does not have any
effect. For the same reason, lutimes() is not permitted in capability
mode.

-- 
Jilles Tjoelker



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150405132622.GA48066>