*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: useracc | Section: 9 | Source: FreeBSD | File: useracc.9.gz
KERNACC(9) FreeBSD Kernel Developer's Manual KERNACC(9) NAME kernacc, useracc - check memory regions for accessibility SYNOPSIS #include <sys/param.h> #include <sys/proc.h> #include <vm/vm.h> #include <vm/vm_extern.h> int kernacc(void *addr, int len, int rw); int useracc(void *addr, int len, int rw); DESCRIPTION The kernacc() and useracc() functions check whether operations of the type specified in rw are permitted in the range of virtual addresses given by addr and len. The possible values of rw are any bitwise combination of VM_PROT_READ, VM_PROT_WRITE and VM_PROT_EXECUTE. kernacc() checks addresses in the kernel address space, while useracc() considers addr to represent an user space address. The process context to use for this operation is taken from the global variable curproc. RETURN VALUES Both functions return boolean true if the type of access specified by rw is permitted. Otherwise boolean false is returned. BUGS The process pointer should be passed in as an argument to useracc(). FreeBSD 14.1-RELEASE-p8 June 16, 1996 FreeBSD 14.1-RELEASE-p8

Navigation Options