Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux32/common Hum, don't forget the 'pid' argume...



details:   https://anonhg.NetBSD.org/src/rev/a4c4a38b7fb5
branches:  trunk
changeset: 459099:a4c4a38b7fb5
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri Aug 23 13:49:12 2019 +0000

description:
Hum, don't forget the 'pid' argument, otherwise we're not gonna go very
far.

diffstat:

 sys/compat/linux32/common/linux32_misc.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 090d28d63b9e -r a4c4a38b7fb5 sys/compat/linux32/common/linux32_misc.c
--- a/sys/compat/linux32/common/linux32_misc.c  Fri Aug 23 13:36:45 2019 +0000
+++ b/sys/compat/linux32/common/linux32_misc.c  Fri Aug 23 13:49:12 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux32_misc.c,v 1.26 2017/04/10 15:04:32 dholland Exp $       */
+/*     $NetBSD: linux32_misc.c,v 1.27 2019/08/23 13:49:12 maxv Exp $   */
 
 /*-
  * Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_misc.c,v 1.26 2017/04/10 15:04:32 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_misc.c,v 1.27 2019/08/23 13:49:12 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -293,11 +293,13 @@
     const struct linux32_sys_get_robust_list_args *uap, register_t *retval)
 {
        /* {
+               syscallarg(linux32_pid_t) pid;
                syscallarg(linux32_robust_list_headpp_t) head;
                syscallarg(linux32_sizep_t) len;
        } */
        struct linux_sys_get_robust_list_args ua;
 
+       NETBSD32TOX_UAP(pid, int);
        NETBSD32TOP_UAP(head, struct robust_list_head *);
        NETBSD32TOP_UAP(len, size_t *);
        return linux_sys_get_robust_list(l, &ua, retval);



Home | Main Index | Thread Index | Old Index