b1539bd153
Submitted by: Akira Ikeuchi <a_ikeuchi@mic.mitsumi.co.jp>
91 lines
3.1 KiB
Groff
91 lines
3.1 KiB
Groff
.\" %NetBSD: access.9,v 1.1 1996/06/16 10:38:35 pk Exp %
|
||
.\"
|
||
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||
.\" All rights reserved.
|
||
.\"
|
||
.\" This code is derived from software contributed to The NetBSD Foundation
|
||
.\" by Paul Kranenburg.
|
||
.\"
|
||
.\" Redistribution and use in source and binary forms, with or without
|
||
.\" modification, are permitted provided that the following conditions
|
||
.\" are met:
|
||
.\" 1. Redistributions of source code must retain the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer.
|
||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||
.\" notice, this list of conditions and the following disclaimer in the
|
||
.\" documentation and/or other materials provided with the distribution.
|
||
.\" 3. All advertising materials mentioning features or use of this software
|
||
.\" must display the following acknowledgement:
|
||
.\" This product includes software developed by the NetBSD
|
||
.\" Foundation, Inc. and its contributors.
|
||
.\" 4. Neither the name of The NetBSD Foundation nor the names of its
|
||
.\" contributors may be used to endorse or promote products derived
|
||
.\" from this software without specific prior written permission.
|
||
.\"
|
||
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
|
||
.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||
.\" POSSIBILITY OF SUCH DAMAGE.
|
||
.\"
|
||
.\" %FreeBSD: src/share/man/man9/kernacc.9,v 1.13 2003/01/21 11:34:57 alfred Exp %
|
||
.\"
|
||
.\" $FreeBSD$
|
||
.Dd June 16, 1996
|
||
.Dt KERNACC 9
|
||
.Os
|
||
.Sh ̾<EFBFBD><EFBFBD>
|
||
.Nm kernacc ,
|
||
.Nm useracc
|
||
.Nd <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΰ褬<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǽ<EFBFBD><EFBFBD><EFBFBD>ݤ<EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><EFBFBD>
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.In sys/param.h
|
||
.In sys/proc.h
|
||
.In vm/vm.h
|
||
.In vm/vm_extern.h
|
||
.Ft int
|
||
.Fn kernacc "void *addr" "int len" "int rw"
|
||
.Ft int
|
||
.Fn useracc "void *addr" "int len" "int rw"
|
||
.Sh <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn kernacc
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fn useracc
|
||
<EFBFBD>ؿ<EFBFBD><EFBFBD>ϡ<EFBFBD>
|
||
.Fa addr
|
||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
.Fa len
|
||
<EFBFBD>ˤ<EFBFBD><EFBFBD>ä<EFBFBD>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