PR_SET_MM(2const) PR_SET_MM(2const) PR_SET_MM - modify kernel memory map descriptor fields C (libc, -lc) #include /* PR_* */ #include int prctl(PR_SET_MM, long op, ...); . , ( ld.so(8)), . , ( ), . The calling process must have the CAP_SYS_RESOURCE capability. The value in op is one of the options below. PR_SET_MM_START_CODE PR_SET_MM_END_CODE PR_SET_MM_START_DATA PR_SET_MM_END_DATA PR_SET_MM_START_STACK PR_SET_MM_START_BRK PR_SET_MM_BRK PR_SET_MM_ARG_START PR_SET_MM_ARG_END PR_SET_MM_ENV_START PR_SET_MM_ENV_END PR_SET_MM_AUXV PR_SET_MM_EXE_FILE PR_SET_MM_MAP PR_SET_MM_MAP_SIZE 0. -1, errno . EINVAL op is not a valid value. EPERM The caller does not have the CAP_SYS_RESOURCE capability. Linux. Linux 3.3. Linux 3.10 , CONFIG_CHECKPOINT_RESTORE. prctl(2), PR_SET_MM_START_CODE(2const), PR_SET_MM_END_CODE(2const), PR_SET_MM_START_DATA(2const), PR_SET_MM_END_DATA(2const), PR_SET_MM_START_STACK(2const), PR_SET_MM_START_BRK(2const), PR_SET_MM_BRK(2const), PR_SET_MM_ARG_START(2const), PR_SET_MM_ARG_END(2const), PR_SET_MM_ENV_START(2const), PR_SET_MM_ENV_END(2const), PR_SET_MM_EXE_FILE(2const), PR_SET_MM_MAP(2const), PR_SET_MM_MAP_SIZE(2const) () ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 17 2025 . PR_SET_MM(2const)