Date: Mon, 3 Jan 2005 19:56:20 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/tools/regression/mlock Makefile mlock.c Message-ID: <200501031956.j03JuK1M046412@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501031956.j03JuK1M046412>
