blob: aca499b9bf3e9c7dd5f9276c9d70d37d4e632dc4 [file] [log] [blame]
Stephen Smalley2dd4e512012-01-04 12:33:27 -05001# debugger interface
2type debuggerd, domain;
3type debuggerd_exec, exec_type, file_type;
4
5init_daemon_domain(debuggerd)
6typeattribute debuggerd mlstrustedsubject;
Stephen Smalley5f9917c2012-07-31 09:15:46 -04007allow debuggerd self:capability { dac_override sys_ptrace chown kill fowner };
rpcraigabd977a2012-08-10 06:25:52 -04008allow debuggerd self:capability2 { syslog };
Stephen Smalley2dd4e512012-01-04 12:33:27 -05009allow debuggerd domain:dir r_dir_perms;
10allow debuggerd domain:file r_file_perms;
11allow debuggerd domain:process ptrace;
William Roberts7bb2a552013-04-04 13:17:36 -070012security_access_policy(debuggerd)
Stephen Smalley5f9917c2012-07-31 09:15:46 -040013allow debuggerd system_data_file:dir create_dir_perms;
14allow debuggerd system_data_file:dir relabelfrom;
15allow debuggerd tombstone_data_file:dir relabelto;
Stephen Smalley2dd4e512012-01-04 12:33:27 -050016allow debuggerd tombstone_data_file:dir create_dir_perms;
17allow debuggerd tombstone_data_file:file create_file_perms;
18allow debuggerd domain:process { sigstop signal };
19allow debuggerd exec_type:file r_file_perms;