CRaC / criu

Other
28 stars 10 forks source link

Require CAP_SYS_RESOURCE for restore #16

Closed rvansa closed 5 months ago

rvansa commented 8 months ago

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.