apparmor_sk_clone_security(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« apparmor_sk_clone_security(9) β€” like, the Kernel API Manual page, bestie

okay so picture this: you're deep in the kernel, section 9 of the manual, and there's this lil function called apparmor_sk_clone_security and it's literally just here to clone the sk_security field. that's it. that's the whole vibe. short king energy πŸ‘‘βœ¨


🌸 NAME 🌸

apparmor_sk_clone_security β€” clone the sk_security field. no cap, that's the entire job description πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void apparmor_sk_clone_security (const struct sock *sk , struct sock
*newsk );

it's giving void, it's giving two struct sock pointers, it's giving absolutely nothing back because this function returns nothing 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sk β€” the sock that's having its security cloned. like, the original. the blueprint. the source material πŸ’–
  • newsk β€” the sock getting the clone. the lucky lil copycat 🐱✨

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./security/apparmor/lsm.c β€” and honestly the whole friend group shows up here, so say hi to:


ngl bestie, this one's a short read β€” two args, one clone, zero drama. sometimes iconic is just doing your one job 🌈⭐

mwah πŸ’‹ this page lives in the ./security/apparmor corner of the source tree, and it's stamped October 2026 β€” so mark your calendars, screenshot it, send it to the group chat, and slay πŸŽ€πŸ’œ

πŸ“¦ where this page comes from