HomeFreeBSD

libcasper: fix cap_rights_init usage

Description

libcasper: fix cap_rights_init usage

Capability rights passed to cap_rights_* are not simple bitmaks and
cannot be ORed together in general (although it will work for certain
subsets of rights).

PR: 277057
Fixes: faaf43b2a750 ("fileargs: add tests")
Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on Feb 15 2024, 12:42 AM
Parents
rG25a5bb731805: net: bandaid for plugging a fw_com leak in fwip_detach()
Branches
Unknown
Tags
Unknown