On 2023/11/22 15:41, Matt Suiche wrote:
Good point, enough the –kaslr=auto option worked well. Same when I
passed --kaslr=0x8000000
Good news.
apparently module_load_offset symbol is needed in /proc/kallsyms to
enable the KASLR detection. I see it in the vmlinux.
$ nm vmlinux-cos-5.15.133+ | grep module_load_offset
ffffffff82d83350 b module_load_offset
Is it (and _stext) found in /proc/kallsyms? like
# grep -e _stext -e module_load_offset /proc/kallsyms
ffffffffa0e00000 T _stext
ffffffffa3aafab8 b module_load_offset
PS. I will be out for the rest of this week, back next week.
Thanks,
Kazu