projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0897fcb
)
apparmor: remove unused macro
author
GONG, Ruiqi
<gongruiqi@huaweicloud.com>
Wed, 31 May 2023 11:18:33 +0000
(19:18 +0800)
committer
John Johansen
<john.johansen@canonical.com>
Mon, 10 Jul 2023 00:31:11 +0000
(17:31 -0700)
SOCK_ctx() doesn't seem to be used anywhere in the code, so remove it.
Signed-off-by: GONG, Ruiqi <gongruiqi@huaweicloud.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/include/net.h
patch
|
blob
|
history
diff --git
a/security/apparmor/include/net.h
b/security/apparmor/include/net.h
index
6fa440b
..
64a0112
100644
(file)
--- a/
security/apparmor/include/net.h
+++ b/
security/apparmor/include/net.h
@@
-52,7
+52,6
@@
struct aa_sk_ctx {
};
#define SK_CTX(X) ((X)->sk_security)
-#define SOCK_ctx(X) SOCK_INODE(X)->i_security
#define DEFINE_AUDIT_NET(NAME, OP, SK, F, T, P) \
struct lsm_network_audit NAME ## _net = { .sk = (SK), \
.family = (F)}; \