HomeFreeBSD

Enable copy_file_range(2) in capability mode.

Description

Enable copy_file_range(2) in capability mode.

copy_file_range() operates on a pair of file descriptors; it requires
CAP_READ for the source descriptor and CAP_WRITE for the destination
descriptor.

Reviewed by: kevans, oshogbo
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D21113

Details

Provenance
markjAuthored on Jul 30 2019, 3:59 PM
Parents
rG0b21d8949934: Handle refcount(9) wraparound.
Branches
Unknown
Tags
Unknown