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
Reviewer
kevans
Differential Revision
D21113: Enable copy_file_range(2) in capability mode.
Parents
rS350446: Handle refcount(9) wraparound.
Branches
Unknown
Tags
Unknown