Introduce kernel_delete_unlabeled_chr_files
The kernel_delete_unlabeled_chr_files interface is called by the (deprecated) files_delete_isid_type_chr_files interface in kernel/files.if. Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This commit is contained in:
parent
f21915b7ca
commit
953a007662
|
@ -2740,6 +2740,25 @@ interface(`kernel_dontaudit_write_unlabeled_chr_files',`
|
||||||
dontaudit $1 unlabeled_t:file write;
|
dontaudit $1 unlabeled_t:file write;
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## Delete unlabeled character device nodes.
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`kernel_delete_unlabeled_chr_files',`
|
||||||
|
gen_require(`
|
||||||
|
type unlabeled_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
delete_chr_files_pattern($1, unlabeled_t, unlabeled_t)
|
||||||
|
')
|
||||||
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Create, read, write, and delete unlabeled character device nodes.
|
## Create, read, write, and delete unlabeled character device nodes.
|
||||||
|
|
Loading…
Reference in New Issue