Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern adjust for new check_exec signature.



details:   https://anonhg.NetBSD.org/src/rev/59d47fafc891
branches:  trunk
changeset: 454390:59d47fafc891
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Sep 15 20:21:12 2019 +0000

description:
adjust for new check_exec signature.

diffstat:

 sys/kern/exec_script.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1277787d94e4 -r 59d47fafc891 sys/kern/exec_script.c
--- a/sys/kern/exec_script.c    Sun Sep 15 20:20:26 2019 +0000
+++ b/sys/kern/exec_script.c    Sun Sep 15 20:21:12 2019 +0000
@@ -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 @@
        /* 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);
        }
 



Home | Main Index | Thread Index | Old Index