1mencoder_selinux(8)         SELinux Policy mencoder        mencoder_selinux(8)
2
3
4

NAME

6       mencoder_selinux - Security Enhanced Linux Policy for the mencoder pro‐
7       cesses
8

DESCRIPTION

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

ENTRYPOINTS

24       The mencoder_t SELinux type can be entered via the mencoder_exec_t file
25       type.
26
27       The default entrypoint paths for the mencoder_t domain are the  follow‐
28       ing:
29
30       /usr/bin/mencoder
31

PROCESS TYPES

33       SELinux defines process types (domains) for each process running on the
34       system
35
36       You can see the context of a process using the -Z option to ps
37
38       Policy governs the access confined processes have  to  files.   SELinux
39       mencoder policy is very flexible allowing users to setup their mencoder
40       processes in as secure a method as possible.
41
42       The following process types are defined for mencoder:
43
44       mencoder_t
45
46       Note: semanage permissive -a mencoder_t can be used to make the process
47       type  mencoder_t permissive. SELinux does not deny access to permissive
48       process types, but the AVC (SELinux denials) messages are still  gener‐
49       ated.
50
51

BOOLEANS

53       SELinux  policy  is  customizable based on least access required.  men‐
54       coder policy is extremely flexible and has several booleans that  allow
55       you  to manipulate the policy and run mencoder with the tightest access
56       possible.
57
58
59
60       If you want to deny user domains applications to map a memory region as
61       both  executable  and  writable,  this  is dangerous and the executable
62       should be reported in bugzilla, you must turn on the deny_execmem bool‐
63       ean. Enabled by default.
64
65       setsebool -P deny_execmem 1
66
67
68
69       If  you  want  to deny any process from ptracing or debugging any other
70       processes, you  must  turn  on  the  deny_ptrace  boolean.  Enabled  by
71       default.
72
73       setsebool -P deny_ptrace 1
74
75
76
77       If  you  want  to  allow  any  process  to mmap any file on system with
78       attribute file_type, you must turn on the  domain_can_mmap_files  bool‐
79       ean. Enabled by default.
80
81       setsebool -P domain_can_mmap_files 1
82
83
84
85       If  you want to allow all domains write to kmsg_device, while kernel is
86       executed with systemd.log_target=kmsg parameter, you must turn  on  the
87       domain_can_write_kmsg boolean. Disabled by default.
88
89       setsebool -P domain_can_write_kmsg 1
90
91
92
93       If you want to allow all domains to use other domains file descriptors,
94       you must turn on the domain_fd_use boolean. Enabled by default.
95
96       setsebool -P domain_fd_use 1
97
98
99
100       If you want to allow all domains to have the kernel load  modules,  you
101       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
102       default.
103
104       setsebool -P domain_kernel_load_modules 1
105
106
107
108       If you want to allow all domains to execute in fips_mode, you must turn
109       on the fips_mode boolean. Enabled by default.
110
111       setsebool -P fips_mode 1
112
113
114
115       If you want to enable reading of urandom for all domains, you must turn
116       on the global_ssp boolean. Disabled by default.
117
118       setsebool -P global_ssp 1
119
120
121
122       If you want to determine whether mplayer can make its stack executable,
123       you must turn on the mplayer_execstack boolean. Disabled by default.
124
125       setsebool -P mplayer_execstack 1
126
127
128
129       If  you  want  to  allow  all  unconfined  executables to use libraries
130       requiring text relocation that are  not  labeled  textrel_shlib_t,  you
131       must turn on the selinuxuser_execmod boolean. Enabled by default.
132
133       setsebool -P selinuxuser_execmod 1
134
135
136
137       If  you  want  to  support  NFS  home directories, you must turn on the
138       use_nfs_home_dirs boolean. Disabled by default.
139
140       setsebool -P use_nfs_home_dirs 1
141
142
143
144       If you want to support SAMBA home directories, you  must  turn  on  the
145       use_samba_home_dirs boolean. Disabled by default.
146
147       setsebool -P use_samba_home_dirs 1
148
149
150

MANAGED FILES

152       The  SELinux  process type mencoder_t can manage files labeled with the
153       following file types.  The paths listed are the default paths for these
154       file types.  Note the processes UID still need to have DAC permissions.
155
156       cifs_t
157
158
159       mplayer_home_t
160
161            /home/[^/]+/.mplayer(/.*)?
162
163       nfs_t
164
165
166       user_home_t
167
168            /home/[^/]+/.+
169
170       user_tmp_t
171
172            /dev/shm/mono.*
173            /var/run/user(/.*)?
174            /tmp/.X11-unix(/.*)?
175            /tmp/.ICE-unix(/.*)?
176            /dev/shm/pulse-shm.*
177            /tmp/.X0-lock
178            /tmp/hsperfdata_root
179            /var/tmp/hsperfdata_root
180            /home/[^/]+/tmp
181            /home/[^/]+/.tmp
182            /tmp/gconfd-[^/]+
183
184

FILE CONTEXTS

186       SELinux requires files to have an extended attribute to define the file
187       type.
188
189       You can see the context of a file using the -Z option to ls
190
191       Policy governs the access  confined  processes  have  to  these  files.
192       SELinux  mencoder policy is very flexible allowing users to setup their
193       mencoder processes in as secure a method as possible.
194
195       The following file types are defined for mencoder:
196
197
198
199       mencoder_exec_t
200
201       - Set files with the mencoder_exec_t type, if you want to transition an
202       executable to the mencoder_t domain.
203
204
205
206       Note:  File context can be temporarily modified with the chcon command.
207       If you want to permanently change the file context you need to use  the
208       semanage fcontext command.  This will modify the SELinux labeling data‐
209       base.  You will need to use restorecon to apply the labels.
210
211

COMMANDS

213       semanage fcontext can also be used to manipulate default  file  context
214       mappings.
215
216       semanage  permissive  can  also  be used to manipulate whether or not a
217       process type is permissive.
218
219       semanage module can also be used to enable/disable/install/remove  pol‐
220       icy modules.
221
222       semanage boolean can also be used to manipulate the booleans
223
224
225       system-config-selinux is a GUI tool available to customize SELinux pol‐
226       icy settings.
227
228

AUTHOR

230       This manual page was auto-generated using sepolicy manpage .
231
232

SEE ALSO

234       selinux(8), mencoder(8), semanage(8), restorecon(8),  chcon(1),  sepol‐
235       icy(8) , setsebool(8)
236
237
238
239mencoder                           19-04-25                mencoder_selinux(8)
Impressum