commit 23da797ca196905108c04baef6f17f4e6bd3f032 Author: Andrey Zonov Date: Wed Oct 31 01:17:25 2012 +0400 - Update manual pages accordingly to rXXXXXX. Approved by: kib (mentor) MFC after: 1 week diff --git a/lib/libc/sys/mlock.2 b/lib/libc/sys/mlock.2 index 645571a..79f590b 100644 --- a/lib/libc/sys/mlock.2 +++ b/lib/libc/sys/mlock.2 @@ -28,7 +28,7 @@ .\" @(#)mlock.2 8.2 (Berkeley) 12/11/93 .\" $FreeBSD: head/lib/libc/sys/mlock.2 210551 2010-07-27 20:34:37Z trasz $ .\" -.Dd July 27, 2010 +.Dd October 9, 2012 .Dt MLOCK 2 .Os .Sh NAME @@ -99,7 +99,7 @@ the per-process .Li RLIMIT_MEMLOCK resource limit. .Pp -These calls are only available to the super-user. +These calls are not available in the jail. .Sh RETURN VALUES .Rv -std .Pp @@ -112,7 +112,7 @@ system call will fail if: .Bl -tag -width Er .It Bq Er EPERM -The caller is not the super-user. +The caller is in the jail. .It Bq Er EINVAL The address given is not page aligned or the length is negative. .It Bq Er EAGAIN @@ -129,7 +129,7 @@ system call will fail if: .Bl -tag -width Er .It Bq Er EPERM -The caller is not the super-user. +The caller is in the jail. .It Bq Er EINVAL The address given is not page aligned or the length is negative. .It Bq Er ENOMEM diff --git a/lib/libc/sys/mlockall.2 b/lib/libc/sys/mlockall.2 index ed1b81b..652b592 100644 --- a/lib/libc/sys/mlockall.2 +++ b/lib/libc/sys/mlockall.2 @@ -30,7 +30,7 @@ .\" .\" $FreeBSD: head/lib/libc/sys/mlockall.2 210551 2010-07-27 20:34:37Z trasz $ .\" -.Dd July 27, 2010 +.Dd October 9, 2012 .Dt MLOCKALL 2 .Os .Sh NAME @@ -72,7 +72,7 @@ limit and the per-process .Dv RLIMIT_MEMLOCK resource limit. .Pp -These calls are only available to the super-user. +These calls are not available in the jail. .Pp The .Fn munlockall