Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/sunos32 pass new missing fd argument to execve1().



details:   https://anonhg.NetBSD.org/src/rev/2187bd7e9439
branches:  trunk
changeset: 454438:2187bd7e9439
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Sep 17 07:58:54 2019 +0000

description:
pass new missing fd argument to execve1().

fixes sparc64 build.

diffstat:

 sys/compat/sunos32/sunos32_misc.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 996f2408a545 -r 2187bd7e9439 sys/compat/sunos32/sunos32_misc.c
--- a/sys/compat/sunos32/sunos32_misc.c Tue Sep 17 07:36:51 2019 +0000
+++ b/sys/compat/sunos32/sunos32_misc.c Tue Sep 17 07:58:54 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sunos32_misc.c,v 1.79 2018/09/03 16:29:30 riastradh Exp $      */
+/*     $NetBSD: sunos32_misc.c,v 1.80 2019/09/17 07:58:54 mrg Exp $    */
 /* from :NetBSD: sunos_misc.c,v 1.107 2000/12/01 19:25:10 jdolecek Exp */
 
 /*
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.79 2018/09/03 16:29:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunos32_misc.c,v 1.80 2019/09/17 07:58:54 mrg Exp $");
 
 #define COMPAT_SUNOS 1
 
@@ -388,7 +388,7 @@
        } */
        const char *path = SCARG_P32(uap, path);
 
-       return execve1(l, path, SCARG_P32(uap, argp), NULL,
+       return execve1(l, path, -1, SCARG_P32(uap, argp), NULL,
            sunos32_execve_fetch_element);
 }
 
@@ -402,7 +402,7 @@
        } */
        const char *path = SCARG_P32(uap, path);
 
-       return execve1(l, path, SCARG_P32(uap, argp),
+       return execve1(l, path, -1, SCARG_P32(uap, argp),
            SCARG_P32(uap, envp),
            sunos32_execve_fetch_element);
 }



Home | Main Index | Thread Index | Old Index