devices, kernel: deprecate dev_mounton_sysfs
dev_mounton_sysfs is a duplicate of dev_mounton_sysfs_dirs Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
parent
bd5fb161df
commit
dea8a63ed3
|
@ -4238,7 +4238,7 @@ interface(`dev_rw_sysdig',`
|
|||
|
||||
########################################
|
||||
## <summary>
|
||||
## Mount a filesystem on sysfs.
|
||||
## Mount a filesystem on sysfs. (Deprecated)
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
|
@ -4247,11 +4247,8 @@ interface(`dev_rw_sysdig',`
|
|||
## </param>
|
||||
#
|
||||
interface(`dev_mounton_sysfs',`
|
||||
gen_require(`
|
||||
type sysfs_t;
|
||||
')
|
||||
|
||||
allow $1 sysfs_t:dir mounton;
|
||||
refpolicywarn(`$0($*) has been deprecated, please use dev_mounton_sysfs_dirs() instead.')
|
||||
dev_mounton_sysfs_dirs($1)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
@ -4366,7 +4363,7 @@ interface(`dev_dontaudit_read_sysfs',`
|
|||
|
||||
########################################
|
||||
## <summary>
|
||||
## mounton sysfs directories.
|
||||
## Mount on sysfs directories.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
|
|
|
@ -284,7 +284,7 @@ corenet_ib_access_unlabeled_pkeys(kernel_t)
|
|||
corenet_ib_manage_subnet_all_endports(kernel_t)
|
||||
corenet_ib_manage_subnet_unlabeled_endports(kernel_t)
|
||||
|
||||
dev_mounton_sysfs(kernel_t)
|
||||
dev_mounton_sysfs_dirs(kernel_t)
|
||||
dev_read_sysfs(kernel_t)
|
||||
dev_search_usbfs(kernel_t)
|
||||
# devtmpfs handling:
|
||||
|
|
Loading…
Reference in New Issue