Skip to content

Conversation

WOnder93
Copy link
Member

@WOnder93 WOnder93 commented Sep 8, 2025

Provide a brief explanation of the NNP concept and how it realtes to SELinux transitions to help guide people deciding whether to allow the nnp_transtion permission or not.


It has been pointed out to me that the semantics behind the nnp_transition permission are not obvious and that it would help to have some documentation on it, so I tried to to add it here. I'm not quite sure if it's sufficiently clear and correct, so would welcome feedback.

Cc @zpytela @stephensmalley

Provide a brief explanation of the NNP concept and how it realtes to
SELinux transitions to help guide people deciding whether to allow the
nnp_transtion permission or not.

Signed-off-by: Ondrej Mosnacek <[email protected]>
@stephensmalley stephensmalley self-requested a review September 10, 2025 15:01
Copy link
Member

@stephensmalley stephensmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Most common use case is allowing daemons to still transition to their own domains when executed with NNP set or from a nosuid mount. SELinux domain transitions are rarely if ever exact subsets of the calling domain's permissions since they at least differ wrt their permissions to their own executable, tmp, and other derived types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants