Skip to content

Commit

Permalink
selinux_transition: document the mounting of /sys
Browse files Browse the repository at this point in the history
  • Loading branch information
WavyEbuilder committed Nov 11, 2024
1 parent d90b013 commit 1f2f7cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dinit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ static int process_commandline_arg(char **argv, int argc, int &i, options &opts)
// into.)
// Returns:
// If we fail to load the system SELinux policy, return false, otherwise, return true.
// This function will mount /sys if it isn't already mounted.
// When successful, this will cause SELinux labels as per the policy to be attached to processes
// (and file descriptors owned by those processes). The SELinux framework will begin to enforce
// restrictions on access based on these labels and the loaded policy.
Expand Down

0 comments on commit 1f2f7cf

Please sign in to comment.