diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-09-19 05:41:30 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-09-19 05:41:30 +0000 |
commit | 799525cc146c8f9afe081cbbee2e46801d247119 (patch) | |
tree | 388be59cd1473195b0fbcc2551f98e2e613faca7 /sys/kern | |
parent | e2bd4f3b1f7de4f3b46a619b3fd532290ae6eba1 (diff) |
increase MAXINTERP from 64 to 128 and allow a little extra room on top
of that for shell scripts to cover the #!, an optional space following
it and a newline at the end. feedback and ok miod@
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/exec_conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_conf.c b/sys/kern/exec_conf.c index 0fdb744101d..8c86a3303a3 100644 --- a/sys/kern/exec_conf.c +++ b/sys/kern/exec_conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_conf.c,v 1.18 2007/05/28 23:10:10 beck Exp $ */ +/* $OpenBSD: exec_conf.c,v 1.19 2008/09/19 05:41:29 djm Exp $ */ /* $NetBSD: exec_conf.c,v 1.16 1995/12/09 05:34:47 cgd Exp $ */ /* @@ -81,7 +81,7 @@ extern struct emul emul_native, emul_elf32, emul_elf64, emul_aout, emul_osf1, emul_sunos, emul_svr4, emul_ultrix; struct execsw execsw[] = { - { MAXINTERP, exec_script_makecmds, &emul_native, }, /* shell scripts */ + { EXEC_SCRIPT_HDRSZ, exec_script_makecmds, &emul_native, }, /* shell scripts */ #ifdef _KERN_DO_AOUT #ifdef COMPAT_AOUT { sizeof(struct exec), exec_aout_makecmds, &emul_aout }, |