SVNews r324560

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-12 15:45:53 - r324560 by emaste (Ed Maste)

Complete list of files affected by revision r324560:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/lib/libc/sys/posix_fallocate.2  
  History   Contents   Diff   MODIFY   /head/sys/kern/capabilities.conf  
  History   Contents   Diff   MODIFY   /head/sys/kern/vfs_syscalls.c  

Commit message:

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:


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 8 ms, 3 files printed. Current time is 2018-03-21 12:32:51. All times are in UTC/GMT.