aboutsummaryrefslogtreecommitdiffstats
path: root/security/apparmor/af_unix.c
diff options
context:
space:
mode:
authorJohn Johansen <[email protected]>2025-02-16 11:40:52 +0000
committerJohn Johansen <[email protected]>2025-05-26 03:15:01 +0000
commitb1f87be7280ff48794f0fe55c9ca6df9d87d62c5 (patch)
treeb04fe5642eb17b1cc519a90c4c96cbc6e0d57718 /security/apparmor/af_unix.c
parentapparmor: make debug_values_table static (diff)
downloadkernel-b1f87be7280ff48794f0fe55c9ca6df9d87d62c5.tar.gz
kernel-b1f87be7280ff48794f0fe55c9ca6df9d87d62c5.zip
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 <[email protected]>
Diffstat (limited to 'security/apparmor/af_unix.c')
0 files changed, 0 insertions, 0 deletions