MOZILLA_PLUGIN_CONFIG_SELINUX(8)

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

πŸ’… mozilla_plugin_config_selinux(8) β€” the SELinux glow-up for mozilla_plugin_config

okay so bestie, welcome to the mozilla_plugin_config_selinux manual page ✨ this is the SELinux Policy page for the mozilla_plugin_config processes, and yes it's giving "niche but iconic" β€” let's get into it πŸŽ€

✨ NAME ✨

mozilla_plugin_config_selinux β€” Security Enhanced Linux Policy for the mozilla_plugin_config processes πŸ¦‹

🌸 DESCRIPTION 🌸

Security-Enhanced Linux secures the mozilla_plugin_config processes via flexible mandatory access control. like, it's the bodyguard that actually shows up πŸ’…

The mozilla_plugin_config processes execute with the mozilla_plugin_config_t SELinux type. Wanna check if you've got these processes running? Just run the ps command with the -Z qualifier, no cap 🫢

For example:

ps -eZ | grep mozilla_plugin_config_t

πŸšͺ ENTRYPOINTS πŸšͺ

The mozilla_plugin_config_t SELinux type can be entered via the mozilla_plugin_config_exec_t file type β€” that's the doorway, the main character energy entrance ✨

The default entrypoint paths for the mozilla_plugin_config_t domain are literally these:

/usr/lib/nspluginwrapper/plugin-config

πŸ‘‘ PROCESS TYPES πŸ‘‘

SELinux defines process types (domains) for each process running on the system. so everybody gets their own little lane 🌈

You can see the context of a process using the -Z option to ps. iykyk 😌

Policy governs the access confined processes have to files. The SELinux mozilla_plugin_config policy is very flexible, allowing users to setup their mozilla_plugin_config processes in as secure a method as possible. obsessed with the range honestly πŸ”₯

The following process types are defined for mozilla_plugin_config:

  • mozilla_plugin_config_t
Note: semanage permissive -a mozilla_plugin_config_t can be used to make the process type mozilla_plugin_config_t permissive. SELinux does not deny access to permissive process types, but the AVC (SELinux denials) messages are still generated. so like, it's chill about the access but it's still gonna text you about it 😭

πŸŽ€ BOOLEANS πŸŽ€

SELinux policy is customizable based on least access required. The mozilla_plugin_config policy is extremely flexible and has several booleans that allow you to manipulate the policy and run mozilla_plugin_config with the tightest access possible. tightest access = the vibe check we deserve πŸ’œ

If you want to allow all domains to execute in fips_mode, you must turn on the fips_mode boolean. Enabled by default.

setsebool -P fips_mode 1

If you want to allow system to run with NIS, you must turn on the nis_enabled boolean. Disabled by default.

setsebool -P nis_enabled 1

If you want to allow unconfined users to transition to the Mozilla plugin domain when running xulrunner plugin-container, you must turn on the unconfined_mozilla_plugin_transition boolean. Enabled by default.

setsebool -P unconfined_mozilla_plugin_transition 1

If you want to support ecryptfs home directories, you must turn on the use_ecryptfs_home_dirs boolean. Disabled by default.

setsebool -P use_ecryptfs_home_dirs 1

πŸ“ MANAGED FILES πŸ“

The SELinux process type mozilla_plugin_config_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 is not out here doing the whole job for you, bestie πŸ™ˆ

krb5_host_rcache_t

/var/tmp/krb5_0.rcache2
/var/cache/krb5rcache(/.*)?
/var/tmp/nfs_0
/var/tmp/DNS_25
/var/tmp/host_0
/var/tmp/imap_0
/var/tmp/HTTP_23
/var/tmp/HTTP_48
/var/tmp/ldap_55
/var/tmp/ldap_487
/var/tmp/ldapmap1_0

mozilla_plugin_rw_t

/usr/lib/mozilla/plugins-wrapped(/.*)?

mozilla_plugin_tmp_t

(no paths listed for this one β€” it's mysterious, it's lowkey an enigma πŸ’€)

πŸ–ΌοΈ FILE CONTEXTS πŸ–ΌοΈ

SELinux requires files to have an extended attribute to define the file type. yes, files have labels now, we love a branded era πŸŽ€

You can see the context of a file using the -Z option to ls. slay ⭐

Policy governs the access confined processes have to these files. The SELinux mozilla_plugin_config policy is very flexible, allowing users to setup their mozilla_plugin_config processes in as secure a method as possible. fr fr πŸ”₯

🌈 STANDARD FILE CONTEXT 🌈

SELinux defines the file context types for mozilla_plugin_config. 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. two-step process, both icons πŸ’…

semanage fcontext -a -t mozilla_plugin_config_exec_t '/srv/mozilla_plugin_config/content(/.*)?'
restorecon -R -v /srv/mymozilla_plugin_config_content
Note: SELinux often uses regular expressions to specify labels that match multiple files. regex my beloved 😌

The following file types are defined for mozilla_plugin_config:

mozilla_plugin_config_exec_t

  • Set files with the mozilla_plugin_config_exec_t type if you want to transition an executable to the mozilla_plugin_config_t domain.
Note: file context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the semanage fcontext command. This will modify the SELinux labeling database. You will need to use restorecon to apply the labels. no shortcuts bestie, that's the whole plot 🫢

πŸ› οΈ 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, we love convenience ✨

🧚 AUTHOR 🧚

This manual page was auto-generated using sepolicy manpage . β€” yes, the robots did this one, and honestly they ate πŸ€–πŸ’…

πŸ”— SEE ALSO πŸ”—

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


and that's the whole page, bestie! 🫢 this was mozilla_plugin_config from the mozilla_plugin_config_selinux(8) manual, dated 26-10-06, brought to you by the SELinux Policy mozilla_plugin_config crew β€” take care of your labels and your labels will take care of you πŸ’–βœ¨

πŸ“¦ where this page comes from