1chrome_sandbox_nacl_selSiEnLuixn(u8x)Policy chrome_sandbcohxr_onmaec_lsandbox_nacl_selinux(8)
2
3
4
6 chrome_sandbox_nacl_selinux - Security Enhanced Linux Policy for the
7 chrome_sandbox_nacl processes
8
10 Security-Enhanced Linux secures the chrome_sandbox_nacl processes via
11 flexible mandatory access control.
12
13 The chrome_sandbox_nacl processes execute with the chrome_sand‐
14 box_nacl_t SELinux type. You can check if you have these processes run‐
15 ning by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep chrome_sandbox_nacl_t
20
21
22
24 The chrome_sandbox_nacl_t SELinux type can be entered via the usr_t,
25 bin_t, chrome_sandbox_nacl_exec_t file types.
26
27 The default entrypoint paths for the chrome_sandbox_nacl_t domain are
28 the following:
29
30 All executeables with the default executable label, usually stored in
31 /usr/bin and /usr/sbin. /opt/.*, /usr/.*, /emul/.*, /export(/.*)?,
32 /ostree(/.*)?, /usr/doc(/.*)?/lib(/.*)?, /usr/inclu.e(/.*)?,
33 /usr/share/rpm(/.*)?, /usr/share/doc(/.*)?/README.*, /usr/lib/mod‐
34 ules(/.*)/vmlinuz, /usr/lib/modules(/.*)/initramfs.img, /usr/lib/sysim‐
35 age(/.*)?, /usr/lib/ostree-boot(/.*)?, /opt, /usr, /emul,
36 /opt/google/chrome[^/]*/nacl_helper_bootstrap,
37 /opt/google/chrome/nacl_helper_bootstrap, /usr/lib/chromium-
38 browser/nacl_helper_bootstrap
39
41 SELinux defines process types (domains) for each process running on the
42 system
43
44 You can see the context of a process using the -Z option to ps
45
46 Policy governs the access confined processes have to files. SELinux
47 chrome_sandbox_nacl policy is very flexible allowing users to setup
48 their chrome_sandbox_nacl processes in as secure a method as possible.
49
50 The following process types are defined for chrome_sandbox_nacl:
51
52 chrome_sandbox_nacl_t
53
54 Note: semanage permissive -a chrome_sandbox_nacl_t can be used to make
55 the process type chrome_sandbox_nacl_t permissive. SELinux does not
56 deny access to permissive process types, but the AVC (SELinux denials)
57 messages are still generated.
58
59
61 SELinux policy is customizable based on least access required.
62 chrome_sandbox_nacl policy is extremely flexible and has several bool‐
63 eans that allow you to manipulate the policy and run chrome_sand‐
64 box_nacl with the tightest access possible.
65
66
67
68 If you want to allow all domains to execute in fips_mode, you must turn
69 on the fips_mode boolean. Enabled by default.
70
71 setsebool -P fips_mode 1
72
73
74
76 The SELinux process type chrome_sandbox_nacl_t can manage files labeled
77 with the following file types. The paths listed are the default paths
78 for these file types. Note the processes UID still need to have DAC
79 permissions.
80
81 chrome_sandbox_home_t
82
83 /home/[^/]+/.cache/chromium(/.*)?
84 /home/[^/]+/.cache/google-chrome(/.*)?
85 /home/[^/]+/.cache/google-chrome-unstable(/.*)?
86
87 chrome_sandbox_tmpfs_t
88
89
90
92 SELinux requires files to have an extended attribute to define the file
93 type.
94
95 You can see the context of a file using the -Z option to ls
96
97 Policy governs the access confined processes have to these files.
98 SELinux chrome_sandbox_nacl policy is very flexible allowing users to
99 setup their chrome_sandbox_nacl processes in as secure a method as pos‐
100 sible.
101
102 The following file types are defined for chrome_sandbox_nacl:
103
104
105
106 chrome_sandbox_nacl_exec_t
107
108 - Set files with the chrome_sandbox_nacl_exec_t type, if you want to
109 transition an executable to the chrome_sandbox_nacl_t domain.
110
111
112 Paths:
113 /opt/google/chrome[^/]*/nacl_helper_bootstrap,
114 /opt/google/chrome/nacl_helper_bootstrap, /usr/lib/chromium-
115 browser/nacl_helper_bootstrap
116
117
118 Note: File context can be temporarily modified with the chcon command.
119 If you want to permanently change the file context you need to use the
120 semanage fcontext command. This will modify the SELinux labeling data‐
121 base. You will need to use restorecon to apply the labels.
122
123
125 semanage fcontext can also be used to manipulate default file context
126 mappings.
127
128 semanage permissive can also be used to manipulate whether or not a
129 process type is permissive.
130
131 semanage module can also be used to enable/disable/install/remove pol‐
132 icy modules.
133
134 semanage boolean can also be used to manipulate the booleans
135
136
137 system-config-selinux is a GUI tool available to customize SELinux pol‐
138 icy settings.
139
140
142 This manual page was auto-generated using sepolicy manpage .
143
144
146 selinux(8), chrome_sandbox_nacl(8), semanage(8), restorecon(8),
147 chcon(1), sepolicy(8), setsebool(8)
148
149
150
151chrome_sandbox_nacl 19-10-08 chrome_sandbox_nacl_selinux(8)