freebsd-dev/usr.bin/tail
Mark Johnston eee07d30a0 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
2019-12-06 23:39:38 +00:00
..
tests Drop "All rights reserved" from the files I own 2019-03-11 22:23:56 +00:00
extern.h tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
forward.c tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
Makefile tail: disable capsicum in rescue mode 2019-06-05 22:55:00 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
misc.c tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
read.c tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
reverse.c tail: fix the checks if the file was rotated 2019-06-09 22:55:21 +00:00
tail.1 tail(1): Address mandoc concern (space before punctuation after macro) 2018-04-10 14:42:24 +00:00
tail.c Fix tail -f in capability mode. 2019-12-06 23:39:38 +00:00