__aa_findn_ns(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ __aa_findn_ns(9) ✨

okay so bestie, welcome to the Kernel API Manual entry for __aa_findn_ns β€” the little helper that goes digging through a list to find a namespace by name πŸ’… it lives over in the kernel, and it's giving very specific job, very specific rules πŸ¦‹


🌸 NAME 🌸

__aa_findn_ns β€” find a namespace on a list by @name πŸ”


πŸŽ€ SYNOPSIS πŸŽ€

struct aa_ns * __aa_findn_ns (struct list_head *head , const char *name
, size_t n );

πŸ’– ARGUMENTS πŸ’–

  • head β€” the list you're searching for the namespace on. NOT NULL, okay? like, do not pass NULL, we're not doing that today πŸ™ˆ
  • name β€” the name of the namespace you're looking for. also NOT NULL πŸ‘‘
  • n β€” the length of name πŸ“

🌈 RETURN 🌈

an unrefcounted namespace β€” yes that's the actual vibe, that's what you get back πŸ’œ


πŸ¦‹ DESCRIPTION πŸ¦‹

Requires: rcu_read_lock be held πŸ”’

like fr fr, hold the lock before you call this, that's the whole requirement, no cap 😭

⭐ SEE ALSO ⭐


and that's the whole page, bestie 🫢 slay β€” this one's from ./security/apparmor/include, dated October 2026, part of the Kernel API Manual, filed under __aa_findn_ns(9). go forth and find those namespaces πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from