security_port_sid(9)
π security_port_sid(9) π
okay so bestie, this is the Kernel API Manual entry for security_port_sid β yes, the manual name is literally Kernel API Manual, and we are absolutely here for it π
β¨
πΈ NAME πΈ
security_port_sid β Obtain the SID for a port. π«Ά
π¦ SYNOPSIS π¦
int security_port_sid (u8 protocol , u16 port , u32 *out_sid );
π ARGUMENTS π
protocolβ protocol number. like, the number that tells you which protocol we're talking about π§portβ port number. yes bestie, the port itself πΈout_sidβ security identifier. literally the SID slot π
π₯ SEE ALSO π₯
okay so the kernel file is ./security/selinux/ss/services.c, and here are all the linked friends β no cap, every single one is invited to the group chat:
security_compute_av(9)security_sid_to_context(9)security_sid_to_context_inval(9)security_context_to_sid(9)security_context_to_sid_default(9)security_transition_sid(9)security_member_sid(9)security_change_sid(9)services_convert_context(9)security_load_policy(9)ocontext_to_sid(9)security_ib_pkey_sid(9)security_ib_endport_sid(9)security_netif_sid(9)security_node_sid(9)__security_genfs_sid(9)security_genfs_sid(9)security_fs_use(9)security_net_peersid_resolve(9)security_policycap_supported(9)security_netlbl_cache_add(9)security_netlbl_secattr_to_sid(9)security_netlbl_sid_to_secattr(9)__security_read_policy(9)security_read_policy(9)security_read_state_kernel(9)
mwah π β source/version ./security/selinux/ss, date October 2026, and that's the whole vibe check, bestie, periodt π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms