Fix interface naming convention (plural predicates)
Signed-off-by: Krzysztof Nowicki <krissn@op.pl>
This commit is contained in:
parent
bfa73f3c59
commit
5082648629
@ -4999,7 +4999,7 @@ interface(`fs_dontaudit_use_tmpfs_chr_dev',`
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`fs_relabel_tmpfs_chr_file',`
|
||||
interface(`fs_relabel_tmpfs_chr_files',`
|
||||
gen_require(`
|
||||
type tmpfs_t;
|
||||
')
|
||||
@ -5008,6 +5008,21 @@ interface(`fs_relabel_tmpfs_chr_file',`
|
||||
relabel_chr_files_pattern($1, tmpfs_t, tmpfs_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Relabel character nodes on tmpfs filesystems.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`fs_relabel_tmpfs_chr_file',`
|
||||
refpolicywarn(`$0($*) has been deprecated, please use fs_relabel_tmpfs_chr_files() instead.')
|
||||
fs_relabel_tmpfs_chr_files($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Read and write block nodes on tmpfs filesystems.
|
||||
@ -5037,7 +5052,7 @@ interface(`fs_rw_tmpfs_blk_files',`
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`fs_relabel_tmpfs_blk_file',`
|
||||
interface(`fs_relabel_tmpfs_blk_files',`
|
||||
gen_require(`
|
||||
type tmpfs_t;
|
||||
')
|
||||
@ -5046,6 +5061,21 @@ interface(`fs_relabel_tmpfs_blk_file',`
|
||||
relabel_blk_files_pattern($1, tmpfs_t, tmpfs_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Relabel block nodes on tmpfs filesystems.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`fs_relabel_tmpfs_blk_file',`
|
||||
refpolicywarn(`$0($*) has been deprecated, please use fs_relabel_tmpfs_blk_files() instead.')
|
||||
fs_relabel_tmpfs_blk_files($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Read and write, create and delete generic
|
||||
|
@ -671,8 +671,8 @@ ifdef(`distro_debian',`
|
||||
ifdef(`distro_redhat', `
|
||||
fs_rw_tmpfs_chr_files(setfiles_t)
|
||||
fs_rw_tmpfs_blk_files(setfiles_t)
|
||||
fs_relabel_tmpfs_blk_file(setfiles_t)
|
||||
fs_relabel_tmpfs_chr_file(setfiles_t)
|
||||
fs_relabel_tmpfs_blk_files(setfiles_t)
|
||||
fs_relabel_tmpfs_chr_files(setfiles_t)
|
||||
')
|
||||
|
||||
ifdef(`distro_ubuntu',`
|
||||
|
@ -229,8 +229,8 @@ ifdef(`distro_redhat',`
|
||||
fs_manage_tmpfs_sockets(udev_t)
|
||||
fs_manage_tmpfs_blk_files(udev_t)
|
||||
fs_manage_tmpfs_chr_files(udev_t)
|
||||
fs_relabel_tmpfs_blk_file(udev_t)
|
||||
fs_relabel_tmpfs_chr_file(udev_t)
|
||||
fs_relabel_tmpfs_blk_files(udev_t)
|
||||
fs_relabel_tmpfs_chr_files(udev_t)
|
||||
|
||||
term_search_ptys(udev_t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user