Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 21:11:09 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Ed Maste <emaste@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r324560 - in head: lib/libc/sys sys/kern
Message-ID:  <20171012181109.GE2473@kib.kiev.ua>
In-Reply-To: <201710121545.v9CFjrOu058741@repo.freebsd.org>
References:  <201710121545.v9CFjrOu058741@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 12, 2017 at 03:45:53PM +0000, Ed Maste wrote:
> Author: emaste
> Date: Thu Oct 12 15:45:53 2017
> New Revision: 324560
> URL: https://svnweb.freebsd.org/changeset/base/324560
> 
> Log:
>   allow posix_fallocate in capability mode
>   
>   posix_fallocate is logically equivalent to writing zero blocks to the
>   desired file size and there is no reason to prevent calling it in
>   capability mode. posix_fallocate already checked for the CAP_WRITE
>   right, so we merely need to list it in capabilities.conf.
>   
>   Reviewed by:	allanjude
>   MFC after:	2 weeks
>   Sponsored by:	The FreeBSD Foundation
>   Differential Revision:	https://reviews.freebsd.org/D12640
> 
> Modified:
>   head/lib/libc/sys/posix_fallocate.2
>   head/sys/kern/capabilities.conf
You should also update compat/freebsd32.

>   head/sys/kern/vfs_syscalls.c



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