Commit b1f87be7 authored by John Johansen's avatar John Johansen
Browse files

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: default avatarJohn Johansen <john.johansen@canonical.com>
parent 4c0dc425
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment