Commit b38205f5 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

Update PR_ opcodes

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
parent b06349fc
......@@ -46,10 +46,10 @@
#define PTRACE_O_TRACEEXIT 0x00000040
/* prctl.h */
#define PR_SET_NAME 15
#define PR_GET_NAME 16
#define PR_SET_NAME 15
#define PR_GET_NAME 16
#define PR_SET_MM 35
#define PR_SET_MM 35
# define PR_SET_MM_START_CODE 1
# define PR_SET_MM_END_CODE 2
# define PR_SET_MM_START_DATA 3
......@@ -58,7 +58,7 @@
# define PR_SET_MM_START_BRK 6
# define PR_SET_MM_BRK 7
#define SETUP_VDSO_AT 36
#define PR_SETUP_VDSO_AT 36
/* fcntl */
#ifndef F_LINUX_SPECIFIC_BASE
......
......@@ -221,7 +221,7 @@ self_len_end:
break;
if (vma_entry_is(vma_entry, VMA_AREA_VDSO)) {
ret = sys_prctl(SETUP_VDSO_AT, vma_entry->start,
ret = sys_prctl(PR_SETUP_VDSO_AT, vma_entry->start,
0, 0, 0);
if (ret) {
write_hex_n(__LINE__);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment