trunk: fix bad cifs interface.
This commit is contained in:
parent
e6fdb59601
commit
7d8fbdc062
@ -776,25 +776,6 @@ interface(`fs_read_noxattr_fs_symlinks',`
|
|||||||
read_lnk_files_pattern($1,noxattrfs,noxattrfs)
|
read_lnk_files_pattern($1,noxattrfs,noxattrfs)
|
||||||
')
|
')
|
||||||
|
|
||||||
########################################
|
|
||||||
## <summary>
|
|
||||||
## Do not audit attempts to read
|
|
||||||
## dirs on a CIFS or SMB filesystem.
|
|
||||||
## </summary>
|
|
||||||
## <param name="domain">
|
|
||||||
## <summary>
|
|
||||||
## Domain to not audit.
|
|
||||||
## </summary>
|
|
||||||
## </param>
|
|
||||||
#
|
|
||||||
interface(`fs_dontaudit_list_cifs_dirs',`
|
|
||||||
gen_require(`
|
|
||||||
type cifs_t;
|
|
||||||
')
|
|
||||||
|
|
||||||
dontaudit $1 cifs_t:dir list_dir_perms;
|
|
||||||
')
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Do not audit attempts to read
|
## Do not audit attempts to read
|
||||||
|
@ -202,7 +202,7 @@ template(`userdom_ro_home_template',`
|
|||||||
fs_read_cifs_named_sockets($1_t)
|
fs_read_cifs_named_sockets($1_t)
|
||||||
fs_read_cifs_named_pipes($1_t)
|
fs_read_cifs_named_pipes($1_t)
|
||||||
',`
|
',`
|
||||||
fs_dontaudit_list_cifs_dirs($1_t)
|
fs_dontaudit_list_cifs($1_t)
|
||||||
fs_dontaudit_read_cifs_files($1_t)
|
fs_dontaudit_read_cifs_files($1_t)
|
||||||
')
|
')
|
||||||
')
|
')
|
||||||
|
Loading…
Reference in New Issue
Block a user