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
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
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.c Fix tail -f in capability mode. 2019-12-06 23:39:38 +00:00