pegasu...elinux(8)

πŸ“¦
version 20250627+git412.dbf877ab7 Β· 6 versions
, in opensuse-leap 16.0

πŸ¦‹ pegasus_openlmi_unconfined_selinux β€” the manual page, but make it make sense

okay so bestie, you've stumbled into pegasu...elinux(8) (yes that's the truncated manual name, she's a little shy) β€” the SELinux Policy page for pegasus_openlmi_unconfined. sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

pegasus_openlmi_unconfined_selinux β€” literally the Security Enhanced Linux Policy for the pegasus_openlmi_unconfined processes. that's the whole name section. icon behavior.


πŸ’… DESCRIPTION πŸ’…

so. Security-Enhanced Linux secures the pegasus_openlmi_unconfined processes via flexible mandatory access control. flexible! mandatory! access control! she contains multitudes πŸ’–

the pegasus_openlmi_unconfined processes execute with the pegasus_openlmi_unconfined_t SELinux type. and like, how do you even check if you have these processes running? easy bestie, you run the ps command with the -Z qualifier. for example:

ps -eZ | grep pegasus_openlmi_unconfined_t

that's it. that's the vibe check. πŸ”


πŸšͺ ENTRYPOINTS πŸšͺ

the pegasus_openlmi_unconfined_t SELinux type can be entered via the pegasus_openlmi_unconfined_exec_t file type. that's the door, that's the entryway, that's the front porch 🏠

the default entrypoint paths for the pegasus_openlmi_unconfined_t domain are the following:

(nothing. it's empty. the list is literally blank. no paths listed, no cap. don't come for me, I'm just the messenger 🫢)


πŸ‘‘ PROCESS TYPES πŸ‘‘

okay so this is the part where I need you to focus. SELinux defines process types (domains) for each process running on the system. every single one. she's thorough like that.

you can see the context of a process using the -Z option to ps. same trick, different day ✨

policy governs the access confined processes have to files. the SELinux pegasus_openlmi_unconfined policy is very flexible, allowing users to setup their pegasus_openlmi_unconfined processes in as secure a method as possible. flexible AND secure?? we love a multitasker πŸ’œ

the following process types are defined for pegasus_openlmi_unconfined:

  • pegasus_openlmi_unconfined_t
note: semanage permissive -a pegasus_openlmi_unconfined_t can be used to make the process type pegasus_openlmi_unconfined_t permissive. 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's still watching and taking notes 😭 keep that in mind!

πŸŽ€ BOOLEANS πŸŽ€

SELinux policy is customizable based on least access required. the pegasus_openlmi_unconfined policy is extremely flexible and has several booleans that allow you to manipulate the policy and run pegasus_openlmi_unconfined with the tightest access possible. booleans are basically the lil switches of the SELinux world and honestly? obsessed. πŸ”₯

  • 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
  • deny_execmem β€” 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 this boolean. disabled by default. ⚠️ dangerous, she said what she said!
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, you must turn on this boolean. disabled by default.
setsebool -P mmap_low_allowed 1
  • secure_mode_insmod β€” if you want to disable kernel module loading, you must turn on this boolean. disabled by default.
setsebool -P secure_mode_insmod 1
  • selinuxuser_execheap β€” if you want to allow unconfined executables to make their heap memory executable, you must turn on this boolean. 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. πŸ’€ yeah. bad idea. she said it, I'm just relaying it.
setsebool -P selinuxuser_execheap 1
  • selinuxuser_execstack β€” if you want to allow unconfined executables to make their stack executable, you must turn on this boolean. 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. πŸ™ˆ never ever!! she's begging you!!
setsebool -P selinuxuser_execstack 1

πŸ“ MANAGED FILES πŸ“

the SELinux process type pegasus_openlmi_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. SELinux can't fix everything for you bestie, DAC still has a say πŸ’…

file_type

  • all files on the system

that's it. all of them. every last one. main character energy honestly πŸ‘‘


πŸ› οΈ 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.

like, use the tools, they're there for you 🧰✨


🫢 AUTHOR 🫢

this manual page was auto-generated using sepolicy manpage. a bot wrote it. I just gave it a personality. glow-up of the century 🌈


🌸 SEE ALSO 🌸

selinux(8), pegasus_openlmi_unconfined(8), semanage(8), restorecon(8), chcon(1), sepolicy(8), setsebool(8)

go read them, they're giving reference material πŸŽ€


aaaand that's the page!! mwah πŸ’‹ sign-off time: this was pegasus_openlmi_unconfined, dated 26-10-06, living at pegasu...elinux(8) β€” the truncated manual name girly herself. take care of her, use the booleans responsibly, and remember: execstack is never necessary. periodt πŸ”₯✨

πŸ“¦ where this page comes from