I would like to know if there is a way to check if KASLR is enabled at run time in android target.
I know that ASLR can be validated by checking /proc/sys/kernel/randomize_va_space against value 2(complete randomization for user space apps).
I have configured
CONFIG_RANDOMIZE_BASE=y
in the board defconfig file.
Now I want to validate it at run time.
We are using kernel version 4.14 in Android P.
I have seen this where it checks the same in ubuntu, with respect to kernel command line args.
I don't see this option in the command line args for android in BoardConfig.mk.