[PATCH] eal/linux: enhance ASLR verification
Stephen Hemminger
stephen at networkplumber.org
Mon Mar 10 22:43:10 CET 2025
On Fri, 28 Feb 2025 17:44:04 +0800
Yang Ming <ming.1.yang at nokia-sbell.com> wrote:
> This change ensures that the current process is checked for
> being run with 'setarch' before verifying the value of
> '/proc/sys/kernel/randomize_va_space'. The '-R' or
> '--addr-no-randomize' parameter of the 'setarch' command is used
> to disable the randomization of the virtual address space.
>
> Fixes: af75078fece3 ("first public release")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yang Ming <ming.1.yang at nokia-sbell.com>
Looks good, I wonder if the personality() check can supersede the need
to reference sysfs here?
More information about the dev
mailing list