__aa_findn_ns(9)
β¨ __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 ofnameπ
π 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 β
- Kernel file
./security/apparmor/include/policy_ns.h aa_get_ns(9)aa_put_ns(9)
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
- 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