diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-28 08:55:46 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-28 08:55:46 -0700 |
| commit | 83ca4c7e89ffc8fb30dd05754895dc381e0afbc6 (patch) | |
| tree | 8267d87a8560021f47875b3b6fc1ae89fe2463c6 /include/linux | |
| parent | bbe302ee05888f0201ebc0cdd4a90e7ef081833f (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.h | 1 |
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; |
