HomeFreeBSD

MAC/do: Apply a rule on real UID/GID instead of effective ones

Description

MAC/do: Apply a rule on real UID/GID instead of effective ones

We intend MAC/do to authorize transitions based on the "real" identity
information of the calling process, rather than transiently-acquired
effective IDs.

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

(cherry picked from commit de701f9bdbe0ede691a0439d1c469082b94fe234)

Details

Provenance
olceAuthored on Nov 29 2024, 2:39 PM
Reviewer
bapt
Differential Revision
D47845: MAC/do: Apply a rule on real UID/GID instead of effective ones
Parents
rG53e73ec9f6c4: MAC/do: Convert internal TAILQs to STAILQs
Branches
Unknown
Tags
Unknown