HomeFreeBSD

allow posix_fallocate in capability mode

Description

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

Details

Provenance
emasteAuthored on Oct 12 2017, 3:45 PM
Parents
rG042ea0aa161f: Move panic back into libsa. It's documented in libstand(3) to belong
Branches
Unknown
Tags
Unknown