Module Name: src Committed By: skrll Date: Sat Sep 10 08:20:49 UTC 2016
Modified Files: src/sys/compat/netbsd32: netbsd32_netbsd.c Log Message: +netbsd32__sched_protect To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201 src/sys/compat/netbsd32/netbsd32_netbsd.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/netbsd32/netbsd32_netbsd.c diff -u src/sys/compat/netbsd32/netbsd32_netbsd.c:1.200 src/sys/compat/netbsd32/netbsd32_netbsd.c:1.201 --- src/sys/compat/netbsd32/netbsd32_netbsd.c:1.200 Fri May 13 16:54:36 2016 +++ src/sys/compat/netbsd32/netbsd32_netbsd.c Sat Sep 10 08:20:49 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_netbsd.c,v 1.200 2016/05/13 16:54:36 christos Exp $ */ +/* $NetBSD: netbsd32_netbsd.c,v 1.201 2016/09/10 08:20:49 skrll Exp $ */ /* * Copyright (c) 1998, 2001, 2008 Matthew R. Green @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.200 2016/05/13 16:54:36 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_netbsd.c,v 1.201 2016/09/10 08:20:49 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_ddb.h" @@ -2714,6 +2714,20 @@ netbsd32__sched_getaffinity(struct lwp * } int +netbsd32__sched_protect(struct lwp *l, + const struct netbsd32__sched_protect_args *uap, + register_t *retval) +{ + /* { + syscallarg(int) priority; + } */ + struct sys__sched_protect_args ua; + + NETBSD32TO64_UAP(priority); + return sys__sched_protect(l, &ua, retval); +} + +int netbsd32_pipe2(struct lwp *l, const struct netbsd32_pipe2_args *uap, register_t *retval) {