patch-2.4.0-test6 linux/include/linux/binfmts.h
Next file: linux/include/linux/blk.h
Previous file: linux/include/linux/arcdevice.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 9 18:57:55 2000
- Orig file:
v2.4.0-test5/linux/include/linux/binfmts.h
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test5/linux/include/linux/binfmts.h linux/include/linux/binfmts.h
@@ -11,13 +11,16 @@
*/
#define MAX_ARG_PAGES 32
+/* sizeof(linux_binprm->buf) */
+#define BINPRM_BUF_SIZE 128
+
#ifdef __KERNEL__
/*
* This structure is used to hold the arguments that are used when loading binaries.
*/
struct linux_binprm{
- char buf[128];
+ char buf[BINPRM_BUF_SIZE];
struct page *page[MAX_ARG_PAGES];
unsigned long p; /* current top of mem */
int sh_bang;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)