From owner-freebsd-arch@FreeBSD.ORG Mon Aug 18 20:44:43 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0679E7D; Mon, 18 Aug 2014 20:44:43 +0000 (UTC) Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2C783560; Mon, 18 Aug 2014 20:44:42 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id x13so5488000wgg.31 for ; Mon, 18 Aug 2014 13:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RKbRj9D+jRvOkG2T5WFd2NHXTFG96lDpLM/CBZchTD8=; b=Mkw/6+2y3eTJPzcxuoLX4fGff85Kmv9UHSoCsEVwePZu/K7nbBskS7Fj3f588pEE2p x62ZkmAFpawgDjv/a9oi7Llm1aI7GcmHyovzSP/Sv4LqqGMaqpkxdlP0+ifwUGB5/IMk zjEqFCnWwexe8Foo/aZEly+QViurNI7/o2fZujePly5RsUzV4N1+vmPMmdhMe6+2saO0 cwEv+DV+0KzAa8gq0gGcE6TY86mzv9RAoqvR8KxPQYfSfxqSE328ydx3c2kGpVlSEV/I EuUFX53q4HwtuYHyUgG3dwchJZEXU3bS/w1Q4m3QKey04bEvkQW4WgfLALa8l1H3F8gQ 0ytw== MIME-Version: 1.0 X-Received: by 10.180.102.130 with SMTP id fo2mr1450859wib.29.1408394680972; Mon, 18 Aug 2014 13:44:40 -0700 (PDT) Received: by 10.216.160.9 with HTTP; Mon, 18 Aug 2014 13:44:40 -0700 (PDT) In-Reply-To: <20140711232914.GH41807@pwnie.vrt.sourcefire.com> References: <20140711232914.GH41807@pwnie.vrt.sourcefire.com> Date: Mon, 18 Aug 2014 16:44:40 -0400 Message-ID: Subject: Re: [RFC] ASLR Whitepaper and Candidate Final Patch From: Shawn Webb To: freebsd-arch@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: PaX Team , Bryan Drewery , Alan Cox , =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= , Oliver Pinter X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2014 20:44:43 -0000 I've uploaded a new patch to Phabric: https://reviews.freebsd.org/D473. I'm interested in hearing feedback from the community. On Fri, Jul 11, 2014 at 7:29 PM, Shawn Webb wrote: > Hey All, > > Oliver Pinter and I have been working hard on our ASLR implementation. > We're now in the final stages of development and would like to get > feedback from the community. I've attached to this email a small > whitepaper that details our implementation and the accompanying patch. > > There is one part of the patch that I wrote that is quite an ugly hack > and would like to get some feedback on. I added a little hack to > sys_mmap() to apply ASLR to calls to mmap(2) when MAP_32BIT is > specified. I'd like to remove that ugly hack to something a bit more > beautiful, so if anyone has any suggestions, I'm all ears. > > Other than that ugly hack, the code adheres to FreeBSD's style(9) > standards. I believe we have an awesome implementation, one I've > personally been using without issue for months. > > I'm looking forward to your comments and questions. I've CC'd the PaX > team. Please keep them CC'd in your replies. > > Thank you very much, > > Shawn Webb > CC: PaX Team > CC: Oliver Pinter > CC: des@freebsd.org > CC: alc@rice.edu > CC: bdrewery@freebsd.org > > PS - Sorry for the duplicate emails. I hit the wrong key and didn't CC > everyone. >