How does policy loading work at bootup?
Does the kernel automatically searches for and reads the policies in hard coded locations or does some userspace tool does that at startup via init/systemd scripts/units?
Quoted 1 line · dE
Does the kernel automatically searches for and reads the policies in hard coded locations or does some userspace tool does that at startup via init/systemd
scripts/units?
A long long time ago (before SELinux was accepted into Linus's tree), the kernel used to read the policy itself. Now it is loaded by userspace, typically either by the init program, or by the initramfs.
Signature · 3 lines
Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com
Quoted 4 lines · Christopher J. PeBenito
Quoted 1 line · dE
Does the kernel automatically searches for and reads the policies in hard coded locations or does some userspace tool does that at startup via init/systemd
scripts/units?A long long time ago (before SELinux was accepted into Linus's tree), the kernel used to read the policy itself. Now it is loaded by userspace, typically either by the init program, or by the initramfs.
Is it the semodule utility?
Quoted 4 lines · Christopher J. PeBenito
Quoted 1 line · dE
Does the kernel automatically searches for and reads the policies in hard coded locations or does some userspace tool does that at startup via init/systemd
scripts/units?A long long time ago (before SELinux was accepted into Linus's tree), the kernel used to read the policy itself. Now it is loaded by userspace, typically either by the init program, or by the initramfs.
Got it. It's load_policy.
Thanks for the assistance.