diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if index 37f1c220b..1bca75e95 100644 --- a/policy/modules/kernel/filesystem.if +++ b/policy/modules/kernel/filesystem.if @@ -776,25 +776,6 @@ interface(`fs_read_noxattr_fs_symlinks',` read_lnk_files_pattern($1,noxattrfs,noxattrfs) ') -######################################## -## -## Do not audit attempts to read -## dirs on a CIFS or SMB filesystem. -## -## -## -## Domain to not audit. -## -## -# -interface(`fs_dontaudit_list_cifs_dirs',` - gen_require(` - type cifs_t; - ') - - dontaudit $1 cifs_t:dir list_dir_perms; -') - ######################################## ## ## Do not audit attempts to read diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index dd2c793a3..d945c3c1e 100644 --- a/policy/modules/system/userdomain.if +++ b/policy/modules/system/userdomain.if @@ -202,7 +202,7 @@ template(`userdom_ro_home_template',` fs_read_cifs_named_sockets($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) ') ')