Skip to content
Commit 47f6e5cc authored by John Johansen's avatar John Johansen
Browse files

apparmor: change op from int to const char *



Having ops be an integer that is an index into an op name table is
awkward and brittle. Every op change requires an edit for both the
op constant and a string in the table. Instead switch to using const
strings directly, eliminating the need for the table that needs to
be kept in sync.

Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 55a26ebf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment