summaryrefslogtreecommitdiff
path: root/security/apparmor/include
diff options
context:
space:
mode:
authorRyan Lee <ryan.lee@canonical.com>2026-02-12 13:16:03 -0800
committerJohn Johansen <john.johansen@canonical.com>2026-06-29 10:26:21 -0700
commit622ec01756ee9d483662655ff7315cb0e23afd46 (patch)
treec926b5662ee5f3a05fc3962e2540b7d2fd544aae /security/apparmor/include
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff)
downloadlinux-next-622ec01756ee9d483662655ff7315cb0e23afd46.tar.gz
linux-next-622ec01756ee9d483662655ff7315cb0e23afd46.zip
apparmor: fix net.h and policy.h circular include pattern
While the #ifdef guards prevent the circular include from blowing up, policy.h does not actually need anything from net.h. Remove, that include and instead include net.h in the other files that need it. Signed-off-by: Ryan Lee <ryan.lee@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include')
-rw-r--r--security/apparmor/include/policy.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h
index 3895f8774a3f..169349beda34 100644
--- a/security/apparmor/include/policy.h
+++ b/security/apparmor/include/policy.h
@@ -26,7 +26,6 @@
#include "file.h"
#include "lib.h"
#include "label.h"
-#include "net.h"
#include "perms.h"
#include "resource.h"