While most of the settings set through prctl(PR_SET_MM, ...) have mainly informative value, PR_SET_MM_BRK affects return value of brk syscall. Some applications might behave incorrectly or crash when the syscall returns unexpected value and does not allocate any memory, therefore it is not safe to ignore the error.
While most of the settings set through prctl(PR_SET_MM, ...) have mainly informative value, PR_SET_MM_BRK affects return value of brk syscall. Some applications might behave incorrectly or crash when the syscall returns unexpected value and does not allocate any memory, therefore it is not safe to ignore the error.