From owner-freebsd-bugs Fri Sep 27 10:50: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF53C37B401 for ; Fri, 27 Sep 2002 10:50:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ED2C43E65 for ; Fri, 27 Sep 2002 10:50:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8RHo5Co084596 for ; Fri, 27 Sep 2002 10:50:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8RHo5iQ084595; Fri, 27 Sep 2002 10:50:05 -0700 (PDT) Date: Fri, 27 Sep 2002 10:50:05 -0700 (PDT) Message-Id: <200209271750.g8RHo5iQ084595@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: bin/43426: mlockall and munlockall system calls are missing from FreeBSD Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/43426; it has been noted by GNATS. From: Garrett Wollman To: Janos Mohacsi Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/43426: mlockall and munlockall system calls are missing from FreeBSD Date: Fri, 27 Sep 2002 13:40:12 -0400 (EDT) < said: > The mlockall and munlockall system calls are missing from FreeBSD. > The mlockall() and munlockall() functions conform to IEEE Std > 1003.1b-1993 (``POSIX''). FreeBSD should support these system calls. FreeBSD-stable does not define _POSIX_MEMLOCK. FreeBSD-current defines _POSIX_MEMLOCK as -1. This indicates to applications that these features are not supported. > Try to import from NetBSD. FreeBSD and NetBSD have completely different virtual-memory systems. The functionality would have to be rewritten from scratch. Perhaps you can interest one of the VM gurus. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message