Rearrange mountpoint interfaces in files.
This commit is contained in:
parent
a1d38fb485
commit
cb29c82a28
|
@ -1426,6 +1426,24 @@ interface(`files_setattr_all_mountpoints',`
|
|||
allow $1 mountpoint:dir setattr;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Do not audit attempts to set the attributes on all mount points.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain to not audit.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`files_dontaudit_setattr_all_mountpoints',`
|
||||
gen_require(`
|
||||
attribute mountpoint;
|
||||
')
|
||||
|
||||
dontaudit $1 mountpoint:dir setattr;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Search all mount points.
|
||||
|
@ -1482,11 +1500,11 @@ interface(`files_dontaudit_list_all_mountpoints',`
|
|||
|
||||
########################################
|
||||
## <summary>
|
||||
## Do not audit write attempts on mount points.
|
||||
## Do not audit attempts to write to mount points.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain to ignore write attempts from
|
||||
## Domain to not audit.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
|
@ -1498,24 +1516,6 @@ interface(`files_dontaudit_write_all_mountpoints',`
|
|||
dontaudit $1 mountpoint:dir write;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Do not audit setattr attempts on mount points.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain to ignore setattr attempts from
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`files_dontaudit_setattr_all_mountpoints',`
|
||||
gen_require(`
|
||||
attribute mountpoint;
|
||||
')
|
||||
|
||||
dontaudit $1 mountpoint:dir setattr;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## List the contents of the root directory.
|
||||
|
|
Loading…
Reference in New Issue