summaryrefslogtreecommitdiff
path: root/net/rds/tcp_stats.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2023-09-27 10:22:14 +0300
committerMimi Zohar <zohar@linux.ibm.com>2023-09-27 18:52:12 +0300
commit91e326563ee34509c35267808a4b1b3ea3db62a8 (patch)
tree27df838034c7198abea6c66e7f45381c408b2ab1 /net/rds/tcp_stats.c
parentbe210c6d3597faf330cb9af33b9f1591d7b2a983 (diff)
downloadlinux-91e326563ee34509c35267808a4b1b3ea3db62a8.tar.xz
ima: rework CONFIG_IMA dependency block
Changing the direct dependencies of IMA_BLACKLIST_KEYRING and IMA_LOAD_X509 caused them to no longer depend on IMA, but a a configuration without IMA results in link failures: arm-linux-gnueabi-ld: security/integrity/iint.o: in function `integrity_load_keys': iint.c:(.init.text+0xd8): undefined reference to `ima_load_x509' aarch64-linux-ld: security/integrity/digsig_asymmetric.o: in function `asymmetric_verify': digsig_asymmetric.c:(.text+0x104): undefined reference to `ima_blacklist_keyring' Adding explicit dependencies on IMA would fix this, but a more reliable way to do this is to enclose the entire Kconfig file in an 'if IMA' block. This also allows removing the existing direct dependencies. Fixes: be210c6d3597f ("ima: Finish deprecation of IMA_TRUSTED_KEYRING Kconfig") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'net/rds/tcp_stats.c')
0 files changed, 0 insertions, 0 deletions