Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require CAP_SYS_RESOURCE for restore (#16)
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.
- Loading branch information