1rpm_script_selinux(8)      SELinux Policy rpm_script     rpm_script_selinux(8)
2
3
4

NAME

6       rpm_script_selinux  - Security Enhanced Linux Policy for the rpm_script
7       processes
8

DESCRIPTION

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

ENTRYPOINTS

24       The  rpm_script_t  SELinux type can be entered via the ldconfig_exec_t,
25       usr_t, shell_exec_t, bin_t file types.
26
27       The default entrypoint paths for the rpm_script_t domain are  the  fol‐
28       lowing:
29
30       All  executables  with  the default executable label, usually stored in
31       /usr/bin  and  /usr/sbin.   /sbin/sln,  /usr/sbin/sln,  /sbin/ldconfig,
32       /usr/sbin/ldconfig,    /opt/.*,   /usr/.*,   /emul/.*,   /export(/.*)?,
33       /ostree(/.*)?,      /usr/doc(/.*)?/lib(/.*)?,       /usr/inclu.e(/.*)?,
34       /usr/share/rpm(/.*)?,    /usr/share/doc(/.*)?/README.*,   /usr/lib/mod‐
35       ules(/.*)/vmlinuz, /usr/lib/modules(/.*)/initramfs.img, /usr/lib/sysim‐
36       age(/.*)?,  /usr/lib/ostree-boot(/.*)?,  /opt, /usr, /emul, /bin/d?ash,
37       /bin/ksh.*, /bin/zsh.*, /usr/bin/d?ash, /usr/bin/ksh.*, /usr/bin/zsh.*,
38       /bin/esh,   /bin/bash,   /bin/fish,  /bin/mksh,  /bin/sash,  /bin/tcsh,
39       /bin/yash,  /bin/bash2,  /usr/bin/esh,  /sbin/nologin,   /usr/bin/bash,
40       /usr/bin/fish,     /usr/bin/mksh,     /usr/bin/sash,     /usr/bin/tcsh,
41       /usr/bin/yash,   /usr/bin/bash2,    /usr/sbin/sesh,    /usr/sbin/smrsh,
42       /usr/bin/scponly,  /usr/libexec/sesh,  /usr/sbin/nologin, /usr/bin/git-
43       shell,  /usr/sbin/scponlyc,  /usr/libexec/sudo/sesh,  /usr/bin/cockpit-
44       bridge, /usr/libexec/cockpit-agent, /usr/libexec/git-core/git-shell
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       rpm_script  policy  is  very  flexible  allowing  users  to setup their
54       rpm_script processes in as secure a method as possible.
55
56       The following process types are defined for rpm_script:
57
58       rpm_script_t
59
60       Note: semanage permissive -a rpm_script_t  can  be  used  to  make  the
61       process  type  rpm_script_t permissive. SELinux does not deny access to
62       permissive process types, but the AVC (SELinux  denials)  messages  are
63       still generated.
64
65

BOOLEANS

67       SELinux   policy  is  customizable  based  on  least  access  required.
68       rpm_script policy is extremely flexible and has several  booleans  that
69       allow you to manipulate the policy and run rpm_script with the tightest
70       access possible.
71
72
73
74       If you want to control the ability to mmap a low area  of  the  address
75       space,  as  configured  by /proc/sys/vm/mmap_min_addr, you must turn on
76       the mmap_low_allowed boolean. Disabled by default.
77
78       setsebool -P mmap_low_allowed 1
79
80
81
82       If you want to disable kernel module loading,  you  must  turn  on  the
83       secure_mode_insmod boolean. Enabled by default.
84
85       setsebool -P secure_mode_insmod 1
86
87
88
89       If  you  want to allow unconfined executables to make their heap memory
90       executable.  Doing this is a really  bad  idea.  Probably  indicates  a
91       badly  coded  executable, but could indicate an attack. This executable
92       should  be  reported  in  bugzilla,  you  must  turn  on   the   selin‐
93       uxuser_execheap boolean. Disabled by default.
94
95       setsebool -P selinuxuser_execheap 1
96
97
98

MANAGED FILES

100       The SELinux process type rpm_script_t can manage files labeled with the
101       following file types.  The paths listed are the default paths for these
102       file types.  Note the processes UID still need to have DAC permissions.
103
104       file_type
105
106            all files on the system
107
108

COMMANDS

110       semanage  fcontext  can also be used to manipulate default file context
111       mappings.
112
113       semanage permissive can also be used to manipulate  whether  or  not  a
114       process type is permissive.
115
116       semanage  module can also be used to enable/disable/install/remove pol‐
117       icy modules.
118
119       semanage boolean can also be used to manipulate the booleans
120
121
122       system-config-selinux is a GUI tool available to customize SELinux pol‐
123       icy settings.
124
125

AUTHOR

127       This manual page was auto-generated using sepolicy manpage .
128
129

SEE ALSO

131       selinux(8), rpm_script(8), semanage(8), restorecon(8), chcon(1), sepol‐
132       icy(8), setsebool(8)
133
134
135
136rpm_script                         20-05-05              rpm_script_selinux(8)
Impressum