source: selinux/build/zephyr.if @ 84

Last change on this file since 84 was 84, checked in by presbrey, 15 years ago
preliminary zephyr support
File size: 630 bytes
Line 
1interface(`zephyr_domtrans',`
2        gen_requires(`
3                type zephyr_t, zephyr_exec_t;
4        ')
5
6        domain_auto_trans($1,zephyr_exec_t,zephyr_t)
7
8        allow $1 zephyr_t:fd use;
9        allow zephyr_t $1:fd use;
10        allow zephyr_t:$1:fifo_file rw_file_perms;
11        allow zephyr_t $1:process sigchld;
12')
13
14template(`zephyr_access',`
15        require {
16#                type krb5_conf_t;
17                type zephyr_t, zephyr_bin_t;
18        }
19
20        allow $1 zephyr_t:udp_socket { read write };
21#        allow $1 krb5_conf_t:file read;
22        can_exec($1, zephyr_t)
23        can_exec($1, zephyr_bin_t)
24')
Note: See TracBrowser for help on using the repository browser.