summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2002-05-28 08:55:46 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-28 08:55:46 -0700
commit83ca4c7e89ffc8fb30dd05754895dc381e0afbc6 (patch)
tree8267d87a8560021f47875b3b6fc1ae89fe2463c6 /include/linux
parentbbe302ee05888f0201ebc0cdd4a90e7ef081833f (diff)
Allocate new mm_struct for execve() early, so that we have
access to it by the time we start copying arguments. We don't actually use it at this point yet.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/binfmts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/binfmts.h b/include/linux/binfmts.h
index 062e310ee872..fe17499f6144 100644
--- a/include/linux/binfmts.h
+++ b/include/linux/binfmts.h
@@ -22,6 +22,7 @@
struct linux_binprm{
char buf[BINPRM_BUF_SIZE];
struct page *page[MAX_ARG_PAGES];
+ struct mm_struct *mm;
unsigned long p; /* current top of mem */
int sh_bang;
struct file * file;