diff options
author | 2005-11-16 15:15:49 +0000 | |
---|---|---|
committer | 2005-11-16 15:15:49 +0000 | |
commit | 19c223fc0727925b260718149b40c3886ab0bc6d (patch) | |
tree | 5e3e6ea22007d68748dfaf1cc718cf26fa27ceae /sys | |
parent | nuke trailing whitespace; (diff) | |
download | wireguard-openbsd-19c223fc0727925b260718149b40c3886ab0bc6d.tar.xz wireguard-openbsd-19c223fc0727925b260718149b40c3886ab0bc6d.zip |
Suggest filling in uio_procp even if the area is in kernel-space if
the structure is passed to functions other than uiomove();
discussed with pedro@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/uio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/uio.h b/sys/sys/uio.h index c704cce675e..0dde7978a52 100644 --- a/sys/sys/uio.h +++ b/sys/sys/uio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uio.h,v 1.11 2003/06/02 23:28:22 millert Exp $ */ +/* $OpenBSD: uio.h,v 1.12 2005/11/16 15:15:49 uwe Exp $ */ /* $NetBSD: uio.h,v 1.12 1996/02/09 18:25:45 christos Exp $ */ /* @@ -56,7 +56,7 @@ struct uio { size_t uio_resid; /* residual i/o count */ enum uio_seg uio_segflg; /* see above */ enum uio_rw uio_rw; /* see above */ - struct proc *uio_procp;/* process if UIO_USERSPACE */ + struct proc *uio_procp;/* associated process or NULL */ }; /* |