]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r283641:
authorpkelsey <pkelsey@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Jun 2015 04:54:54 +0000 (04:54 +0000)
committerpkelsey <pkelsey@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 4 Jun 2015 04:54:54 +0000 (04:54 +0000)
commit41f2eb8eabe1fd5a7f7ba85eefac4a9c8be6bef9
treeb336a5e37ccb4602149f980df0b3f708b9a99f4f
parent364720e7d0912cab57af039072de2a440b494a0c
MFC r283641:

Add CAP_FCNTL to the lease file capsicum rights, and limit to
CAP_FCNTL_GETFL.  Without CAP_FCNTL_GETFL, the lease file truncation
in rewrite_client_leases() will fail to trim old data when rewriting
the file with a lesser amount of data.

git-svn-id: svn://svn.freebsd.org/base/stable/10@283978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/dhclient/dhclient.c