vmware_host_selinux(8)
π vmware_host_selinux(8) β the glow-up version π
okay so bestie, this is the manual page for vmware_host_selinux, part of the SELinux Policy vmware_host family β and yes, section (8) means it's a sysadmin/admins-only kind of page, main character energy fr fr. Let's get into it β¨
πΈ NAME πΈ
vmware_host_selinux β the Security Enhanced Linux Policy for the vmware_host processes. That's it, that's the whole vibe.
β¨ DESCRIPTION β¨
Security-Enhanced Linux secures the vmware_host processes via flexible mandatory access control. Like, flexible but also mandatory β she contains multitudes π
The vmware_host processes execute with the vmware_host_t SELinux type. Wanna check if you've got these processes running? Run the ps command with the -Z qualifier, easy peasy.
For example:
ps -eZ | grep vmware_host_t
That's literally it. Go off π
π¦ ENTRYPOINTS π¦
The vmware_host_t SELinux type can be entered via the vmware_host_exec_t file type. (Think of it as the VIP door into the domain, iykyk πͺβ¨)
The default entrypoint paths for the vmware_host_t domain are the following:
/opt/vmware/(workstation|player)/bin/vmnet-natd,
/opt/vmware/(workstation|player)/bin/vmnet-dhcpd,
/opt/vmware/(workstation|player)/bin/vmware-nmbd,
/opt/vmware/(workstation|player)/bin/vmware-smbd,
/opt/vmware/(workstation|player)/bin/vmnet-bridge,
/opt/vmware/(workstation|player)/bin/vmnet-netifup,
/opt/vmware/(workstation|player)/bin/vmnet-sniffer,
/opt/vmware/(workstation|player)/bin/vmware-smbpasswd,
/opt/vmware/(workstation|player)/bin/vmware-smbpasswd.bin,
/usr/bin/vmware-guest.*, /usr/lib/vmware-tools/sbin32/vmware.*,
/usr/lib/vmware-tools/sbin64/vmware.*, /usr/bin/vmnet-natd,
/usr/bin/vmware-vmx, /usr/bin/vmnet-dhcpd, /usr/bin/vmware-nmbd,
/usr/bin/vmware-smbd, /usr/bin/vmnet-bridge, /usr/bin/vmnet-netifup,
/usr/bin/vmnet-sniffer, /usr/bin/vmware-network, /usr/bin/vmware-
smbpasswd, /usr/bin/vmware-smbpasswd.bin, /usr/lib/vmware/bin/vmware-vmx
Like, that's a lot of paths, but she's thorough and we respect it π
π PROCESS TYPES π
SELinux defines process types (domains) for each process running on the system. Periodt.
You can see the context of a process using the -Z option to ps.
Policy governs the access confined processes have to files. SELinux vmware_host policy is very flexible, allowing users to setup their vmware_host processes in as secure a method as possible. Very demure, very mindful πΈ
The following process types are defined for vmware_host:
vmware_host_t
Note:semanage permissive -a vmware_host_tcan be used to make the process typevmware_host_tpermissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. So like, she's not blocking you anymore but she IS still taking notes ππ
π BOOLEANS π
SELinux policy is customizable based on least access required. The vmware_host policy is extremely flexible and has several booleans that allow you to manipulate the policy and run vmware_host with the tightest access possible. Tightest access possible = the aesthetic π
daemons_dontaudit_schedulingβ if you want to dontaudit all daemons scheduling requests (setsched,sys_nice), you must turn on this boolean. Enabled by default.
setsebool -P daemons_dontaudit_scheduling 1
mmap_low_allowedβ if you want to control the ability tommapa low area of the address space, as configured by/proc/sys/vm/mmap_min_addr, you must turn on this boolean. Disabled by default.
setsebool -P mmap_low_allowed 1
selinuxuser_execheapβ if you want to allow unconfined executables to make their heap memory executable, you must turn on this boolean. Disabled by default.
β οΈ bestie. 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. Like, this is the red-flag-energy boolean π©π
setsebool -P selinuxuser_execheap 1
π§ MANAGED FILES π§
The SELinux process type vmware_host_t can manage files labeled with the following file types. The paths listed are the default paths for these file types. Note: the process's UID still needs to have DAC permissions β SELinux isn't out here doing your DAC's homework for you, no cap.
file_typeβ literally all files on the system. She said everything πβ¨
all files on the system
π FILE CONTEXTS π
SELinux requires files to have an extended attribute to define the file type. Extra attribute, extra flair, we love that for them π
You can see the context of a file using the -Z option to ls.
Policy governs the access confined processes have to these files. SELinux vmware_host policy is very flexible, allowing users to setup their vmware_host processes in as secure a method as possible.
β STANDARD FILE CONTEXT β
SELinux defines the file context types for the vmware_host. If you wanted to store files with these types in different paths, you need to execute the semanage command to specify alternate labeling, and then use restorecon to put the labels on disk.
semanage fcontext -a -t vmware_host_exec_t '/srv/vmware_host/content(/.*)?'
restorecon -R -v /srv/myvmware_host_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. Regex girlies rise π
The following file types are defined for vmware_host:
vmware_host_exec_t
- Set files with the
vmware_host_exec_ttype if you want to transition an executable to thevmware_host_tdomain.
Paths:
/opt/vmware/(workstation|player)/bin/vmnet-natd,
/opt/vmware/(workstation|player)/bin/vmnet-dhcpd,
/opt/vmware/(workstation|player)/bin/vmware-nmbd,
/opt/vmware/(workstation|player)/bin/vmware-smbd,
/opt/vmware/(workstation|player)/bin/vmnet-bridge,
/opt/vmware/(workstation|player)/bin/vmnet-netifup,
/opt/vmware/(workstation|player)/bin/vmnet-sniffer,
/opt/vmware/(workstation|player)/bin/vmware-smbpasswd,
/opt/vmware/(workstation|player)/bin/vmware-smbpasswd.bin,
/usr/bin/vmware-guest.*, /usr/lib/vmware-tools/sbin32/vmware.*,
/usr/lib/vmware-tools/sbin64/vmware.*, /usr/bin/vmnet-natd,
/usr/bin/vmware-vmx, /usr/bin/vmnet-dhcpd, /usr/bin/vmware-nmbd,
/usr/bin/vmware-smbd, /usr/bin/vmnet-bridge, /usr/bin/vmnet-
netifup, /usr/bin/vmnet-sniffer, /usr/bin/vmware-network,
/usr/bin/vmware-smbpasswd, /usr/bin/vmware-smbpasswd.bin,
/usr/lib/vmware/bin/vmware-vmx
vmware_host_pid_t
- Set files with the
vmware_host_pid_ttype if you want to store the vmware host files under the/rundirectory.
Paths:
/run/vmnet.*, /run/vmnat.*, /run/vmware.*
vmware_host_tmp_t
- Set files with the
vmware_host_tmp_ttype if you want to store vmware host temporary files in the/tmpdirectories. Temporary queen behavior π«Ά
Note: File context can be temporarily modified with thechconcommand. If you want to permanently change the file context you need to use thesemanage fcontextcommand. This will modify the SELinux labeling database. You will need to userestoreconto apply the labels. Temporary vs permanent β know the difference bestie π
π₯ 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. A whole GUI, for the visual learners β¨π₯οΈ
π AUTHOR π
This manual page was auto-generated using sepolicy manpage . β yes, the robots wrote it, and honestly? They ate π€π
π SEE ALSO π
selinux(8), vmware_host(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)
Go read those next, bestie β that's your homework, and you're gonna slay it ππ
okay that's the whole page!! mwah π this cutie was brought to you by vmware_host, version/date 26-10-06, living under the vmware_host_selinux(8) name. take care of her, she's iconic πβ¨
π¦ 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