selinux_peerlbl_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ selinux_peerlbl_enabled(9) ✨

hiii bestie πŸ’– welcome to the selinux_peerlbl_enabled(9) page from the Kernel API Manual. this is literally the vibe check for whether peer labeling is currently enabled, and we're gonna get into it πŸŽ€

🌸 NAME 🌸

selinux_peerlbl_enabled β€” check to see if peer labeling is currently enabled. that's the whole main character job, no cap πŸ’…

πŸ’– SYNOPSIS πŸ’–

int selinux_peerlbl_enabled (void );

πŸŽ€ ARGUMENTS πŸŽ€

  • void β€” no arguments. zero. nada. you are not passing anything in here, periodt 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function checks if NetLabel or labeled IPSEC is enabled. it returns true (1) if any are enabled, or false (0) if neither are enabled. simple enough, right? ✨

and listen πŸ‘€ if the always_check_network policy capability is enabled, then peer labeling is always considered enabled. iconic behavior honestly πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


okay that's the whole page bestie πŸ˜­πŸ’– the source/version is ./security/selinux, dated October 2026, and yes this is the selinux_peerlbl_enabled(9) manual page β€” slay and goodbye 🫢✨

πŸ“¦ where this page comes from