lkml.org 
[lkml]   [2021]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectHow 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

\
 
 \ /
  Last update: 2021-11-09 07:25    [W:0.183 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site