opnsense-src/lib/libc/capability
Mariusz Zaborski e77813f7e4 capsicum: introduce cap_rights_is_empty Function
Before this commit, we only had the capability to check if a specific
capability was set (using cap_rights_is_set function). However, there
was no efficient method to determine if a cap_rights_t structure doesn't
contain any capability. The cap_rights_is_empty function addresses
this gap.

PR:		275330
Reported by:	vini.ipsmaker@gmail.com
Reviewed by:	emaste, markj
Differential Revision:	https://reviews.freebsd.org/D42780

(cherry picked from commit a7100ae23aca07976926bd8d50223c45149f65d6)
2024-06-05 11:55:17 -04:00
..
cap_rights_init.3 capsicum: introduce cap_rights_is_empty Function 2024-06-05 11:55:17 -04:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Symbol.map capsicum: introduce cap_rights_is_empty Function 2024-06-05 11:55:17 -04:00