Commit 8c40f430 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

prctl: Add new interface constants

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a9c72414
#ifndef __CR_PRCTL_H__
#define __CR_PRCTL_H__
#include "asm/int.h"
#ifndef PR_SET_NAME
# define PR_SET_NAME 15
#endif
......@@ -43,6 +45,28 @@
# define PR_SET_MM_EXE_FILE 13
#endif
#ifndef PR_SET_MM_MAP
# define PR_SET_MM_MAP 14
# define PR_SET_MM_MAP_SIZE 15
#endif
struct prctl_mm_map {
u64 start_code;
u64 end_code;
u64 start_data;
u64 end_data;
u64 start_brk;
u64 brk;
u64 start_stack;
u64 arg_start;
u64 arg_end;
u64 env_start;
u64 env_end;
u64 *auxv;
u32 auxv_size;
u32 exe_fd;
};
#ifndef PR_GET_TID_ADDRESS
# define PR_GET_TID_ADDRESS 40
#endif
......
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