1sandbox_net_selinux(8) SELinux Policy sandbox_net sandbox_net_selinux(8)
2
3
4
6 sandbox_net_selinux - Security Enhanced Linux Policy for the sand‐
7 box_net processes
8
10 Security-Enhanced Linux secures the sandbox_net processes via flexible
11 mandatory access control.
12
13 The sandbox_net processes execute with the sandbox_net_t SELinux type.
14 You can check if you have these processes running by executing the ps
15 command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep sandbox_net_t
20
21
22
24 SELinux defines process types (domains) for each process running on the
25 system
26
27 You can see the context of a process using the -Z option to ps
28
29 Policy governs the access confined processes have to files. SELinux
30 sandbox_net policy is very flexible allowing users to setup their sand‐
31 box_net processes in as secure a method as possible.
32
33 The following process types are defined for sandbox_net:
34
35 sandbox_net_t, sandbox_net_client_t
36
37 Note: semanage permissive -a sandbox_net_t can be used to make the
38 process type sandbox_net_t permissive. SELinux does not deny access to
39 permissive process types, but the AVC (SELinux denials) messages are
40 still generated.
41
42
44 The SELinux process type sandbox_net_t is an MCS (Multi Category Secu‐
45 rity) constrained type. Sometimes this separation is referred to as
46 sVirt. These types are usually used for securing multi-tenant environ‐
47 ments, such as virtualization, containers or separation of users. The
48 tools used to launch MCS types, pick out a different MCS label for each
49 process group.
50
51 For example one process might be launched with sandbox_net_t:s0:c1,c2,
52 and another process launched with sandbox_net_t:s0:c3,c4. The SELinux
53 kernel only allows these processes can only write to content with a
54 matching MCS label, or a MCS Label of s0. A process running with the
55 MCS level of s0:c1,c2 is not allowed to write to content with the MCS
56 label of s0:c3,c4
57
58
60 SELinux policy is customizable based on least access required. sand‐
61 box_net policy is extremely flexible and has several booleans that al‐
62 low you to manipulate the policy and run sandbox_net with the tightest
63 access possible.
64
65
66
67 If you want to deny user domains applications to map a memory region as
68 both executable and writable, this is dangerous and the executable
69 should be reported in bugzilla, you must turn on the deny_execmem bool‐
70 ean. Disabled by default.
71
72 setsebool -P deny_execmem 1
73
74
75
76 If you want to allow system to run with NIS, you must turn on the
77 nis_enabled boolean. Disabled by default.
78
79 setsebool -P nis_enabled 1
80
81
82
84 The SELinux process type sandbox_net_t can manage files labeled with
85 the following file types. The paths listed are the default paths for
86 these file types. Note the processes UID still need to have DAC per‐
87 missions.
88
89 fusefs_t
90
91 /var/run/user/[0-9]+/gvfs
92
93 krb5_host_rcache_t
94
95 /var/tmp/krb5_0.rcache2
96 /var/cache/krb5rcache(/.*)?
97 /var/tmp/nfs_0
98 /var/tmp/DNS_25
99 /var/tmp/host_0
100 /var/tmp/imap_0
101 /var/tmp/HTTP_23
102 /var/tmp/HTTP_48
103 /var/tmp/ldap_55
104 /var/tmp/ldap_487
105 /var/tmp/ldapmap1_0
106
107 mozilla_plugin_tmpfs_t
108
109
110 sandbox_file_t
111
112
113 sandbox_net_client_tmpfs_t
114
115
116 security_t
117
118 /selinux
119
120
122 semanage fcontext can also be used to manipulate default file context
123 mappings.
124
125 semanage permissive can also be used to manipulate whether or not a
126 process type is permissive.
127
128 semanage module can also be used to enable/disable/install/remove pol‐
129 icy modules.
130
131 semanage boolean can also be used to manipulate the booleans
132
133
134 system-config-selinux is a GUI tool available to customize SELinux pol‐
135 icy settings.
136
137
139 This manual page was auto-generated using sepolicy manpage .
140
141
143 selinux(8), sandbox_net(8), semanage(8), restorecon(8), chcon(1), se‐
144 policy(8), setsebool(8), sandbox_net_client_selinux(8), sand‐
145 box_net_client_selinux(8)
146
147
148
149sandbox_net 23-12-15 sandbox_net_selinux(8)