Page MenuHomeFreeBSD

Fix tail -f.
ClosedPublic

Authored by markj on Dec 6 2019, 8:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jan 29, 9:48 AM
Unknown Object (File)
Tue, Jan 28, 10:14 AM
Unknown Object (File)
Fri, Jan 17, 4:04 PM
Unknown Object (File)
Nov 23 2024, 6:15 PM
Unknown Object (File)
Nov 23 2024, 4:59 AM
Unknown Object (File)
Nov 21 2024, 6:15 PM
Unknown Object (File)
Nov 21 2024, 10:14 AM
Unknown Object (File)
Nov 20 2024, 6:10 AM
Subscribers

Details

Reviewers
emaste
Group Reviewers
capsicum
Commits
rS355470: Fix tail -f in capability mode.
Summary

We were not adding CAP_EVENT to input file capabilities, so kevent()
always failed. tail implements a fallback mode to poll the file in this
case, so it still "works," but not when kern.trap_enotcap=1.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable