]> git.ipfire.org Git - thirdparty/linux.git/commit
apparmor: make str table more generic and be able to have multiple entries
authorJohn Johansen <john.johansen@canonical.com>
Fri, 1 Aug 2025 09:21:44 +0000 (02:21 -0700)
committerJohn Johansen <john.johansen@canonical.com>
Thu, 22 Jan 2026 12:56:39 +0000 (04:56 -0800)
commitc140dcd1246bfe705921ca881bbb247ff1ba2bca
treec426b1ae116cfe5a55e404ad6f0dfc74e8df7cb2
parent6fc367bfd4c8886e6b1742aabbd1c0bdc310db3a
apparmor: make str table more generic and be able to have multiple entries

The strtable is currently limited to a single entry string on unpack
even though domain has the concept of multiple entries within it. Make
this a reality as it will be used for tags and more advanced domain
transitions.

Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/domain.c
security/apparmor/include/lib.h
security/apparmor/lib.c
security/apparmor/policy.c
security/apparmor/policy_unpack.c