libMicro icon indicating copy to clipboard operation
libMicro copied to clipboard

Round up mapping length in mprotect

Open jirvoz opened this issue 5 years ago • 0 comments

In mprotect benchmark added rounding of mapping-length parameter to nearest bigger multiple of pagesize to prevent improper call of mprotect and possible crash. This issue lead to segfault of benchmark on ppc64le architecture with cpu-partitioning tuned profile.

jirvoz avatar Jun 10 '20 00:06 jirvoz