Module Name: src Committed By: christos Date: Sun Sep 15 20:21:12 UTC 2019
Modified Files: src/sys/kern: exec_script.c Log Message: adjust for new check_exec signature. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sys/kern/exec_script.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/exec_script.c diff -u src/sys/kern/exec_script.c:1.79 src/sys/kern/exec_script.c:1.80 --- src/sys/kern/exec_script.c:1.79 Sat Jan 26 21:08:43 2019 +++ src/sys/kern/exec_script.c Sun Sep 15 16:21:12 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: exec_script.c,v 1.79 2019/01/27 02:08:43 pgoyette Exp $ */ +/* $NetBSD: exec_script.c,v 1.80 2019/09/15 20:21:12 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.79 2019/01/27 02:08:43 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: exec_script.c,v 1.80 2019/09/15 20:21:12 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_script.h" @@ -290,7 +290,7 @@ check_shell: /* try loading the interpreter */ if ((error = exec_makepathbuf(l, shellname, UIO_SYSSPACE, &shell_pathbuf, NULL)) == 0) { - error = check_exec(l, epp, shell_pathbuf); + error = check_exec(l, epp, shell_pathbuf, NULL); pathbuf_destroy(shell_pathbuf); }