From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934061AbcATFwf (ORCPT ); Wed, 20 Jan 2016 00:52:35 -0500 Received: from terminus.zytor.com ([198.137.202.10]:56866 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933663AbcATFwZ (ORCPT ); Wed, 20 Jan 2016 00:52:25 -0500 Subject: Re: [PATCH v15 13/25] x86/reboot: Add ljmp instructions to stacktool whitelist To: Josh Poimboeuf , Ingo Molnar References: <20160112164711.GD22699@pd.tnic> <20160112174301.GD310@treble.redhat.com> <20160113105503.GB11575@gmail.com> <20160115060652.GA16760@treble.redhat.com> <20160115104145.GC25104@pd.tnic> <20160115110000.GB25002@gmail.com> <20160120054256.GA31495@treble.redhat.com> Cc: Borislav Petkov , Thomas Gleixner , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Michal Marek , Peter Zijlstra , Andy Lutomirski , Linus Torvalds , Andi Kleen , Pedro Alves , Namhyung Kim , Bernd Petrovitsch , Chris J Arges , Andrew Morton , Jiri Slaby , Arnaldo Carvalho de Melo From: "H. Peter Anvin" Message-ID: <569F2027.1070502@zytor.com> Date: Tue, 19 Jan 2016 21:50:31 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <20160120054256.GA31495@treble.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/19/16 21:42, Josh Poimboeuf wrote: >>>> >>>> Apparently(?) xen treats the ud2 special when it's followed by "78 65 >>>> 6e". This is confusing for stacktool because ud2 is normally a dead >>>> end, and it thinks the instructions after it will never run. >>>> Cute. UD2 followed by three ASCII characters. I guess that becomes really fun when using UD2 + a string for error reporting. Of course, no software does that... -hpa