3

I understand that a configuration file is in:

/etc/selinux/config

But how is it processed at boot? How does SELinux start, is it a daemon? Which startup script starts SELinux?

sebasth
  • 14,872
ransh
  • 1,407

1 Answers1

2

SELinux policy is loaded by init in early boot. Init checks that SELinux is enabeld, after which it loads the policy and re-executes itself in correct security context.

Sources: RHEL4 documentation, Ubuntu Hardy, systemd

sebasth
  • 14,872