summaryrefslogtreecommitdiff
path: root/security/apparmor/af_unix.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2025-02-16 03:40:52 -0800
committerJohn Johansen <john.johansen@canonical.com>2025-05-25 20:15:01 -0700
commitb1f87be7280ff48794f0fe55c9ca6df9d87d62c5 (patch)
treeb04fe5642eb17b1cc519a90c4c96cbc6e0d57718 /security/apparmor/af_unix.c
parent4c0dc425fd613c5de0ca445f29d63150b52efc35 (diff)
apparmor: Document that label must be last member in struct aa_profile
The label struct is variable length. While its use in struct aa_profile is fixed length at 2 entries the variable length member needs to be the last member in the structure. The code already does this but the comment has it in the wrong location. Also add a comment to ensure it stays at the end of the structure. While we are at it, update the documentation for other profile members as well. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/af_unix.c')
0 files changed, 0 insertions, 0 deletions