From owner-freebsd-security@FreeBSD.ORG Tue Sep 25 12:06:59 2012 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 839DA1065675 for ; Tue, 25 Sep 2012 12:06:59 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id F02E78FC08 for ; Tue, 25 Sep 2012 12:06:58 +0000 (UTC) Received: by lbdb5 with SMTP id b5so1118lbd.13 for ; Tue, 25 Sep 2012 05:06:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:x-gm-message-state; bh=iewmxR/ynZ+qgTOGnyjMIWRHf3Cu7AOqfUtnK7Xc6Vs=; b=Absy0bBXaR4orxLZh/sL6GpSwAQATvU6ENwFqYOqOm6rLVH5KN7NjCHXowlpnv3Vru Y2SzKLDGfDnUQ/3e7Z6a6CZjlYX3TWz9aDwXtg8xtdiNSE9iKc0wVENMmYz70uqTU9Er xiYkMM2kqyZUMOUoqzEX0rTTu13RBjZudIpR3cVwBC09HyV55oX4Z+q6o66x4UjcRtpy Wakt/Z1QE/xnajD93SIOWsfYSxkuXLTPWCweaDLmbAhTNQF9YMaV0m7nSHs8UPX2bq51 ZeAA3v4wl23FmUycpQVoi3S4NELJTG7ZHYVXxsdjaZ1719mI5yZzzF9pCUbvhpCi+VHZ Kmqw== Received: by 10.112.51.174 with SMTP id l14mr5591471lbo.24.1348574817841; Tue, 25 Sep 2012 05:06:57 -0700 (PDT) Received: from dhcp170-234-red.yandex.net (dhcp170-234-red.yandex.net. [95.108.170.234]) by mx.google.com with ESMTPS id i3sm154675lbg.10.2012.09.25.05.06.56 (version=SSLv3 cipher=OTHER); Tue, 25 Sep 2012 05:06:57 -0700 (PDT) Sender: Andrey Zonov Message-ID: <50619E5D.3010503@FreeBSD.org> Date: Tue, 25 Sep 2012 16:06:53 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-security@freebsd.org X-Enigmail-Version: 1.4.4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA7C7F6E7966B45B80AF98925" X-Gm-Message-State: ALoCoQmowQGTjijJT/ir1HRtt7WQ1hCE54Tip4k242+HTwe7H4ExuqQURzGcJFLAce+gTteSGgFP Subject: [patch] unprivileged mlock(2) X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Sep 2012 12:07:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA7C7F6E7966B45B80AF98925 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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. [1] http://people.freebsd.org/~zont/patches/mlock3.patch --=20 Andrey Zonov --------------enigA7C7F6E7966B45B80AF98925 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 iQEcBAEBAgAGBQJQYZ5fAAoJEBWLemxX/CvTg14H/jFKAcXtOewYy79bo+ta6ELQ ILgel1i6SqMNwi05IpUjF44ljyCNFWGdO/18B5MZt6oYZiRYKUlDlG0b6jycavrU N6NNhMHYVnhmAZzMy+HtzpcJxOaMzCWo2wHEOQ7Jn99Rit2NsCqxc1v/+jwKnmbt l5sjd2Y/xLX+BPL5OrL7VP7HnfE0h17G7TtcVMYVGcTkx4F6NXnydqrJJacHem9W y1yLUwijAX90LWUtRrVt6kXBL43dkWVriuQBcMbARpFOuOUXrBG5pVSKSz7gBjWf AduzUhL6AHWO7B0kaSa23gCGCqPrskCf/aLBKHr2G9pQqesKd2V1OQDxnRLTYFA= =/tAq -----END PGP SIGNATURE----- --------------enigA7C7F6E7966B45B80AF98925--