filesystem: Rename fs_relabel_cgroup_lnk_files.

This commit is contained in:
Chris PeBenito 2017-12-02 16:19:07 -05:00
parent 9b8c2d5393
commit b333a7a1f8
2 changed files with 19 additions and 19 deletions

View File

@ -785,24 +785,6 @@ interface(`fs_relabel_cgroup_dirs',`
relabel_dirs_pattern($1, cgroup_t, cgroup_t)
')
########################################
## <summary>
## Relabel cgroup symbolic links.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`fs_relabel_cgroup_lnk_files',`
gen_require(`
type cgroup_t;
')
relabel_lnk_files_pattern($1, cgroup_t, cgroup_t)
')
########################################
## <summary>
## Get attributes of cgroup files.
@ -942,6 +924,24 @@ interface(`fs_manage_cgroup_files',`
dev_search_sysfs($1)
')
########################################
## <summary>
## Relabel cgroup symbolic links.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
interface(`fs_relabel_cgroup_symlinks',`
gen_require(`
type cgroup_t;
')
relabel_lnk_files_pattern($1, cgroup_t, cgroup_t)
')
########################################
## <summary>
## Mount on cgroup directories.

View File

@ -355,7 +355,7 @@ ifdef(`init_systemd',`
fs_manage_hugetlbfs_dirs(init_t)
fs_getattr_tmpfs(init_t)
fs_read_tmpfs_files(init_t)
fs_relabel_cgroup_lnk_files(init_t)
fs_relabel_cgroup_symlinks(init_t)
fs_relabel_pstore_dirs(init_t)
fs_dontaudit_getattr_xattr_fs(init_t)
fs_create_cgroup_links(init_t)