lsm: Move security_netlink_send to under CONFIG_SECURITY_NETWORK
authorSong Liu <song@kernel.org>
Mon, 21 Apr 2025 22:52:50 +0000 (15:52 -0700)
committerPaul Moore <paul@paul-moore.com>
Tue, 22 Apr 2025 19:34:58 +0000 (15:34 -0400)
commit74e5b13a1b0f10c5a5c6168f6915620a1d369fae
treeba16f2574daa9352566574b979c4471fa2e601ba
parent0af2f6be1b4281385b618cb86ad946eded089ac8
lsm: Move security_netlink_send to under CONFIG_SECURITY_NETWORK

security_netlink_send() is a networking hook, so it fits better under
CONFIG_SECURITY_NETWORK.

Signed-off-by: Song Liu <song@kernel.org>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/security.h
security/security.c