1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

PR_SET_MM (previous commit had typo) is from 7 years ago: 2012

modified:   stub/src/include/linux.h
This commit is contained in:
John Reiser 2019-03-03 14:26:20 -08:00
parent 16bfa7b846
commit 517bc9db0b

View File

@ -142,6 +142,9 @@ struct timespec {
#define MAP_DENYWRITE 0x0800 /* ETXTBSY */
// <linux/prctl.h>
// These should enable removal of PT_LOAD[1] for setting brk(0).
// "git blame linux/kernel/sys.c" says:
// 028ee4be34a09 (Cyrill Gorcunov 2012-01-12 17:20:55 -0800 2157) case PR_SET_MM_START_BRK:
#define PR_SET_MM 35
# define PR_SET_MM_START_BRK 6
# define PR_SET_MM_BRK 7