Skip to contentSkip to conversation

watchdog policy

PATCH Russell Coker 1 participant 1 message Jun 20, 2005 SELinux security module

lore
Share & tools
lore
#0 lore raw

The attached patch is needed to allow the watchdog daemon to set real-time priority.

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
domains/program/unused/watchdog.te renamed from domains/program/unused/watchdog.te.orig +2 -0
@@ -12,6 +12,8 @@
 daemon_domain(watchdog, `, privmail')
 type watchdog_device_t, device_type, dev_fs;
 
+allow watchdog_t self:process setsched;
+
 log_domain(watchdog)
 
 allow watchdog_t etc_t:file r_file_perms;