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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"