virt_ho...selinux(8)
π NAME π
hiii bestie, welcome to virt_ho...selinux(8) π this is the manual page for virt_hook_unconfined_selinux β aka the Security Enhanced Linux Policy for the virt_hook_unconfined processes. No cap, itβs giving βSELinux but make it specific.β π
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the virt_hook_unconfined processes via flexible mandatory access control. Slay. π
The virt_hook_unconfined processes execute with the virt_hook_unconfined_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier. For example:
ps -eZ | grep virt_hook_unconfined_t
πͺ ENTRYPOINTS πͺ
The virt_hook_unconfined_t SELinux type can be entered via the virt_hook_t file type.
The default entrypoint paths for the virt_hook_unconfined_t domain are the following:
/etc/libvirt/hooks(/.*)?
π«Ά PROCESS TYPES π«Ά
SELinux defines process types (domains) for each process running on the system. You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux virt_hook_unconfined policy is very flexible, allowing users to setup their virt_hook_unconfined processes in as secure a method as possible. Iconic behavior, honestly. π
The following process types are defined for virt_hook_unconfined:
virt_hook_unconfined_t
Note:semanage permissive -a virt_hook_unconfined_tcan be used to make the process typevirt_hook_unconfined_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. Important little caveat, bestie. π«‘
ποΈ BOOLEANS ποΈ
SELinux policy is customizable based on least access required. virt_hook_unconfined policy is extremely flexible and has several booleans that allow you to manipulate the policy and run virt_hook_unconfined with the tightest access possible. Vibe check: maximum control. β¨
deny_execmemβ If you want to deny user domains applications to map a memory region as both executable and writable, turn this on. This is dangerous, and the executable should be reported in bugzilla. Disabled by default.
setsebool -P deny_execmem 1
mmap_low_allowedβ 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, turn this on. Disabled by default.
setsebool -P mmap_low_allowed 1
secure_mode_insmodβ If you want to disable kernel module loading, turn this on. Disabled by default.
setsebool -P secure_mode_insmod 1
selinuxuser_execheapβ If you want to allow unconfined executables to make their heap memory executable, turn this on. 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. Disabled by default.
setsebool -P selinuxuser_execheap 1
selinuxuser_execstackβ If you want to allow unconfined executables to make their stack executable, turn this on. This should never, ever be necessary. Probably indicates a badly coded executable, but could indicate an attack. This executable should be reported in bugzilla. Disabled by default.
setsebool -P selinuxuser_execstack 1
okay but fr fr: those executable-memory booleans are not a cute lil trend. Theyβre warnings. π¨
π MANAGED FILES π
The SELinux process type virt_hook_unconfined_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. π
file_type- all files on the system
π οΈ COMMANDS π οΈ
semanage fcontextcan also be used to manipulate default file context mappings.semanage permissivecan also be used to manipulate whether or not a process type is permissive.semanage modulecan also be used to enable/disable/install/remove policy modules.semanage booleancan also be used to manipulate the booleans.system-config-selinuxis a GUI tool available to customize SELinux policy settings.
π AUTHOR π
This manual page was auto-generated using sepolicy manpage .
π SEE ALSO π
selinux(8)virt_hook_unconfined(8)semanage(8)restorecon(8)chcon(1)sepolicy(8)setsebool(8)
mwah π source/version: SELinux Policy virt_hook_unconfined / footer version virt_hook_unconfined Β· date: 26-10-06 Β· manual: virt_ho...selinux(8). periodt π
β¨
π¦ 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