Skip to contentSkip to conversation

rpcbind_admin typo

refpolicy Martin Orr 2 participants 2 messages Sep 25, 2008 – Oct 6, 2008

lore
Share & tools
lore

Martin Orr

author
#0 lore raw

Fix a typo in rpcbind_admin.

This doesn't cause a compile error because rpcbind_admin is not used anywhere - is this supposed to be the case?

modules/services/rpcbind.if renamed from modules/services/rpcbind.if.orig +1 -1
Index: policy/modules/services/rpcbind.if
===================================================================
@@ -122,7 +122,7 @@
 	allow $1 rpcbind_t:process { ptrace signal_perms };
 	ps_process_pattern($1, rpcbind_t)
 	
-	init_labeled_script_somtrans($1, rbcbind_initrc_exec_t)
+	init_labeled_script_domtrans($1, rbcbind_initrc_exec_t)
 	domain_system_change_exemption($1)
 	role_transition $2 rpcbind_initrc_exec_t system_r;
 	allow $2 system_r;
Signature · 1 line
Martin Orr
#1 lore raw
Quoted 1 line · Martin Orr

Fix a typo in rpcbind_admin.

Merged.

Quoted 2 lines

This doesn't cause a compile error because rpcbind_admin is not used anywhere - is this supposed to be the case?

Yes, there are no current users upstream. It and others like it are available for users that want to make their own custom roles to admin specific services.

Quoted 14 lines

Index: policy/modules/services/rpcbind.if
===================================================================

modules/services/rpcbind.if renamed from modules/services/rpcbind.if.orig +1 -1
@@ -122,7 +122,7 @@
 	allow $1 rpcbind_t:process { ptrace signal_perms };
 	ps_process_pattern($1, rpcbind_t)
 
-	init_labeled_script_somtrans($1, rbcbind_initrc_exec_t)
+	init_labeled_script_domtrans($1, rbcbind_initrc_exec_t)
 	domain_system_change_exemption($1)
 	role_transition $2 rpcbind_initrc_exec_t system_r;
 	allow $2 system_r;
Signature · 3 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150