1unconfined_service_selinSuExL(i8n)ux Policy unconfined_suenrcvoincfeined_service_selinux(8)
2
3
4

NAME

6       unconfined_service_selinux  -  Security  Enhanced  Linux Policy for the
7       unconfined_service processes
8

DESCRIPTION

10       Security-Enhanced Linux secures the  unconfined_service  processes  via
11       flexible mandatory access control.
12
13       The  unconfined_service processes execute with the unconfined_service_t
14       SELinux type. You can check if you have these processes running by exe‐
15       cuting the ps command with the -Z qualifier.
16
17       For example:
18
19       ps -eZ | grep unconfined_service_t
20
21
22

ENTRYPOINTS

24       The  unconfined_service_t  SELinux  type  can be entered via the bin_t,
25       shell_exec_t, usr_t file types.
26
27       The default entrypoint paths for the  unconfined_service_t  domain  are
28       the following:
29
30       All  executeables  with the default executable label, usually stored in
31       /usr/bin   and   /usr/sbin.    /bin/d?ash,   /bin/ksh.*,    /bin/zsh.*,
32       /usr/bin/d?ash,  /usr/bin/ksh.*,  /usr/bin/zsh.*,  /bin/esh, /bin/bash,
33       /bin/fish,  /bin/mksh,  /bin/sash,  /bin/tcsh,  /bin/yash,  /bin/bash2,
34       /usr/bin/esh,      /sbin/nologin,     /usr/bin/bash,     /usr/bin/fish,
35       /usr/bin/mksh,     /usr/bin/sash,     /usr/bin/tcsh,     /usr/bin/yash,
36       /usr/bin/bash2,   /usr/sbin/sesh,   /usr/sbin/smrsh,  /usr/bin/scponly,
37       /usr/libexec/sesh,        /usr/sbin/nologin,        /usr/bin/git-shell,
38       /usr/sbin/scponlyc,   /usr/libexec/sudo/sesh,  /usr/bin/cockpit-bridge,
39       /usr/libexec/cockpit-agent,  /usr/libexec/git-core/git-shell,  /opt/.*,
40       /usr/.*,         /emul/.*,         /export(/.*)?,        /ostree(/.*)?,
41       /usr/doc(/.*)?/lib(/.*)?,   /usr/inclu.e(/.*)?,   /usr/share/rpm(/.*)?,
42       /usr/share/doc(/.*)?/README.*,           /usr/lib/modules(/.*)/vmlinuz,
43       /usr/lib/modules(/.*)/initramfs.img,           /usr/lib/sysimage(/.*)?,
44       /usr/lib/ostree-boot(/.*)?, /opt, /usr, /emul
45

PROCESS TYPES

47       SELinux defines process types (domains) for each process running on the
48       system
49
50       You can see the context of a process using the -Z option to ps
51
52       Policy governs the access confined processes have  to  files.   SELinux
53       unconfined_service  policy  is  very  flexible  allowing users to setup
54       their unconfined_service processes in as secure a method as possible.
55
56       The following process types are defined for unconfined_service:
57
58       unconfined_service_t
59
60       Note: semanage permissive -a unconfined_service_t can be used  to  make
61       the process type unconfined_service_t permissive. SELinux does not deny
62       access to permissive process types, but the AVC (SELinux denials)  mes‐
63       sages are still generated.
64
65

BOOLEANS

67       SELinux  policy is customizable based on least access required.  uncon‐
68       fined_service policy is extremely flexible  and  has  several  booleans
69       that allow you to manipulate the policy and run unconfined_service with
70       the tightest access possible.
71
72
73
74       If you want to deny user domains applications to map a memory region as
75       both  executable  and  writable,  this  is dangerous and the executable
76       should be reported in bugzilla, you must turn on the deny_execmem bool‐
77       ean. Enabled by default.
78
79       setsebool -P deny_execmem 1
80
81
82
83       If you want to allow all domains to execute in fips_mode, you must turn
84       on the fips_mode boolean. Enabled by default.
85
86       setsebool -P fips_mode 1
87
88
89
90       If you want to control the ability to mmap a low area  of  the  address
91       space,  as  configured  by /proc/sys/vm/mmap_min_addr, you must turn on
92       the mmap_low_allowed boolean. Disabled by default.
93
94       setsebool -P mmap_low_allowed 1
95
96
97
98       If you want to disable kernel module loading,  you  must  turn  on  the
99       secure_mode_insmod boolean. Enabled by default.
100
101       setsebool -P secure_mode_insmod 1
102
103
104
105       If  you  want to allow unconfined executables to make their heap memory
106       executable.  Doing this is a really  bad  idea.  Probably  indicates  a
107       badly  coded  executable, but could indicate an attack. This executable
108       should  be  reported  in  bugzilla,  you  must  turn  on   the   selin‐
109       uxuser_execheap boolean. Disabled by default.
110
111       setsebool -P selinuxuser_execheap 1
112
113
114
115       If  you  want  to allow unconfined executables to make their stack exe‐
116       cutable.  This should never, ever be necessary.  Probably  indicates  a
117       badly  coded  executable, but could indicate an attack. This executable
118       should be reported in bugzilla, you must turn on the  selinuxuser_exec‐
119       stack boolean. Enabled by default.
120
121       setsebool -P selinuxuser_execstack 1
122
123
124

MANAGED FILES

126       The  SELinux process type unconfined_service_t can manage files labeled
127       with the following file types.  The paths listed are the default  paths
128       for  these  file  types.  Note the processes UID still need to have DAC
129       permissions.
130
131       file_type
132
133            all files on the system
134
135

COMMANDS

137       semanage fcontext can also be used to manipulate default  file  context
138       mappings.
139
140       semanage  permissive  can  also  be used to manipulate whether or not a
141       process type is permissive.
142
143       semanage module can also be used to enable/disable/install/remove  pol‐
144       icy modules.
145
146       semanage boolean can also be used to manipulate the booleans
147
148
149       system-config-selinux is a GUI tool available to customize SELinux pol‐
150       icy settings.
151
152

AUTHOR

154       This manual page was auto-generated using sepolicy manpage .
155
156

SEE ALSO

158       selinux(8),    unconfined_service(8),    semanage(8),    restorecon(8),
159       chcon(1), sepolicy(8), setsebool(8)
160
161
162
163unconfined_service                 19-10-08      unconfined_service_selinux(8)
Impressum