blob: 2cbf14d86a80c5d3fcc516984d8685f726220c59 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# init switches to init domain (via init.rc).
2type init, domain;
repo sync50e37b92013-05-14 21:02:55 -07003permissive init;
Stephen Smalley2dd4e512012-01-04 12:33:27 -05004# init is unconfined.
5unconfined_domain(init)
6tmpfs_domain(init)
Nick Kralevich0c9708b2013-07-10 14:46:05 -07007relabelto_domain(init)
repo sync77d47312013-05-17 17:11:29 -07008# add a rule to handle unlabelled mounts
9allow init unlabeled:filesystem mount;
Nick Kralevich0c9708b2013-07-10 14:46:05 -070010
11allow init {fs_type dev_type file_type}:dir_file_class_set relabelto;