- Timestamp:
- Jan 20, 2007, 9:36:32 PM (18 years ago)
- Location:
- selinux/build
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
selinux/build/zephyr.fc
r84 r91 1 # Joe Presbrey 2 # presbrey@mit.edu 3 # 2006/1/15 4 1 5 /usr/sbin/zhm -- gen_context(system_u:object_r:zephyr_exec_t,s0) 2 6 /usr/bin/zaway -- gen_context(system_u:object_r:zephyr_bin_t,s0) -
selinux/build/zephyr.if
r84 r91 1 # Joe Presbrey 2 # presbrey@mit.edu 3 # 2006/1/15 4 1 5 interface(`zephyr_domtrans',` 2 6 gen_requires(` … … 14 18 template(`zephyr_access',` 15 19 require { 16 # type krb5_conf_t;17 20 type zephyr_t, zephyr_bin_t; 18 21 } 19 22 20 23 allow $1 zephyr_t:udp_socket { read write }; 21 # allow $1 krb5_conf_t:file read;22 24 can_exec($1, zephyr_t) 23 25 can_exec($1, zephyr_bin_t) -
selinux/build/zephyr.te
r84 r91 1 # Joe Presbrey 2 # presbrey@mit.edu 3 # 2006/1/15 4 1 5 policy_module(zephyr,1.0.0) 2 6 … … 10 14 type zephyr_exec_t; 11 15 domain_type(zephyr_t) 16 corecmd_executable_file(zephyr_bin_t) 12 17 init_daemon_domain(zephyr_t, zephyr_exec_t) 13 18 14 19 ######################################## 15 20 # 16 # AFSlocal policy21 # zephyr local policy 17 22 18 23 files_read_etc_files(zephyr_t) … … 22 27 miscfiles_read_localization(zephyr_t) 23 28 24 # Init script handling25 29 init_use_fds(zephyr_t) 26 30 init_use_script_ptys(zephyr_t) 27 31 domain_use_interactive_fds(zephyr_t) 28 32 term_use_console(zephyr_t) 29 30 allow zephyr_t self:process setsched; 31 allow zephyr_t self:capability { sys_admin sys_nice sys_tty_config}; 32 33 corenet_udp_bind_generic_port(zephyr_t) 34 dev_read_urand(zephyr_t) 33 35 sysnet_dns_name_resolve(zephyr_t) 34 36 corenet_tcp_sendrecv_all_nodes(zephyr_t) … … 36 38 corenet_tcp_sendrecv_all_ports(zephyr_t) 37 39 corenet_udp_sendrecv_all_ports(zephyr_t) 40 kerberos_use(zephyr_t) 38 41 39 #allow zephyr_bin_t fs_t:filesystem associate; 42 allow zephyr_t self:process setsched; 43 allow zephyr_t self:capability { sys_admin sys_nice sys_tty_config };
Note: See TracChangeset
for help on using the changeset viewer.