HomeFreeBSD

Fix tail -f in capability mode.

Description

Fix tail -f in capability mode.

We were not adding CAP_EVENT to input file capabilities, so kevent()
always failed with ENOTCAPABLE. tail implements a fallback mode to
poll the file in this case, so the failure was not apparent.

Reviewed by: emaste
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22709

Details

Provenance
markjAuthored on
Reviewer
emaste
Differential Revision
D22709: Fix tail -f.
Parents
rS355469: Fix fault_type handling in vm_map_lookup().
Branches
Unknown
Tags
Unknown