]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/binfmts.h
fb: convert lock/unlock_kernel() into local fb mutex
[linux-2.6-omap-h63xx.git] / include / linux / binfmts.h
index 826f62350805ed782976008db013203061306744..7394b5b349ffc82c2ea42e51188dc3839229fed1 100644 (file)
@@ -36,6 +36,10 @@ 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_post_exec_permitted;
@@ -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