[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAKOmCvreB9YbziX8HHx_4K27CO2=9v=eWcNV68Qk-A1HQ+TQOg@mail.gmail.com>
Date: Tue, 9 Nov 2021 14:24:45 +0800
From: Joey Jiao <joey.jiaojg@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Subject: How to load kernel modules into fixed addresses?
Hi,
The userspace uses modprobe to load multiple kernel modules in the way like
```
for i in $(cat module.list); do
modprobe $i &
done
```
And everytime, I reboot the device (verified on arm64 devices), `cat
/proc/modules` shows different loading addresses even if kaslr
disabled. Also tried to remove the & from the modprobe command.
So the question is for testing purposes, any steps to follow to make
sure each module.ko is loaded into a fixed address (especially any
kernel space code or config change)?
Thanks
--
-Joey Jiao
Powered by blists - more mailing lists