~calebcase/+junk/refpolicy

« back to all changes in this revision

Viewing changes to policy/modules/apps/usernetctl.te

  • Committer: Caleb Case
  • Date: 2008-08-25 21:38:11 UTC
  • Revision ID: ccase@shiva-20080825213811-mtbyp70e4ltsu7kt
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
policy_module(usernetctl,1.3.0)
 
3
 
 
4
########################################
 
5
#
 
6
# Declarations
 
7
#
 
8
 
 
9
type usernetctl_t;
 
10
type usernetctl_exec_t;
 
11
application_domain(usernetctl_t,usernetctl_exec_t)
 
12
domain_interactive_fd(usernetctl_t)
 
13
 
 
14
########################################
 
15
#
 
16
# Local policy
 
17
#
 
18
 
 
19
allow usernetctl_t self:capability { setuid setgid dac_override };
 
20
allow usernetctl_t self:process ~{ ptrace setcurrent setexec setfscreate setrlimit execmem execstack execheap };
 
21
allow usernetctl_t self:fd use;
 
22
allow usernetctl_t self:fifo_file rw_fifo_file_perms;
 
23
allow usernetctl_t self:shm create_shm_perms;
 
24
allow usernetctl_t self:sem create_sem_perms;
 
25
allow usernetctl_t self:msgq create_msgq_perms;
 
26
allow usernetctl_t self:msg { send receive };
 
27
allow usernetctl_t self:unix_dgram_socket create_socket_perms;
 
28
allow usernetctl_t self:unix_stream_socket create_stream_socket_perms;
 
29
allow usernetctl_t self:unix_dgram_socket sendto;
 
30
allow usernetctl_t self:unix_stream_socket connectto;
 
31
 
 
32
can_exec(usernetctl_t,usernetctl_exec_t)
 
33
 
 
34
kernel_read_system_state(usernetctl_t)
 
35
kernel_read_kernel_sysctls(usernetctl_t)
 
36
 
 
37
corecmd_list_bin(usernetctl_t)
 
38
corecmd_exec_bin(usernetctl_t)
 
39
corecmd_exec_shell(usernetctl_t)
 
40
 
 
41
domain_dontaudit_read_all_domains_state(usernetctl_t)
 
42
 
 
43
files_read_etc_files(usernetctl_t)
 
44
files_exec_etc_files(usernetctl_t)
 
45
files_read_etc_runtime_files(usernetctl_t)
 
46
files_list_pids(usernetctl_t)
 
47
files_list_home(usernetctl_t)
 
48
files_read_usr_files(usernetctl_t)
 
49
 
 
50
fs_search_auto_mountpoints(usernetctl_t)
 
51
 
 
52
libs_use_ld_so(usernetctl_t)
 
53
libs_use_shared_libs(usernetctl_t)
 
54
 
 
55
miscfiles_read_localization(usernetctl_t)
 
56
 
 
57
seutil_read_config(usernetctl_t)
 
58
 
 
59
sysnet_read_config(usernetctl_t)
 
60
 
 
61
optional_policy(`
 
62
        hostname_exec(usernetctl_t)
 
63
')
 
64
 
 
65
optional_policy(`
 
66
        nis_use_ypbind(usernetctl_t)
 
67
')