aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'policy/modules/contrib/slocate.if')
-rw-r--r--policy/modules/contrib/slocate.if21
1 files changed, 0 insertions, 21 deletions
diff --git a/policy/modules/contrib/slocate.if b/policy/modules/contrib/slocate.if
deleted file mode 100644
index 82de1b68..00000000
--- a/policy/modules/contrib/slocate.if
+++ /dev/null
@@ -1,21 +0,0 @@
-## <summary>Update database for mlocate.</summary>
-
-########################################
-## <summary>
-## Read locate lib files.
-## </summary>
-## <param name="domain">
-## <summary>
-## Domain allowed access.
-## </summary>
-## </param>
-#
-interface(`locate_read_lib_files',`
- gen_require(`
- type locate_var_lib_t;
- ')
-
- files_search_var_lib($1)
- read_files_pattern($1, locate_var_lib_t, locate_var_lib_t)
- allow $1 locate_var_lib_t:dir list_dir_perms;
-')