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/76bc5ee6138c
branches: trunk
changeset: 965459:76bc5ee6138c
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 6e706451a7b0 -r 76bc5ee6138c 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