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 allow all domains to use other domains file descriptors,
61       you must turn on the allow_domain_fd_use boolean. Enabled by default.
62
63       setsebool -P allow_domain_fd_use 1
64
65
66
67       If  you  want to allow unconfined executables 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 allow_execmem
70       boolean. Enabled by default.
71
72       setsebool -P allow_execmem 1
73
74
75
76       If you want to  allow  all  unconfined  executables  to  use  libraries
77       requiring  text  relocation  that are not labeled textrel_shlib_t), you
78       must turn on the allow_execmod boolean. Enabled by default.
79
80       setsebool -P allow_execmod 1
81
82
83
84       If you want to allow mplayer executable stack, you  must  turn  on  the
85       allow_mplayer_execstack boolean. Disabled by default.
86
87       setsebool -P allow_mplayer_execstack 1
88
89
90
91       If  you want to allow sysadm to debug or ptrace all processes, you must
92       turn on the allow_ptrace boolean. Disabled by default.
93
94       setsebool -P allow_ptrace 1
95
96
97
98       If you want to allow all domains to have the kernel load  modules,  you
99       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
100       default.
101
102       setsebool -P domain_kernel_load_modules 1
103
104
105
106       If you want to allow all domains to execute in fips_mode, you must turn
107       on the fips_mode boolean. Enabled by default.
108
109       setsebool -P fips_mode 1
110
111
112
113       If you want to enable reading of urandom for all domains, you must turn
114       on the global_ssp boolean. Disabled by default.
115
116       setsebool -P global_ssp 1
117
118
119
120       If you want to support NFS home  directories,  you  must  turn  on  the
121       use_nfs_home_dirs boolean. Disabled by default.
122
123       setsebool -P use_nfs_home_dirs 1
124
125
126
127       If  you  want  to  support SAMBA home directories, you must turn on the
128       use_samba_home_dirs boolean. Disabled by default.
129
130       setsebool -P use_samba_home_dirs 1
131
132
133

MANAGED FILES

135       The SELinux process type mencoder_t can manage files labeled  with  the
136       following file types.  The paths listed are the default paths for these
137       file types.  Note the processes UID still need to have DAC permissions.
138
139       cifs_t
140
141
142       initrc_tmp_t
143
144
145       mnt_t
146
147            /mnt(/[^/]*)
148            /mnt(/[^/]*)?
149            /rhev(/[^/]*)?
150            /media(/[^/]*)
151            /media(/[^/]*)?
152            /etc/rhgb(/.*)?
153            /media/.hal-.*
154            /net
155            /afs
156            /rhev
157            /misc
158
159       mplayer_home_t
160
161            /home/[^/]*/.mplayer(/.*)?
162            /home/staff/.mplayer(/.*)?
163
164       nfs_t
165
166
167       tmp_t
168
169            /tmp
170            /usr/tmp
171            /var/tmp
172            /tmp-inst
173            /var/tmp-inst
174            /var/tmp/vi.recover
175
176

FILE CONTEXTS

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

COMMANDS

205       semanage  fcontext  can also be used to manipulate default file context
206       mappings.
207
208       semanage permissive can also be used to manipulate  whether  or  not  a
209       process type is permissive.
210
211       semanage  module can also be used to enable/disable/install/remove pol‐
212       icy modules.
213
214       semanage boolean can also be used to manipulate the booleans
215
216
217       system-config-selinux is a GUI tool available to customize SELinux pol‐
218       icy settings.
219
220

AUTHOR

222       This manual page was auto-generated using sepolicy manpage .
223
224

SEE ALSO

226       selinux(8),  mencoder(8), semanage(8), restorecon(8), chcon(1) , setse‐
227       bool(8)
228
229
230
231mencoder                           15-06-03                mencoder_selinux(8)
Impressum