]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
capsicum: provide cap_rights_fde_inline
authorMateusz Guzik <mjg@FreeBSD.org>
Fri, 12 Oct 2018 23:48:10 +0000 (23:48 +0000)
committerMateusz Guzik <mjg@FreeBSD.org>
Fri, 12 Oct 2018 23:48:10 +0000 (23:48 +0000)
commit98fca94d22431113054843c5e2562ae91f118bcb
tree154e18a9496d50ac8afa3301f378cb11be90f7fe
parent9343a1cd71fc13e6fd2b32ac23e30d6059e66f81
capsicum: provide cap_rights_fde_inline

Reading caps is in the hot path (on each successful fd lookup), but
completely unnecessarily requires a function call.

Approved by: re (gjb)
Sponsored by: The FreeBSD Foundation
sys/kern/kern_descrip.c
sys/kern/sys_capability.c
sys/sys/capsicum.h