Quantcast
Channel: Active questions tagged kernel - Stack Overflow
Viewing all articles
Browse latest Browse all 6334

Android: Is there a way to validate KASLR at runtime

$
0
0

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.


Viewing all articles
Browse latest Browse all 6334

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>