filesystem: add fs_rw_inherited_hugetlbfs_files for apache module
This commit is contained in:
parent
6c41a0a3af
commit
c51e9e1bb4
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue