From owner-cvs-all@FreeBSD.ORG Mon Jan 3 19:56:20 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8107716A4F0; Mon, 3 Jan 2005 19:56:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C4A143D53; Mon, 3 Jan 2005 19:56:20 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j03JuKem046413; Mon, 3 Jan 2005 19:56:20 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j03JuK1M046412; Mon, 3 Jan 2005 19:56:20 GMT (envelope-from rwatson) Message-Id: <200501031956.j03JuK1M046412@repoman.freebsd.org> From: Robert Watson Date: Mon, 3 Jan 2005 19:56:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/tools/regression/mlock Makefile mlock.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 19:56:20 -0000 rwatson 2005-01-03 19:56:20 UTC FreeBSD src repository Added files: tools/regression/mlock Makefile mlock.c Log: Add a simple regression test for mlock()/munlock() to make sure they work on a single page as root, and fails on a single page as nobody. Intended to help diagnose reports regarding insecure memory use with gnupg. Revision Changes Path 1.1 +6 -0 src/tools/regression/mlock/Makefile (new) 1.1 +91 -0 src/tools/regression/mlock/mlock.c (new)