selinux_net...ssoc_request(9)
π selinux_netlbl_sctp_assoc_request β from the Kernel API Manual, bestie β¨
Okay so picture this: you're deep in the kernel, section 9 of the Kernel API Manual, and you gotta label an incoming sctp association. That's literally what this one does. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
int selinux_netlbl_sctp_assoc_request (struct sctp_association *asoc ,
struct sk_buff *skb );
Two args, one int coming back at you. No cap π
π ARGUMENTS π
asocβ the incoming association, bestie. That's the whole vibe of the thing β¨skbβ the packet. The actual packet. π¦
π DESCRIPTION π
A new incoming connection is represented by asoc, ......
Returns zero on success, negative values on failure. That's it, that's the whole deal. Slay π₯
ngl the ...... is doing a LOT of lifting here, but that's genuinely all the manpage gives us, so we're not gonna make stuff up. Periodt π
π SEE ALSO π
Kernel file ./security/selinux/netlabel.c β that's the main character right there β
And the whole friend group:
selinux_netlbl_sidlookup_cached(9)selinux_netlbl_sock_genattr(9)selinux_netlbl_sock_getattr(9)selinux_netlbl_cache_invalidate(9)selinux_netlbl_err(9)selinux_netlbl_sk_security_free(9)selinux_netlbl_sk_security_reset(9)selinux_netlbl_skbuff_getsid(9)selinux_netlbl_skbuff_setsid(9)selinux_netlbl_inet_conn_request(9)selinux_netlbl_inet_csk_clone(9)selinux_netlbl_sctp_sk_clone(9)selinux_netlbl_socket_post_create(9)selinux_netlbl_sock_rcv_skb(9)selinux_netlbl_option(9)selinux_netlbl_socket_setsockopt(9)selinux_netlbl_socket_connect_helper(9)selinux_netlbl_socket_connect_locked(9)selinux_netlbl_socket_connect(9)
Go read them all, iykyk π
Cute lil sign-off: this masterpiece of documentation lives at ./security/selinux and is dated October 2026, page selinux_net...ssoc_request(9) β yes, the header truncates it like that, we don't make the rules π. Have fun labeling those associations, bestie, and stay hydrated ππΈπ
π¦ 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