Document EPERM.

This commit is contained in:
is 2000-09-28 09:46:17 +00:00
parent 2c86369fc4
commit 6c614a3f1d

View File

@ -1,4 +1,4 @@
.\" $NetBSD: mlock.2,v 1.11 2000/06/26 17:00:02 kleink Exp $
.\" $NetBSD: mlock.2,v 1.12 2000/09/28 09:46:17 is Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@ -123,6 +123,11 @@ limit for locked memory.
.It Bq Er ENOMEM
Some portion of the indicated address range is not allocated.
There was an error faulting/mapping a page.
.It Bq Er EPERM
.Fn mlock
was called by non-root on an architecture were locked page accounting
is not implemented.
.Pp
.El
.Fn munlock
will fail if: