From owner-freebsd-arch@FreeBSD.ORG Mon Sep 29 11:37:25 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E638C9C8; Mon, 29 Sep 2014 11:37:25 +0000 (UTC) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) (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 389E7B9B; Mon, 29 Sep 2014 11:37:25 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id n3so1722472wiv.2 for ; Mon, 29 Sep 2014 04:37:23 -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=lM0BDC2+GpvT7C9YleJYlAYW7vROAFq4v4hsD83YTqs=; b=IBRWNwz84l/ClR4TXoNrUWIBF97zD0V/k2gI3cVk3VtToyCuIoGYFcQCkyUMDIteJx sbB1tq13eneAH0M17Da53HPYiVOaFsY1AStxRtrjmXlWJfh6mMLQj0BxV88EowtVdmz7 hbbdQNVrYsXSmwb0VZszshXLWDebkfE79Xbt713lPqGwL0v0N6JwuKmrzfLjIaEw4g0Z eoBNBve0ooRokRp6Cte3Xn6APMWaaO3KexyLX8eRRRjH+AsXGzJ59fUnVF55/Zzj69Mw k5Frv+gtsLxh8L1SOdfmEdHL/QsZRuW9oQ3mvc4KRzqsYopsxIfHj4Sic47U6PbpF6xP eGLQ== MIME-Version: 1.0 X-Received: by 10.194.185.14 with SMTP id ey14mr10704544wjc.91.1411990643331; Mon, 29 Sep 2014 04:37:23 -0700 (PDT) Received: by 10.216.141.6 with HTTP; Mon, 29 Sep 2014 04:37:23 -0700 (PDT) In-Reply-To: References: <20140711232914.GH41807@pwnie.vrt.sourcefire.com> Date: Mon, 29 Sep 2014 14:37:23 +0300 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, 29 Sep 2014 11:37:26 -0000 Hey everybody, I've uploaded a new patch to Phabricator. A lot has changed in the month that has passed. ARM is now fixed 100% thanks to Ilya Bakulin! We're looking for people who want to test it out as well as people who can do performance tests. Building world and kernel and/or a poudriere bulk run is a good real-world performance benchmark. Thanks, Shawn On Mon, Aug 18, 2014 at 11:44 PM, Shawn Webb wrote: > 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. >> > >