summaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/selinux-config/selinux-init.sh
Commit message (Collapse)AuthorAgeFilesLines
* selinux-config: update the init scriptXin Ouyang2012-11-191-10/+40
| | | | | | | Fix the hard-coded security type for /dev/null and /dev/console. Check rootfs if support xattrs before do relabel. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
* selinux-config: add init scriptXin Ouyang2012-10-181-0/+39
This script will be installed as 0selinux-init, in runlevel S and sequence number 0. It will start before any other init script. * relabel /dev for restorecon/fixfiles running * rebuild policy and relabel the rootfs if /.autorelabel placed. * relabel the rootfs if it is first booting. Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>