apparmor_soc...eersec_dgram(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– apparmor_socket_getpeersec_dgram β€” the kernel manual, but make it cute πŸ’–

okay so this is apparmor_soc...eersec_dgram(9) from the Kernel API Manual β€” yes the title is literally abbreviated with ellipsis like that, that's not me being lazy, that's the actual name bestie 😭 anyway let's get into it 🫢


✨ NAME ✨

apparmor_socket_getpeersec_dgram β€” get security label of packet πŸ”πŸ“¦


🌸 SYNOPSIS 🌸

int apparmor_socket_getpeersec_dgram (struct socket *sock , struct sk_buff *skb , u32 *secid );

like, that's the whole signature, no notes πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • sock β€” the peer socket 🧦 (yes, "peer socket", that's the vibe)
  • skb β€” packet data πŸ“¨
  • secid β€” pointer to where to put the secid of the packet πŸ“ like, it's a pointer to wherever you're storing that secid, bestie

πŸ¦‹ DESCRIPTION πŸ¦‹

Sets the netlabel socket state on sk from parent.

and that's literally it, that's the whole description, no cap 😭 short and iconic, main character energy of a one-liner ✨


⭐ SEE ALSO ⭐

the whole friend group, all in Kernel file ./security/apparmor/lsm.c πŸ‘‘:


ngl if you're here you probably grepped your way in β€” welcome, stay a while ✨

and that's the page!! πŸŽ€ this whole thing lives in ./security/apparmor, it's dated October 2026, and the manual it belongs to is the Kernel API Manual β€” mwah, go touch some kernel code bestie, you got this πŸ’œπŸ¦‹πŸ’…

πŸ“¦ where this page comes from