Date: Sun, 9 May 1999 15:42:03 +0200 (CEST) From: dada@sbox.tu-graz.ac.at To: FreeBSD-gnats-submit@freebsd.org Subject: docs/11607: RLIMIT_MEMLOCK not implemented Message-ID: <199905091342.PAA01254@localhost.kfunigraz.ac.at>
next in thread | raw e-mail | index | archive | help
>Number: 11607 >Category: docs >Synopsis: RLIMIT_MEMLOCK not implemented >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun May 9 06:50:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Martin Kammerhofer >Release: FreeBSD 2.2.8-STABLE i386 >Organization: Graz University of Technology >Environment: >Description: The per process limit on locked memory is not implemented. (The shared system wide limit works though). Until this will be eventually fixed manpages getrlimit(2) and mlock(2) should note this in their BUGS section! Also mlock/munlock are (currently) only available to the superuser and return EPERM if called by a mere mortal. This behaviour should be _documented_ in mlock(2). >How-To-Repeat: 1. Call mlock() from non-root process => fails with EPERM. 2. Set RLIMIT_MEMLOCK to a small value. Mlock much more => works. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905091342.PAA01254>