Skip to contentSkip to conversation

udev policy

PATCH Russell Coker 2 participants 2 messages Dec 24, 2004 – Jan 3, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

The attached patch allows pamconsole to run in it's own domain when executed by udev.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
program/udev.te renamed from tmp/u/etc/selinux/strict/src/policy/domains/program/udev.te +1 -0
@@ -98,6 +98,7 @@
 ifdef(`pamconsole.te', `
 allow udev_t pam_var_console_t:dir search;
 allow udev_t pam_var_console_t:file { getattr read };
+domain_auto_trans(udev_t, pam_console_exec_t, pam_console_t)
 ')
 allow udev_t var_lock_t:dir search;
 allow udev_t var_lock_t:file getattr;
#1 lore raw

Merged.

Quoted 2 lines · Russell Coker

The attached patch allows pamconsole to run in it's own domain when executed by udev.

Signature · 7 lines
James Carter <[email protected]>
National Security Agency

--
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.