|
@@ -60,7 +60,7 @@
|
|
#endif
|
|
#endif
|
|
|
|
|
|
int core_uses_pid;
|
|
int core_uses_pid;
|
|
-char core_pattern[128] = "core";
|
|
|
|
|
|
+char core_pattern[CORENAME_MAX_SIZE] = "core";
|
|
int suid_dumpable = 0;
|
|
int suid_dumpable = 0;
|
|
|
|
|
|
EXPORT_SYMBOL(suid_dumpable);
|
|
EXPORT_SYMBOL(suid_dumpable);
|
|
@@ -1264,8 +1264,6 @@ int set_binfmt(struct linux_binfmt *new)
|
|
|
|
|
|
EXPORT_SYMBOL(set_binfmt);
|
|
EXPORT_SYMBOL(set_binfmt);
|
|
|
|
|
|
-#define CORENAME_MAX_SIZE 64
|
|
|
|
-
|
|
|
|
/* format_corename will inspect the pattern parameter, and output a
|
|
/* format_corename will inspect the pattern parameter, and output a
|
|
* name into corename, which must have space for at least
|
|
* name into corename, which must have space for at least
|
|
* CORENAME_MAX_SIZE bytes plus one byte for the zero terminator.
|
|
* CORENAME_MAX_SIZE bytes plus one byte for the zero terminator.
|