HomeFreeBSD

mdo(1): Use setcred() to change credentials

Description

mdo(1): Use setcred() to change credentials

As this is the only system call that MAC/do currently supports, and the
only one that really can be for transitions involving simultaneous
changes of user and group IDs.

Reviewed by: bapt
Approved by: markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47621

(cherry picked from commit e395e354823b690ba19ecc8e3688bacec6f67ad3)

Details

Provenance
olceAuthored on Jul 29 2024, 2:24 PM
Reviewer
bapt
Differential Revision
D47621: mdo(1): Use setcred() to change credentials
Parents
rG986ac13041c8: MAC/do: Interpret the new rules specification; Monitor setcred()
Branches
Unknown
Tags
Unknown