]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/binfmts.h
exec: make argv/envp memory visible to oom-killer
[linux-beck.git] / include / linux / binfmts.h
index a065612fc928768268cf0352c91c34dc3f7c448a..7c87796d20daebf70c35f11e24810afe16f198f3 100644 (file)
@@ -29,6 +29,7 @@ struct linux_binprm{
        char buf[BINPRM_BUF_SIZE];
 #ifdef CONFIG_MMU
        struct vm_area_struct *vma;
+       unsigned long vma_pages;
 #else
 # define MAX_ARG_PAGES 32
        struct page *page[MAX_ARG_PAGES];