Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/sys Pull up revision 1.146 (requested by thorpej in...



details:   https://anonhg.NetBSD.org/src/rev/d46abda00c2d
branches:  netbsd-1-6
changeset: 529307:d46abda00c2d
user:      tron <tron%NetBSD.org@localhost>
date:      Sat Nov 09 10:21:27 2002 +0000

description:
Pull up revision 1.146 (requested by thorpej in ticket #527):
* Add copyin_proc() and copyout_proc(), which are like copyin() and
  copyout(), except they can operate on any process, not just curproc.
* Use this in uiomove() to allow UIO_USERSPACE to non-curproc.

diffstat:

 sys/sys/systm.h |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 219b1646d46a -r d46abda00c2d sys/sys/systm.h
--- a/sys/sys/systm.h   Fri Nov 08 09:33:44 2002 +0000
+++ b/sys/sys/systm.h   Sat Nov 09 10:21:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: systm.h,v 1.144 2002/05/21 01:38:26 thorpej Exp $      */
+/*     $NetBSD: systm.h,v 1.144.2.1 2002/11/09 10:21:27 tron Exp $     */
 
 /*-
  * Copyright (c) 1982, 1988, 1991, 1993
@@ -224,6 +224,9 @@
 int    copyin __P((const void *, void *, size_t));
 int    copyout __P((const void *, void *, size_t));
 
+int    copyin_proc __P((struct proc *, const void *, void *, size_t));
+int    copyout_proc __P((struct proc *, const void *, void *, size_t));
+
 int    subyte __P((void *, int));
 int    suibyte __P((void *, int));
 int    susword __P((void *, short));



Home | Main Index | Thread Index | Old Index