summaryrefslogtreecommitdiff
path: root/sys/kern/exec_script.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2005-07-17 05:22:34 +0000
committerchristos <christos@NetBSD.org>2005-07-17 05:22:34 +0000
commit9213de18699fca4d181b5402235eb481c0f19a51 (patch)
tree926594999a8058aacb40bc9add249e74c5a1480d /sys/kern/exec_script.c
parente70e55fa02f59580f715a279fbfe4407fab3c74c (diff)
catch up with verified exec defopt changes.
Diffstat (limited to 'sys/kern/exec_script.c')
-rw-r--r--sys/kern/exec_script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_script.c b/sys/kern/exec_script.c
index 2d702e39a28..568e73e913a 100644
--- a/sys/kern/exec_script.c
+++ b/sys/kern/exec_script.c
@@ -1,4 +1,4 @@
-/* $NetBSD: exec_script.c,v 1.42 2005/07/16 22:47:18 christos Exp $ */
+/* $NetBSD: exec_script.c,v 1.43 2005/07/17 05:22:34 christos Exp $ */
/*
* Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.42 2005/07/16 22:47:18 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.43 2005/07/17 05:22:34 christos Exp $");
#if defined(SETUIDSCRIPTS) && !defined(FDSCRIPTS)
#define FDSCRIPTS /* Need this for safe set-id scripts. */
@@ -277,7 +277,7 @@ check_shell:
#ifdef VERIFIED_EXEC
if ((error = check_exec(p, epp, VERIEXEC_INDIRECT)) == 0) {
#else
- if ((error = check_exec(p, epp)) == 0) {
+ if ((error = check_exec(p, epp, 0)) == 0) {
#endif
/* note that we've clobbered the header */
epp->ep_flags |= EXEC_DESTR|EXEC_HASES;