2012-01-04 18:33:27 +01:00
|
|
|
# init switches to init domain (via init.rc).
|
|
|
|
type init, domain;
|
|
|
|
# init is unconfined.
|
|
|
|
unconfined_domain(init)
|
|
|
|
tmpfs_domain(init)
|
2013-07-10 23:46:05 +02:00
|
|
|
relabelto_domain(init)
|
2013-05-18 02:11:29 +02:00
|
|
|
# add a rule to handle unlabelled mounts
|
|
|
|
allow init unlabeled:filesystem mount;
|
2013-07-10 23:46:05 +02:00
|
|
|
|
|
|
|
allow init {fs_type dev_type file_type}:dir_file_class_set relabelto;
|
2013-12-02 20:18:11 +01:00
|
|
|
allow init kernel:security { load_policy setenforce };
|
2013-12-06 15:31:40 +01:00
|
|
|
allow init usermodehelper:file rw_file_perms;
|
|
|
|
allow init proc_security:file rw_file_perms;
|