From owner-freebsd-doc Sun May 9 6:50:14 1999 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 14F2514F29 for ; Sun, 9 May 1999 06:50:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA96098; Sun, 9 May 1999 06:50:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kaa.kfunigraz.ac.at (KAA16.kfunigraz.ac.at [143.50.16.17]) by hub.freebsd.org (Postfix) with ESMTP id 1715B14F5C for ; Sun, 9 May 1999 06:43:48 -0700 (PDT) (envelope-from dada@balu.kfunigraz.ac.at) Received: from balu.kfunigraz.ac.at (balu [143.50.16.16]) by kaa.kfunigraz.ac.at (8.9.2/8.9.2) with ESMTP id PAA05985 for ; Sun, 9 May 1999 15:43:04 +0200 (MDT) Received: from localhost.kfunigraz.ac.at (IDENT:NaWYpFR1amE8i3WUHEvNX180LDX9tWYL@BONLINEA11.kfunigraz.ac.at [143.50.36.11]) by balu.kfunigraz.ac.at (8.9.2/8.9.2) with ESMTP id PAA23937 for ; Sun, 9 May 1999 15:43:41 +0200 (MDT) Received: (from dada@localhost) by localhost.kfunigraz.ac.at (8.8.8/8.8.8) id PAA01254; Sun, 9 May 1999 15:42:03 +0200 (CEST) (envelope-from dada) Message-Id: <199905091342.PAA01254@localhost.kfunigraz.ac.at> Date: Sun, 9 May 1999 15:42:03 +0200 (CEST) From: dada@sbox.tu-graz.ac.at Reply-To: dada@sbox.tu-graz.ac.at To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/11607: RLIMIT_MEMLOCK not implemented Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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