From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-f197.google.com (mail-yb0-f197.google.com [209.85.213.197]) by kanga.kvack.org (Postfix) with ESMTP id 06F7F6B0005 for ; Tue, 19 Jun 2018 16:12:30 -0400 (EDT) Received: by mail-yb0-f197.google.com with SMTP id h29-v6so476064ybj.22 for ; Tue, 19 Jun 2018 13:12:30 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id e198-v6sor165118ybf.105.2018.06.19.13.12.29 for (Google Transport Security); Tue, 19 Jun 2018 13:12:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <0AF8B71E-B6CC-42DE-B95C-93896196C3D7@amacapital.net> References: <20180607143807.3611-1-yu-cheng.yu@intel.com> <20180607143807.3611-7-yu-cheng.yu@intel.com> <1528403417.5265.35.camel@2b52.sc.intel.com> <569B4719-6283-4575-A16E-D0A78D280F4E@amacapital.net> <1529427588.23068.7.camel@intel.com> <0AF8B71E-B6CC-42DE-B95C-93896196C3D7@amacapital.net> From: Kees Cook Date: Tue, 19 Jun 2018 13:12:26 -0700 Message-ID: Subject: Re: [PATCH 06/10] x86/cet: Add arch_prctl functions for shadow stack Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski Cc: Yu-cheng Yu , Andy Lutomirski , "H. J. Lu" , Thomas Gleixner , LKML , linux-doc@vger.kernel.org, Linux-MM , linux-arch , X86 ML , "H. Peter Anvin" , Ingo Molnar , "Shanbhogue, Vedvyas" , "Ravi V. Shankar" , Dave Hansen , Jonathan Corbet , Oleg Nesterov , Arnd Bergmann , mike.kravetz@oracle.com, Florian Weimer On Tue, Jun 19, 2018 at 10:20 AM, Andy Lutomirski wrote: > >> On Jun 19, 2018, at 10:07 AM, Kees Cook wrote: >> >> Does it provide anything beyond what PR_DUMPABLE does? > > What do you mean? I was just going by the name of it. I wasn't sure what "ptrace CET lock" meant, so I was trying to understand if it was another "you can't ptrace me" toggle, and if so, wouldn't it be redundant with PR_SET_DUMPABLE = 0, etc. -Kees -- Kees Cook Pixel Security