smack_socket...ersec_stream(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– smack_socket_getpeersec_stream(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” we are literally in section 9 and the vibes are immaculate ✨

🌸 NAME 🌸

smack_socket_getpeersec_stream β€” pull in packet label πŸ’…

✨ SYNOPSIS ✨

int smack_socket_getpeersec_stream (struct socket *sock , sockptr_t
       optval , sockptr_t optlen , unsigned int len );

πŸŽ€ ARGUMENTS πŸŽ€

  • sock β€” the socket 🫢
  • optval β€” user's destination πŸ’–
  • optlen β€” size thereof ✨
  • len β€” max thereof 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

literally returns zero on success, an error code otherwise 😭 that's the whole plot, no cap.

πŸ”₯ SEE ALSO πŸ”₯

kernel file: ./security/smack/smack_lsm.c


mwah πŸ’‹ this little page comes from ./security/smack, dated October 2026, and its manual tag is smack_socket...ersec_stream(9) β€” periodt πŸŽ€

πŸ“¦ where this page comes from