Skip to content
Commit 11c236b8 authored by John Johansen's avatar John Johansen
Browse files

apparmor: add a default null dfa



Instead of testing whether a given dfa exists in every code path, have
a default null dfa that is used when loaded policy doesn't provide a
dfa.

This will let us get rid of special casing and avoid dereference bugs
when special casing is missed.

Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 6604d4c1
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