unpack_strs_table(9)
π unpack_strs_table(9) β from the Kernel API Manual, bestie
okay so picture this: it's a unpack_strs_table(9) moment. this little icon is literally out here unpacking a profile transition table and honestly? it's giving main character energy in ./security/apparmor/policy_unpack.c. π
β¨ NAME β¨
unpack_strs_table β unpack a profile transition table π¦
πΈ SYNOPSIS πΈ
int unpack_strs_table (struct aa_ext *e , const char *name , bool multi
, struct aa_str_table *strs );
like, that's the whole vibe. four args, one int coming back at you. no cap. β¨
π ARGUMENTS π
eβ the serialized data extent information. this one isNOT NULL, so do not even think about passing a null bestie, i'm serious πnameβ the name of the table. and guess what, this one MAY BE NULL, so it's the chill one of the group πmultiβ allow multiple strings on a single entry. yes queen, let them stack π₯strsβ the str table to unpack to. alsoNOT NULL! same rules, no nulls, we don't do that here π
β RETURN β
0 if the table successfully unpacked or wasn't present at all (we love a low-stakes absence π). otherwise you get an error. periodt.
ngl, "not present" counting as a success is such a mood β no table, no problem, still 0. π§
π SEE ALSO π
okay so here's the whole friend group, all of them from the kernel file ./security/apparmor/policy_unpack.c:
audit_iface(9)aa_unpack_u16_chunk(9)aa_unpack_nameX(9)unpack_dfa(9)unpack_profile(9)verify_header(9)verify_dfa_accept_index(9)verify_profile(9)aa_unpack(9)
go read them, iykyk π«Ά
and that's the page!! brought to you by ./security/apparmor, dated October 2026 β mwah, slay, see you in the next manpage π
β¨
π¦ 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