s390/kaslr: randomize module base load address
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 31 Mar 2023 13:03:23 +0000 (15:03 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 13 Apr 2023 15:36:26 +0000 (17:36 +0200)
commit34644cc2e15a7a91ec36b496e218694d17371589
tree462ff34d8a9610c6ea286ece35ed324bad27207a
parentbb87190c9d46c4285696e071d5972a534bb107cc
s390/kaslr: randomize module base load address

Randomize the load address of modules in the kernel to make KASLR effective
for modules.
This is the s390 variant of commit e2b32e678513 ("x86, kaslr: randomize
module base load address").

Reviewed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/module.c