httpd_...selinux(8)
π httpd_unconfined_script_selinux(8) β the SELinux vibe check for httpd_unconfined_script π
okay so bestie, this is the manual page for httpd_unconfined_script_selinux β it lives in section 8 of the SELinux Policy httpd_unconfined_script manual, and it's literally all about the SELinux policy for the httpd_unconfined_script processes. pull up a chair π
β¨ NAME β¨
httpd_unconfined_script_selinux β Security Enhanced Linux Policy for the httpd_unconfined_script processes. that's it, that's the whole name section, slay π
πΈ DESCRIPTION πΈ
Security-Enhanced Linux secures the httpd_unconfined_script processes via flexible mandatory access control. yes ma'am, mandatory. not optional. MAC said what it said π«Ά
so, the httpd_unconfined_script processes execute with the httpd_unconfined_script_t SELinux type. you can check if you even have these processes running by executing the ps command with the -Z qualifier.
for example:
ps -eZ | grep httpd_unconfined_script_t
that's the vibe check right there π
π¦ ENTRYPOINTS π¦
the httpd_unconfined_script_t SELinux type can be entered via the httpd_unconfined_script_exec_t file type. that's the doorway, iykyk β¨
the default entrypoint paths for the httpd_unconfined_script_t domain are the following:
(and then... there's nothing listed. iconic of it honestly. the list is empty, bestie β that's not me skipping it, that's literally what the page says π)
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. one domain per process, like little apartments π
you can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. the SELinux httpd_unconfined_script policy is very flexible allowing users to setup their httpd_unconfined_script processes in as secure a method as possible.
the following process types are defined for httpd_unconfined_script:
httpd_unconfined_script_t
Note:semanage permissive -a httpd_unconfined_script_tcan be used to make the process typehttpd_unconfined_script_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it stops yelling at you with a block but it still logs the receipts π
π BOOLEANS π
SELinux policy is customizable based on least access required. the httpd_unconfined_script policy is extremely flexible and has several booleans that allow you to manipulate the policy and run httpd_unconfined_script with the tightest access possible. booleans are basically the little toggles of the SELinux world, and we love a toggle π₯
if you want to deny user domains applications to map a memory region as both executable and writable β this is dangerous and the executable should be reported in bugzilla β you must turn on the deny_execmem boolean. Disabled by default.
setsebool -P deny_execmem 1
if you want to control the ability to mmap a low area of the address space, as configured by /proc/sys/vm/mmap_min_addr, you must turn on the mmap_low_allowed boolean. Disabled by default.
setsebool -P mmap_low_allowed 1
if you want to disable kernel module loading, you must turn on the secure_mode_insmod boolean. Disabled by default.
setsebool -P secure_mode_insmod 1
if you want to allow unconfined executables to make their heap memory executable β doing this is a really bad idea. probably indicates a badly coded executable, but could indicate an attack. this executable should be reported in bugzilla β you must turn on the selinuxuser_execheap boolean. Disabled by default. π
setsebool -P selinuxuser_execheap 1
if you want to allow unconfined executables to make their stack executable β this should never, ever be necessary. probably indicates a badly coded executable, but could indicate an attack. this executable should be reported in bugzilla β you must turn on the selinuxuser_execstack boolean. Disabled by default. fr fr do not just flip this one for fun π
setsebool -P selinuxuser_execstack 1
π MANAGED FILES π
the SELinux process type httpd_unconfined_script_t can manage files labeled with the following file types. the paths listed are the default paths for these file types. note: the processes UID still need to have DAC permissions. SELinux isn't out here overriding your regular permissions, bestie, it's a whole extra layer π§
file_type
- all files on the system
yes. all of them. main character energy π
β COMMANDS β
semanage fcontext can also be used to manipulate default file context mappings.
semanage permissive can also be used to manipulate whether or not a process type is permissive.
semanage module can also be used to enable/disable/install/remove policy modules.
semanage boolean can also be used to manipulate the booleans.
system-config-selinux is a GUI tool available to customize SELinux policy settings. a whole GUI, for the girlies who don't do terminal π
π AUTHOR π
this manual page was auto-generated using sepolicy manpage. a bot wrote it, and honestly? it ate.
π SEE ALSO π
selinux(8)httpd_unconfined_script(8)semanage(8)restorecon(8)chcon(1)sepolicy(8)setsebool(8)
and that's the whole page, bestie π«Ά this was httpd_unconfined_script β page version 26-10-06 β footer said httpd_...selinux(8) too, so like, it's giving full circle. go forth and be permissive (only if you mean it) πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: selinux-policy-doc 20250627+git412.dbf877ab7-160000.1.1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms