filesystem: add fs_rw_inherited_hugetlbfs_files for apache module

This commit is contained in:
Christian Göttsche 2018-01-01 12:32:34 +01:00 committed by Chris PeBenito
parent 6c41a0a3af
commit c51e9e1bb4
1 changed files with 18 additions and 0 deletions

View File

@ -2304,6 +2304,24 @@ interface(`fs_manage_hugetlbfs_dirs',`
manage_dirs_pattern($1, hugetlbfs_t, hugetlbfs_t) manage_dirs_pattern($1, hugetlbfs_t, hugetlbfs_t)
') ')
########################################
## <summary>
## Read and write inherited hugetlbfs files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`fs_rw_inherited_hugetlbfs_files',`
gen_require(`
type hugetlbfs_t;
')
allow $1 hugetlbfs_t:file rw_inherited_file_perms;
')
######################################## ########################################
## <summary> ## <summary>
## Read and write hugetlbfs files. ## Read and write hugetlbfs files.