Skip to contentSkip to conversation

Add an interface for listing contents of user home directories.

PATCH New Stefan Schulze Frielinghaus 1 participant 1 message Jan 30, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add an interface for listing contents of user home directories.

---
 policy/modules/system/userdomain.if |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
policy/modules/system/userdomain.if +18 -0
index f209ccf..1f234ef 100644
@@ -1414,6 +1414,24 @@ interface(`userdom_dontaudit_search_user_home_dirs',`
 
 ########################################
 ## <summary>
+##      List contents of users home directory.
+## </summary>
+## <param name="domain">
+##      <summary>
+##      Domain allowed access.
+##      </summary>
+## </param>
+#
+interface(`userdom_list_user_home_content',`
+	gen_require(`
+		type user_home_t;
+	')
+
+	allow $1 user_home_t:dir list_dir_perms;
+')
+
+########################################
+## <summary>
 ##	List user home directories.
 ## </summary>
 ## <param name="domain">
Signature · 1 line
1.6.6