apparmor: refactor network socket mediation to support compatibility

Make it easier for distros to support the network backwards compat
patch by refactoring the code to minimize the changes needed.

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2026-06-29 16:58:57 -07:00
commit 1af45bf33b