selinux_netl...ctp_sk_clone(9)
okay bestie, welcome to the selinux_netl...ctp_sk_clone(9) page from the Kernel API Manual β yes, the title is a little truncated, sheβs mysterious like that π
β¨
πΈ NAME πΈ
selinux_netlbl_sctp_sk_clone β copy state to the newly created sock π«Ά
β¨ SYNOPSIS β¨
void selinux_netlbl_sctp_sk_clone (struct sock *sk , struct sock *newsk
);
π«Ά ARGUMENTS π«Ά
skβ the current sock, aka the one you already have πnewskβ the new sock, aka the fresh new baby π
π DESCRIPTION π
Real talk: this gets called whenever a brand-new socket is created by accept(2) or sctp_peeloff(3). Thatβs the whole vibe β copy state to the newly created sock. No cap. π¦
π₯ SEE ALSO π₯
Kernel file: ./security/selinux/netlabel.c β go peek, bestie π
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_sctp_assoc_request(9)selinux_netlbl_inet_conn_request(9)selinux_netlbl_inet_csk_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)
mwah π β with love from ./security/selinux, October 2026. 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