From 7d8fbdc06201f67119d1e1b67f718eea4d44651e Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: May 23 2008 14:41:36 +0000 Subject: trunk: fix bad cifs interface. --- diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if index 37f1c22..1bca75e 100644 --- a/policy/modules/kernel/filesystem.if +++ b/policy/modules/kernel/filesystem.if @@ -779,25 +779,6 @@ interface(`fs_read_noxattr_fs_symlinks',` ######################################## ## ## 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 ## files on a CIFS or SMB filesystem. ## ## diff --git a/policy/modules/system/userdomain.if b/policy/modules/system/userdomain.if index dd2c793..d945c3c 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) ') ')