make sysctl/kernel/core_pattern and fs/exec.c agree on maximum core filename size
[sfrench/cifs-2.6.git] / include / linux / binfmts.h
index c1e82c51444320f0970162fa76b2065ab3727bf7..e1a708337be3538300169da7682b2a51d14a0a3e 100644 (file)
@@ -17,6 +17,8 @@ struct pt_regs;
 
 #ifdef __KERNEL__
 
+#define CORENAME_MAX_SIZE 128
+
 /*
  * This structure is used to hold the arguments that are used when loading binaries.
  */
@@ -59,6 +61,7 @@ struct linux_binfmt {
        int (*load_shlib)(struct file *);
        int (*core_dump)(long signr, struct pt_regs * regs, struct file * file);
        unsigned long min_coredump;     /* minimal dump size */
+       int hasvdso;
 };
 
 extern int register_binfmt(struct linux_binfmt *);