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 un‐
7       confined_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 usr_t,
25       bin_t, shell_exec_t file types.
26
27       The default entrypoint paths for the  unconfined_service_t  domain  are
28       the following:
29
30       All  executables  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,  /bin/d?ash,
36       /bin/ksh.*, /bin/zsh.*, /usr/bin/d?ash, /usr/bin/ksh.*, /usr/bin/zsh.*,
37       /bin/esh,  /bin/bash,  /bin/fish,  /bin/mksh,   /bin/sash,   /bin/tcsh,
38       /bin/yash,   /bin/bash2,  /usr/bin/esh,  /sbin/nologin,  /usr/bin/bash,
39       /usr/bin/fish,     /usr/bin/mksh,     /usr/bin/sash,     /usr/bin/tcsh,
40       /usr/bin/yash,    /usr/bin/bash2,    /usr/sbin/sesh,   /usr/sbin/smrsh,
41       /usr/bin/scponly, /usr/libexec/sesh,  /usr/sbin/nologin,  /usr/bin/git-
42       shell,  /usr/sbin/scponlyc,  /usr/libexec/sudo/sesh,  /usr/bin/cockpit-
43       bridge, /usr/libexec/cockpit-agent, /usr/libexec/git-core/git-shell
44

PROCESS TYPES

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

BOOLEANS

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

MANAGED FILES

118       The  SELinux process type unconfined_service_t can manage files labeled
119       with the following file types.  The paths listed are the default  paths
120       for  these  file  types.  Note the processes UID still need to have DAC
121       permissions.
122
123       file_type
124
125            all files on the system
126
127

COMMANDS

129       semanage fcontext can also be used to manipulate default  file  context
130       mappings.
131
132       semanage  permissive  can  also  be used to manipulate whether or not a
133       process type is permissive.
134
135       semanage module can also be used to enable/disable/install/remove  pol‐
136       icy modules.
137
138       semanage boolean can also be used to manipulate the booleans
139
140
141       system-config-selinux is a GUI tool available to customize SELinux pol‐
142       icy settings.
143
144

AUTHOR

146       This manual page was auto-generated using sepolicy manpage .
147
148

SEE ALSO

150       selinux(8),    unconfined_service(8),    semanage(8),    restorecon(8),
151       chcon(1), sepolicy(8), setsebool(8)
152
153
154
155unconfined_service                 23-10-20      unconfined_service_selinux(8)
Impressum