Module Name: src Committed By: maxv Date: Fri Aug 23 13:49:12 UTC 2019
Modified Files: src/sys/compat/linux32/common: linux32_misc.c Log Message: Hum, don't forget the 'pid' argument, otherwise we're not gonna go very far. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/compat/linux32/common/linux32_misc.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/compat/linux32/common/linux32_misc.c diff -u src/sys/compat/linux32/common/linux32_misc.c:1.26 src/sys/compat/linux32/common/linux32_misc.c:1.27 --- src/sys/compat/linux32/common/linux32_misc.c:1.26 Mon Apr 10 15:04:32 2017 +++ src/sys/compat/linux32/common/linux32_misc.c Fri Aug 23 13:49:12 2019 @@ -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 @@ linux32_sys_get_robust_list(struct lwp * 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);