]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r362634:
authorDavid Bright <dab@FreeBSD.org>
Wed, 15 Jul 2020 17:34:08 +0000 (17:34 +0000)
committerDavid Bright <dab@FreeBSD.org>
Wed, 15 Jul 2020 17:34:08 +0000 (17:34 +0000)
commitd54da86c4bcb77f5c1bb902ed37a927832b035f9
tree887b437f1bd79df3c68d5ebc42e9dbd67c1b3e19
parentfa631e5e667172f91c6f99ab15637b6662c5b7e8
MFC r362634:

Add CAP_EVENT to pidfiles.

CAP_EVENT was omitted on pidfiles (in
pidfile_open()). There seems no reason why a process that creates
and writes a pidfile cannot monitor events on that file. This mod adds
the capability.

Sponsored by: Dell EMC Isilon
lib/libutil/pidfile.c