mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
ca2c92792d
PaX implements valid_mmap_phys_addr_range in the kernel, and the (return 1) hack in chipsec_km.c has a name collision with it. Add another conditional for exposing the definition predicated on whether __HAVE_ARCH_PAX_OPEN_USERLAND is defined in the kernel headers. If it is, dont redefine the original function.