security_ine..._established(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ security_ine..._established(9) ✨

okay bestie, buckle up β€” this one's from the Kernel API Manual, section 9, and the title is security_ine..._established (yes the title itself got truncated by the man page gods, we don't question it πŸ’…).

Short version: something established a connection, and the LSM state on a socket needs to catch up. That's it. That's the whole vibe. But we're gonna do it properly, so let's go 🫢


🌸 NAME 🌸

security_inet_conn_established β€” update the sock's LSM state with the connection, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

void security_inet_conn_established (struct sock *sk , struct sk_buff
*skb );

literally that's the whole signature, she's tiny, she's iconic, she does one thing πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • sk β€” the sock. the main character here, the one whose state is getting updated πŸ’–
  • skb β€” the connection packet. this is the packet that the new connection came from ✨

πŸ’œ DESCRIPTION πŸ’œ

So here's what's going down: this updates the sock's LSM state so it represents a new connection coming from skb. that's the whole job. it's giving "small function, big responsibility" energy honestly πŸ‘‘

no return value, it's a void β€” she doesn't report back, she just does the thing πŸ™ˆ


πŸ”₯ SEE ALSO πŸ”₯

first up, the kernel file where all this lives: ./security/security.c

then... okay so. there are a lot of friends in this cinematic universe. i'm not gonna gatekeep a single one of them, so here's the entire guest list in order, lsm_file_alloc(9) through security_initramfs_populated(9) β€” go read them all if you want the full lore, iykyk πŸ’«

like i said. the whole universe. that's the list, bestie, every single one of them, nothing skipped πŸ’…


tiny reminder: this page doesn't document a return value, an error, a signal or an exit status, because there aren't any β€” it's a void function. don't come for me, come for the header file 😭

okay that's the whole page!! this one's from the ./security source, dated October 2026, and the man page tag is security_ine..._established(9) πŸ’– go forth and keep those LSM states fresh, queen πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from