From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935193AbcJFVT7 (ORCPT ); Thu, 6 Oct 2016 17:19:59 -0400 Received: from smtprelay0158.hostedemail.com ([216.40.44.158]:55970 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933642AbcJFVTw (ORCPT ); Thu, 6 Oct 2016 17:19:52 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:541:599:967:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1537:1567:1593:1594:1711:1714:1730:1747:1777:1792:2194:2199:2393:2525:2560:2563:2682:2685:2828:2859:2897:2906:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3622:3865:3866:3867:3868:3870:3871:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:5007:7903:8531:8985:9025:9108:10004:10400:10848:11232:11658:11914:12043:12740:12760:13069:13311:13357:13439:14181:14659:14721:21063:21080:21433:21451:30054:30064:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: arch87_72ed0431fa13e X-Filterd-Recvd-Size: 1674 Message-ID: <1475788788.1820.4.camel@perches.com> Subject: Re: [PATCH] printk: introduce kptr_restrict level 3 From: Joe Perches To: Kees Cook , Christoph Hellwig Cc: "Roberts, William C" , "kernel-hardening@lists.openwall.com" , "corbet@lwn.net" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Thu, 06 Oct 2016 14:19:48 -0700 In-Reply-To: References: <1475690686-16138-1-git-send-email-william.c.roberts@intel.com> <20161006133147.GA20206@infradead.org> <476DC76E7D1DF2438D32BFADF679FC561CD14651@ORSMSX103.amr.corp.intel.com> <20161006135612.GA21342@infradead.org> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.0-2ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2016-10-06 at 14:00 -0700, Kees Cook wrote: > And based on my read of this thread, we all appear to be in violent > agreement. :) "always protect %p" is absolutely the goal, and we can > figure out the best way to get there. I proposed emitting pointers from the const and text sections by default and using NULL for data pointers. https://lkml.org/lkml/2016/8/5/380 From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: kernel-hardening@lists.openwall.com Message-ID: <1475788788.1820.4.camel@perches.com> From: Joe Perches Date: Thu, 06 Oct 2016 14:19:48 -0700 In-Reply-To: References: <1475690686-16138-1-git-send-email-william.c.roberts@intel.com> <20161006133147.GA20206@infradead.org> <476DC76E7D1DF2438D32BFADF679FC561CD14651@ORSMSX103.amr.corp.intel.com> <20161006135612.GA21342@infradead.org> Content-Type: text/plain; charset="ISO-8859-1" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [kernel-hardening] Re: [PATCH] printk: introduce kptr_restrict level 3 To: Kees Cook , Christoph Hellwig Cc: "Roberts, William C" , "kernel-hardening@lists.openwall.com" , "corbet@lwn.net" , "linux-doc@vger.kernel.org" , "linux-kernel@vger.kernel.org" List-ID: On Thu, 2016-10-06 at 14:00 -0700, Kees Cook wrote: > And based on my read of this thread, we all appear to be in violent > agreement. :) "always protect %p" is absolutely the goal, and we can > figure out the best way to get there. I proposed emitting pointers from the const and text sections by default and using NULL for data pointers. https://lkml.org/lkml/2016/8/5/380