Go to the documentation of this file. 1 #ifndef _LINUX_BINFMTS_H
2 #define _LINUX_BINFMTS_H
4 #include <linux/sched.h>
9 #define CORENAME_MAX_SIZE 128
18 unsigned long vma_pages;
20 # define MAX_ARG_PAGES 32
50 #define BINPRM_FLAGS_ENFORCE_NONDUMP_BIT 0
51 #define BINPRM_FLAGS_ENFORCE_NONDUMP (1 << BINPRM_FLAGS_ENFORCE_NONDUMP_BIT)
54 #define BINPRM_FLAGS_EXECFD_BIT 1
55 #define BINPRM_FLAGS_EXECFD (1 << BINPRM_FLAGS_EXECFD_BIT)
57 #define BINPRM_MAX_RECURSION 4
104 #define SUID_DUMP_DISABLE 0
105 #define SUID_DUMP_USER 1
106 #define SUID_DUMP_ROOT 2
109 #define EXSTACK_DEFAULT 0
110 #define EXSTACK_DISABLE_X 1
111 #define EXSTACK_ENABLE_X 2
115 int executable_stack);
124 #ifdef __ARCH_WANT_KERNEL_EXECVE