From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbdLLQIo (ORCPT ); Tue, 12 Dec 2017 11:08:44 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:40844 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752623AbdLLQIi (ORCPT ); Tue, 12 Dec 2017 11:08:38 -0500 Date: Tue, 12 Dec 2017 08:08:31 -0800 From: "Paul E. McKenney" To: Kees Cook Cc: Linus Torvalds , Andy Shevchenko , David Laight , "linux-kernel@vger.kernel.org" , "mingo@kernel.org" , "jiangshanlai@gmail.com" , "dipankar@in.ibm.com" , "akpm@linux-foundation.org" , "mathieu.desnoyers@efficios.com" , "josh@joshtriplett.org" , "tglx@linutronix.de" , "peterz@infradead.org" , "rostedt@goodmis.org" , "dhowells@redhat.com" , "edumazet@google.com" , "fweisbec@gmail.com" , "oleg@redhat.com" Subject: Re: [PATCH tip/core/rcu 02/20] torture: Prepare scripting for shift from %p to %pK Reply-To: paulmck@linux.vnet.ibm.com References: <20171201200819.GA25519@linux.vnet.ibm.com> <1512158945-27269-2-git-send-email-paulmck@linux.vnet.ibm.com> <20171204134203.GR7829@linux.vnet.ibm.com> <20171204161100.GT7829@linux.vnet.ibm.com> <20171210214753.GM7829@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17121216-0056-0000-0000-000003F74475 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008194; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000244; SDB=6.00959195; UDB=6.00485078; IPR=6.00739217; BA=6.00005738; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00018503; XFM=3.00000015; UTC=2017-12-12 16:08:36 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17121216-0057-0000-0000-0000082E8353 Message-Id: <20171212160831.GZ7829@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-12_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712120230 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 11, 2017 at 11:59:30AM -0800, Kees Cook wrote: > On Sun, Dec 10, 2017 at 1:47 PM, Paul E. McKenney > wrote: > > On Sun, Dec 10, 2017 at 12:39:11PM -0800, Linus Torvalds wrote: > >> I'd rather make %pK act more like %p than have gratuitous differences. > > The feature that paranoid folks currently depend on is getting a value > entirely zeroed out with %pK (which is the least possible info leak > risk). The hashed %p is almost just as good except that identical > hashes are still usable to confirm matching values (but the cases > where this would be useful to an attacker are hopefully approaching > zero). > > > So it looks like I should drop the three patches in my tree that convert > > %p to %pK. > > > > Any objections? > > Sounds good. If they're still useful when hashed, keep the %p. If you > want to remove them because they're sensitive, just remove them > instead of adding new %pK users. OK, I have dropped those three patches. Thanx, Paul