]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/binfmts.h
byteorder: provide swabb.h generically in asm/byteorder.h
[linux-2.6-omap-h63xx.git] / include / linux / binfmts.h
index ee0ed48e834809778a946343d6840e446eb9f2b7..7394b5b349ffc82c2ea42e51188dc3839229fed1 100644 (file)
@@ -36,9 +36,13 @@ struct linux_binprm{
        unsigned long p; /* current top of mem */
        unsigned int sh_bang:1,
                     misc_bang:1;
+#ifdef __alpha__
+       unsigned int taso:1;
+#endif
+       unsigned int recursion_depth;
        struct file * file;
        int e_uid, e_gid;
-       kernel_cap_t cap_inheritable, cap_permitted;
+       kernel_cap_t cap_post_exec_permitted;
        bool cap_effective;
        void *security;
        int argc, envc;
@@ -58,6 +62,7 @@ struct linux_binprm{
 #define BINPRM_FLAGS_EXECFD_BIT 1
 #define BINPRM_FLAGS_EXECFD (1 << BINPRM_FLAGS_EXECFD_BIT)
 
+#define BINPRM_MAX_RECURSION 4
 
 /*
  * This structure defines the functions that are used to load the binary formats that