Skip to contentSkip to conversation

netlabel can be run in init scripts I think?

PATCH Daniel J Walsh 3 participants 3 messages Mar 23, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

I believe this patch came from netlabel guys.

Dan

policy/modules/system/netlabel.te +1 -2
@@ -8,8 +8,7 @@
 
 type netlabel_mgmt_t;
 type netlabel_mgmt_exec_t;
-domain_type(netlabel_mgmt_t)
-domain_entry_file(netlabel_mgmt_t,netlabel_mgmt_exec_t)
+init_daemon_domain(netlabel_mgmt_t,netlabel_mgmt_exec_t)
 
 ########################################
 #
#1 lore raw
Quoted 1 line · Daniel J Walsh

I believe this patch came from netlabel guys.

Yes it did, I believe it was posted to this list too, although I could be mistaken. That being said, I wonder if instead of init_daemon_domain() init_system_domain() should be used - thoughts?

Signature · 7 lines
paul moore
linux security @ hp

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 5 lines · Paul Moore
Quoted 1 line · Daniel J Walsh

I believe this patch came from netlabel guys.

Yes it did, I believe it was posted to this list too, although I could be mistaken.

Yes you sent it on March 9th; its still in my patch queue.

Quoted 2 lines

That being said, I wonder if instead of init_daemon_domain() init_system_domain() should be used - thoughts?

If this is actually a daemon, then the former init_daemon_domain() be used, otherwise init_system_domain() should be used.

Signature · 9 lines
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.