diff --git a/policy/modules/kernel/files.if b/policy/modules/kernel/files.if index 96b91e0f9..5f61d5e88 100644 --- a/policy/modules/kernel/files.if +++ b/policy/modules/kernel/files.if @@ -1872,6 +1872,24 @@ interface(`files_delete_root_dir_entry',` allow $1 root_t:dir rw_dir_perms; ') +######################################## +## +## Associate to root file system. +## +## +## +## Type of the file to associate. +## +## +# +interface(`files_associate_rootfs',` + gen_require(` + type root_t; + ') + + allow $1 root_t:filesystem associate; +') + ######################################## ## ## Relabel to and from rootfs file system.