[apparmor] warning: ‘apparmor_ipv6_postroute’ defined but not used
Jordan Glover
Golden_Miller83 at protonmail.ch
Sat Nov 10 15:14:17 UTC 2018
Hello,
During compilation Linux 4.20-rc1 with GCC 8.2.1 and below compat patches added:
apparmor: userspace queries
[PATCH 1/3] apparmor: patch to provide compatibility with v2.x net rules
[PATCH 2/3] apparmor: af_unix mediation
[PATCH 3/3] apparmor: fix use after free in sk_peer_label
there is following warning:
security/apparmor/lsm.c:1717:21: warning: ‘apparmor_ipv6_postroute’ defined but not used [-Wunused-function]
static unsigned int apparmor_ipv6_postroute(void *priv,
^~~~~~~~~~~~~~~~~~~~~~~
Jordan
More information about the AppArmor
mailing list