Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753842AbdGXLwf (ORCPT ); Mon, 24 Jul 2017 07:52:35 -0400 Received: from mail-he1eur01on0048.outbound.protection.outlook.com ([104.47.0.48]:43008 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752988AbdGXLwZ (ORCPT ); Mon, 24 Jul 2017 07:52:25 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yao.Qi@arm.com; Subject: Re: [PATCH 00/11] ARMv8.3 pointer authentication userspace support To: Mark Rutland , linux-arm-kernel@lists.infradead.org References: <1500480092-28480-1-git-send-email-mark.rutland@arm.com> Cc: arnd@arndb.de, catalin.marinas@arm.com, christoffer.dall@linaro.org, Dave.Martin@arm.com, jiong.wang@arm.com, kvmarm@lists.cs.columbia.edu, linux-arch@vger.kernel.org, marc.zyngier@arm.com, suzuki.poulose@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com From: Yao Qi Message-ID: <46daaf0b-6b90-61cc-a25f-4177641d1613@arm.com> Date: Mon, 24 Jul 2017 12:52:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1500480092-28480-1-git-send-email-mark.rutland@arm.com> Content-Type: text/plain; charset=windows-1252; format=flowed X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: VI1PR0101CA0082.eurprd01.prod.exchangelabs.com (2603:10a6:800:1f::50) To VI1PR0801MB1949.eurprd08.prod.outlook.com (2603:10a6:800:89::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 08d9b3f3-4319-4998-e1a9-08d4d28a717e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:VI1PR0801MB1949; X-Microsoft-Exchange-Diagnostics: 1;VI1PR0801MB1949;3:XGcAjrKIYk6ob7OMj8xFJ37OvlYCcuy7RdSEuuhqqsInSqe4/hq9mGI0iqGCx+D8BCfo94pmmqqCjlxdFkiZbVHV5JJvZGpfQmqIWVsLbdjFLmP/DDDTosnSWUc61gcu8R4cMvkiDG8vLpDzgFfgPkeMOO9NHXIA8gpCHl2YLh/UtA1ur5HQGktcci6hWxxUOIEg0B7PrppHLHxZDv4LitT3X9tDVZ4boxTGV4TnW3FMMzjwUBeGbcD2nXbb+DY58GSUaxEHD2NpFtNVExJXipfqG2Raj78vR395RVYftmAWwSKKvdE9PpWeh59f79KbX3uHxE+VTRzaatdonst1fYAI4hkVlzoTryzToDNa1WkOS1SfIr7CrfglIKGCNTMdrwie/pqBmgAcYAcv6mAAJx59y78fxJW0I4aSb/ayuuR269n2aNkFhNnkfg/C62TFf0LtM+h7uMTz+hfk+ySMRQMkPH02yqBDUuTAOQHpQHU8d19NZBqjlTwPzWiiQalSrzUHlRQkQvBcUB9sVlL+EGGbTRbDvF6Kme6I89JG14Vl7h4F8K1CbnbEwRI8PkCmP20STuLdVGoD8Pe+uzdRWkeVbPuO6Aa/tTHofMPO0zyQYRiXMPgDMy2cDu8/fYurJIlt6HIayvhX+IsE3aZlcBhW9iKJdxVrETKv+RO5K65pMxdtnlLUbgWGGS03IEzrLvwxhCKLlXQMuONyhuGiqr3rwts1IRfEOfjO73xxSXDuHYVVfNuXbHPEQ2y3IG8nwYwYk3MnCEEVxI3+TaOH4w== X-MS-TrafficTypeDiagnostic: VI1PR0801MB1949: X-Microsoft-Exchange-Diagnostics: 1;VI1PR0801MB1949;25:pjj2GpgAPMWinJwBPMmwc8UsL+tTi0fKoHS+rtYFD+r54AtrrBUy+Pgmtm2whFJORV82dJv3SMVtLkCJrbMAUT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Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:VI1PR0801MB1949;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:VI1PR0801MB1949; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;VI1PR0801MB1949;4:JlrG/QpUGBzybDK0Uv0zN5nPAREQeZheDX9q?= =?Windows-1252?Q?ra2q4X37CSOAPofVI6vQZrAs37gt60vu6nYb4b8GYFbInfHnlwyAGd5v?= =?Windows-1252?Q?LTTHtNGes4DfX2Qm6QEM06BHteVR3Uq06svwmtVq1EzsJegkVUS0ock+?= =?Windows-1252?Q?I0ICiEROKuoqQe0IPbW7snVnK6KTPlSCcE825f4HsKUYVdYf/kdgcHc4?= =?Windows-1252?Q?r3zPdTmq47Bjwz75ZDRvUAAdApFwXsQ0hLyE961r1jyGA+Hai9K69zQ3?= =?Windows-1252?Q?ir3+qgkQ2pBPUbNcixhynYm+aSIQhnIb1LXIv7v4lDoOI5UH21H01RHx?= =?Windows-1252?Q?0agAEhVDxXvsomt/9QCc1w+OmTSmCZ9Hc1dmU1VoPqrCHLMv6EajbgPG?= =?Windows-1252?Q?qclj0GOoK1yAfMeC/Sx9DbxTRvFY7qEgswddD2P8ORuKrtALW+9xQl7e?= =?Windows-1252?Q?HGB/nRkxq5PEzm0iLZ4Gqjrk0lqUIdGxdXtcWVln6YwlgsRYGGdYxtvs?= =?Windows-1252?Q?63yOg6sepLdl0FdR6iwtJgT6PO3Uw3ARGHICJ0cRpA6bMoCib/WlGE6/?= =?Windows-1252?Q?w6Ap3zy20QF6YUirqRe5i+Z0wF7BCOoXBXVHjfymwTiftbuV9S9jwyq2?= =?Windows-1252?Q?QpqO+KfGrzy1KTOUCtE7mTr+umju48XfW7/R0FOaMcV0y/cZXnPg9PMm?= =?Windows-1252?Q?uVqwNp7PgKJIOlQzA7QEfTCYJaPzrDSQZTVPR1sVv25lC4/XmBveAdtO?= =?Windows-1252?Q?qrltDzRuclaK59DtXe51Pqx1jgJSakJ7ty1Jczgzx3AuWdB0PLZvTWSb?= =?Windows-1252?Q?3F1gJyWBrkGMy7N3uvm1YnIae1uubSbAl8T5xN6bodaRM7i6XakROTd8?= =?Windows-1252?Q?3cnZleb56XjGhjtu7yHDI3estAOSKZ8VqaeQqDt4dhMcpSrnt+mx9opd?= =?Windows-1252?Q?dnAvwbYj19I1exsPLzBZrPC7PlWYwGDt3p0XzGLzHjAnkqKKAstW2UgN?= =?Windows-1252?Q?/5tLHYqA4iX0086N2LE32Iwin8sd9p8lz4BS4Gd/ucwIA3RHHr7fc7NC?= =?Windows-1252?Q?QqN5J90jXaA6+Bf+4Tin5pnnA+DUdPDXEhP1KVukVvoZcIg40KWRZGC5?= =?Windows-1252?Q?5vNtCWOdypZiPJAeHzi27Tp1Ta1kpoT880GB9Cc2Sw9ryXakaGMrSD/a?= =?Windows-1252?Q?j9eiD9Xuh/TPdtXlaIWbDTqJLma7Z4+yXuGor/3hMCep0LTGOH6DhVep?= =?Windows-1252?Q?kHabWncC0eI31mxKkw=3D=3D?= X-Forefront-PRVS: 0378F1E47A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(7370300001)(6009001)(6049001)(39450400003)(39840400002)(39850400002)(39400400002)(39410400002)(39860400002)(199003)(24454002)(189002)(40434004)(66066001)(77096006)(8676002)(2906002)(31696002)(6666003)(65806001)(478600001)(68736007)(72206003)(4001350100001)(65956001)(5890100001)(47776003)(7736002)(33646002)(5660300001)(23746002)(106356001)(65826007)(83506001)(6486002)(105586002)(2950100002)(50986999)(54356999)(76176999)(53546010)(97736004)(25786009)(42186005)(8746002)(50466002)(229853002)(81166006)(3846002)(101416001)(4326008)(6116002)(305945005)(189998001)(31686004)(64126003)(53936002)(81156014)(6246003)(86362001)(36756003)(110136004)(38730400002)(7350300001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0801MB1949;H:[10.2.206.21];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;VI1PR0801MB1949;23:NcGmW2Wz3+SOnLkcHzSYBD9oS6FPPapHdTe?= =?Windows-1252?Q?Wqc15J8oBWwNrGJheSohYfVitFujjwUD/nHmmgUwAiuA99y4gK3ppk1l?= =?Windows-1252?Q?LSm8QOhk52h2AeW9KI5hNsa8gts+eDk495rmRVDwagSumRMDKV0pv64h?= =?Windows-1252?Q?bFUgx1VRKx+U7ccGTw2BN2wLq9ssV+LCB5TqzBSFs4bBWBJmUJJ06D+o?= =?Windows-1252?Q?avICKtdzM6wc7VDv2en70SuZswsaLGWviwTeJAJT81oX8j0y178haePh?= =?Windows-1252?Q?aKz3IRfSe1oVJ3SKq9chN0egpJ42iU2plgkZDQWctL1/TXjlMC4g1pI6?= =?Windows-1252?Q?xLOpWZNi58aFtbbjdCsYHgDsrcOM0BSRyb6icX4kjXDlC4EOouXnI+j4?= =?Windows-1252?Q?uPPFhu3euFhhH35VVJuS5skClNkEzVCQMk3+mu4I38aSs7i8y+GyMilZ?= =?Windows-1252?Q?yHAYCjjI4Pla/UCGS4KktDSzvTt5YvCIuXj5PnuKjAZfHe/u5a2iorpy?= =?Windows-1252?Q?rdbNzYUaAQb6TwMzmf+8Cs9GXk48qeqPJLvQN6sjLMtkZBjNdIhp07fP?= =?Windows-1252?Q?Pe+cA7N/FoL6gwnz9O41as6klTjJKXfZvLhmMc7z1dtyfenyPEhYqI5E?= =?Windows-1252?Q?fZrMkmBwon/E9RHE7+qpHefAbnU0KzYUlL9LrTf9f4zl92PnCcTpVlrS?= =?Windows-1252?Q?oMexwjLu5XWEPGU32Pv4BYEntvK3EnGjhpn3M/+993BgWu9Wk8U3mVp2?= =?Windows-1252?Q?WG8OsK2nJTAOQRIHY9oG/Ti1nDOn1ZTZ+wccbl/p8KafoioEGn77gy1s?= =?Windows-1252?Q?HIu0dY0ezHQcQoYJ68D7nROPMjfLX6gwI51AKbhANzcshk8ApdDR6xQf?= =?Windows-1252?Q?tMT3uZsgqJ/pawVGyQdVOPSr2dQR12XQQAH8Kwrp0GC0BxqW0xU8o/NI?= =?Windows-1252?Q?NMuGT1uRafi/PlR83NX+lCrRZCz82BfR57Ruv3642eozuDrojHsYL0jZ?= =?Windows-1252?Q?bvaA5yrwqMEuGjhU0LhRhZqO/DaHAu5DPM/8msER6ca6zYdxqvIKsV7b?= =?Windows-1252?Q?taOJ2A4uY/HLde3dE9GGZ0+3MVb1fYk+GhdmH7382I1z78zQhGqXLVT7?= =?Windows-1252?Q?i7PqCm6zOMctWp9kFWnA5RGhnCNmVvp5vuCn4qA/N1TMlPMOb16ecq/v?= =?Windows-1252?Q?21yVUvig+OJ+qey07yG3/Pc+qmjqkGJ6PK8KcsbzpvMIh5YUkApvBGPo?= =?Windows-1252?Q?T5lRw6j2acX5WAtrhgsSNqiW2axTWLUv+A2An3v/gH7A6AC85mEBWDYn?= =?Windows-1252?Q?QgHvILG3/uD28U2gxjOhJe5F815c5O0nG/nDF157SV1CkkPxyqkRVqvT?= =?Windows-1252?Q?EA7NP9I+CK6c5Xml2OPwu4xDU5NKLDUwBZ7Ngsk7s5n/+gXfNFMwX2C0?= =?Windows-1252?Q?BGOc+tQrU6P+0snftCbksujm23XcKpOV1aKRvhNGw7JVhu9WTKPB5H0A?= =?Windows-1252?Q?jbEEH+6WZo7s847M4mp+v/0eTwDKpuLCOiJ8Y2YZ02m9H2dKKzIeSZJC?= =?Windows-1252?Q?8ePoj8Z62j3R36Gloy6tgih+bLJ7nW2uHMtIJ7TGEHlupkGZylOZt+EL?= =?Windows-1252?Q?D1RUMIPmYmpSRWNckbyYCTnYWI3CVGI/42h5pvg62Kf3D+2AxhaFimAz?= =?Windows-1252?Q?QYcAqlNeUE48pWdmRMQ0ZSB7fBglTi3Y=3D?= X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;VI1PR0801MB1949;6:WyJqP4rhNpgUaG98CB5piACd/AR5jNrDKz8s?= =?Windows-1252?Q?U/yvhTrKjaa30rIWtrSB3HBVQeeE//cbCshNUI3ICTnPk+ps2KOWDZdT?= =?Windows-1252?Q?gYPQUyZ14GZoQvn64BKpOeZFni+ECpWtjkrm9SUMdBgLEBJw4YyBeljX?= =?Windows-1252?Q?wwjIrYVOuLf3PiFkqA0N6RdZNLC2knCMDCqwRbbiG9M+F3b6s+cyxQm9?= =?Windows-1252?Q?oeNj9WUJLI3Hc+gSS1C17qXKe2D0r6MZ9Fmpl3b1/s6b/OhqyWJEmeV3?= =?Windows-1252?Q?jY6J0ZXrg/vnNEu8evhayM38KB/AbeBBDDoXYcXDk98pGqeprjzemNZQ?= =?Windows-1252?Q?1hz9h+2LszUy5+ygGAQG6lMtieF380vsxtCQllW8LCP7W8Pzl00RLt1p?= =?Windows-1252?Q?sWrPZ0mu0ZrI/mAuC3PGvSpZotshBFMDvoDBz986EF0abnRoGMC+tr2d?= =?Windows-1252?Q?3kakdnKCToZEjM1T9y0RJiKtNgE+EEgQlcsCnhhWdskziXrpIYa0tkA5?= =?Windows-1252?Q?wBNOgoo+BkO6W34hn+A6y+v7ei+qlAw4M81hnB01/KyuZtuw2z7y77QH?= =?Windows-1252?Q?vkK+rSH/C71x5r95tJmcr0xRe9zq5NCjbV/NAK+G62p10bnCSVpQTxiU?= =?Windows-1252?Q?fP5RRw6v++ygMcJthPnj6R9aSjD97gMSBCE1+WvpXzIEXaOz3wz229Mp?= =?Windows-1252?Q?IrmnfoupJjMdHXpKzrtOrZRHdzOABi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Nu2O/aGV/u2J8PMR4fZSMw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;VI1PR0801MB1949;7:cQe1rdr0v/CqtAF38ZQxSc3tvdk9JUiQ9ew/Oa3bpYbwwBUSD7+vOU983ZjGxAczbGzYBqtaWoIzfv35IzZJKTCssaS4Aoh0wBHSgrl33euWw4JtPK4LpIGwpxSMRdl0IXIJ7f6rTiHG6/T6By2wZC6vVa5OVUJEtcfi4OxWy9XP0586YzMb8qbtwSVlFJHfPkGt3zpKaMCV4mhPHuNn8Jcpo0cA0Q8d201U0EDxz0+VcUfWGJ4A15nelAmqGZ68zEUEthjPuiSuUBZSQt6nyrnDwyq9R5w8ySCDfCI+sqNlJzNVJAniP+yfVOY1toB9LFM1bv/SusGLRL+9logZqFgqTy30716VSJeG1zefFDnd6Wn0vabPQ0IOwc/BuZSlu2uq18mJtWYfH2dkW2Zz9FaBSDhu6Sssu+T8/yooiVOFaD4xk+8WIgi37t/asqdXX+IBXoiPK9Ar5aYtd994m47ntLpgK2vDjUSgRNsCgilZWns0lEg87ndTopdyG68bjxLbkflYNGYivSRuC0QG/avH2eDCPX0b3YZ6gn98pULI2+RNxxcIP87iEfpX94NGOVGqAxDt5EhL4RWlFxJZTwdSwVw3PW2DMd/+XEBbja4rYCkI5p/DpgRfrj3cO/xYIfxbgUILrtcvd9Rc30/o66nIR8clR6rCgpVk++JPGe1k5l2R/MyERMQLqqZ2aTdyGnYKTQvMXE+5mBEnGOAAjwasudhp3v6uG1ak7fuOL8oVzkfvj+LCSfUAuDKwZEv7mQ6VQkYD9J0r3H2qLGBiPOZHEELixGpXEhdlg6i5i5c= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2017 11:52:21.1327 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB1949 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v6OBqcrr003471 Content-Length: 1200 Lines: 18 On 19/07/17 17:01, Mark Rutland wrote: > * Should the kernel remove PACs when unwinding user stacks? > > This is simple to do, but it's arguably placing a policy in the kernel as to > what we expect user stacks to look like. Regardless, userspace will have to > perform this when unwinding with DWARF. I am not sure what do you mean. Do you mean stripping a PAC from a pointer during unwinding, so that user space can unwind the program without being aware of PAC? Can kernel remove PAC from all instruction pointers? Note that user space debugger may try to unwind in coredump, so if the contents dumped into coredump including PAC bits, debuggers still have to be aware of PAC (unless kernel can remove all PAC bits during coredump too). IMO, kernel needs to tell the truth to reflect the process/task state to the user space, and leave the user space to consume. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.