HomeFreeBSD

Split up Capsicum to CloudABI rights conversion into two separate routines.

Description

Split up Capsicum to CloudABI rights conversion into two separate routines.

CloudABI's openat() ensures that files are opened with the smallest set
of relevant rights. For example, when opening a FIFO, unrelated rights
like CAP_RECV are automatically removed. To remove unrelated rights, we
can just reuse the code for this that was already present in the rights
conversion function.

Details

Provenance
edAuthored on
Parents
rS286005: Add quirk for ThunderX ITS device table size
Branches
Unknown
Tags
Unknown