@@ -83,4 +83,4 @@ sysadm_bin_spec_domtrans_to(ipcdomain)
allow test_ipc_base_t self:sem create_sem_perms;
allow test_ipc_base_t self:shm create_shm_perms;
# ipcrm needs this...
-userdom_search_generic_user_home_dirs(test_ipc_base_t)
+userdom_search_user_home_dirs(test_ipc_base_t)
@@ -60,9 +60,3 @@ interface(`userdom_sysadm_entry_spec_domtrans_to',`
allow $1 sysadm_t:process sigchld;
')
')
-
-ifdef(`userdom_search_generic_user_home_dirs', `', ` dnl
-interface(`userdom_search_generic_user_home_dirs', `
- userdom_search_user_home_dirs($1)
-')
-')
@@ -34,7 +34,7 @@ allow test_ptrace_traced_t test_file_t:fifo_file rw_file_perms;
# Allow the tracer domain to trace the traced domain.
allow test_ptrace_tracer_t test_ptrace_traced_t:process ptrace;
-userdom_search_generic_user_home_dirs(test_ptrace_traced_t)
+userdom_search_user_home_dirs(test_ptrace_traced_t)
# Let the tracer wait on the traced domain.
allow test_ptrace_traced_t test_ptrace_tracer_t:process sigchld;
userdom_search_generic_user_home_dirs() is not defined in neither Fedora policy nor refpolicy. userdom_search_user_home_dirs() is already defined in both, so just use that directly. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> --- policy/test_ipc.te | 2 +- policy/test_policy.if | 6 ------ policy/test_ptrace.te | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-)