mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
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 a7100ae23a)
14 lines
216 B
Text
14 lines
216 B
Text
FBSD_1.3 {
|
|
__cap_rights_clear;
|
|
cap_rights_contains;
|
|
__cap_rights_init;
|
|
__cap_rights_is_set;
|
|
cap_rights_is_valid;
|
|
cap_rights_merge;
|
|
cap_rights_remove;
|
|
__cap_rights_set;
|
|
};
|
|
|
|
FBSD_1.8 {
|
|
cap_rights_is_empty;
|
|
};
|