]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libcapsicum: Introduce caph_{rights,ioctls,fcntls}_limit
authoroshogbo <oshogbo@FreeBSD.org>
Sun, 4 Nov 2018 17:22:58 +0000 (17:22 +0000)
committeroshogbo <oshogbo@FreeBSD.org>
Sun, 4 Nov 2018 17:22:58 +0000 (17:22 +0000)
commit83e1dcf8e5a7c2bc184b7563a13d1c5cb79469d6
treef7bd429c948c343458048f9050ee0be9a4f0c4bc
parent7719517fe5d28a9e6716350b8ef643c7e8af9487
libcapsicum: Introduce caph_{rights,ioctls,fcntls}_limit

The idea behind those functions is not to force consumers to remember that there
is a need to check errno on failure. We already have a caph_enter(3) function
which does the same for cap_enter(2).

MFC after: 2 weeks
lib/libcapsicum/Makefile
lib/libcapsicum/capsicum_helpers.3
lib/libcapsicum/capsicum_helpers.h