Date: Thu, 04 Oct 2012 15:01:42 +0400 From: Andrey Zonov <zont@FreeBSD.org> To: "Simon L. B. Nielsen" <simon@FreeBSD.org> Cc: freebsd-security@freebsd.org Subject: Re: [patch] unprivileged mlock(2) Message-ID: <506D6C96.7050408@FreeBSD.org> In-Reply-To: <5065A51B.6010905@FreeBSD.org> References: <50619E5D.3010503@FreeBSD.org> <CAC8HS2G84_t5G0KrwEhkwhfRWY%2B6Cck8vQYRJnv3vQOsBPPD_g@mail.gmail.com> <5065A51B.6010905@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1006662FCC9A90D3E8FF85E7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 9/28/12 5:24 PM, Andrey Zonov wrote: > On 9/27/12 7:25 PM, Simon L. B. Nielsen wrote: >> On Tue, Sep 25, 2012 at 1:06 PM, Andrey Zonov <zont@freebsd.org> wrote= : >>> Hi, >>> >>> Please review this patch [1] which allows unprivileged users call >>> mlock()/munlock() and mlockall()/munlockall(). >>> >>> AFAIK, these calls were not allowed for every-one because accounting = for >>> mlockall(MCL_FUTURE) was not implemented. >> >> I can't comment on the implementation details (don't know much about >> VM system), but do you have tests to show that the new code actually >> works in preventing users from mlocking more than 8MB by default? >> >=20 > Sure, test is attached. >=20 Hi Simon, Have you got a chance to look at that? --=20 Andrey Zonov --------------enig1006662FCC9A90D3E8FF85E7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJQbWyZAAoJEBWLemxX/CvTV1cH/izvL+mEhRdtJPyk/diGngl9 j6wancGIRKfQxKjrmBLrUsZiPKbpb6R/bIghJd/1U0NJuF4ZGgDX4DfoZW4H4wGQ K34v8F7GEaA9V42x7zKSdv6gfdcbGZzTDWCqRjiaLVHHYh3OHvlguD5/gHIUTDmm tYihcSTtAIvj05Og1ZarZQSezYU5LKbGo920JgZH0AC3EnM9GcH6UmJXQ/g0nLNf GjECDASPnrYB87me/loToQxzOz+NfoY4pbZ0JTpd2zWsu/hRA2A1NthbMrD27hMR slB8saA3Ybhx0QkLnr4ixx1rInmx27dWua4vqZVtfUrOp73huBINMxGQPmZXP9o= =p1Qk -----END PGP SIGNATURE----- --------------enig1006662FCC9A90D3E8FF85E7--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?506D6C96.7050408>