From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934324AbbDXT6Z (ORCPT ); Fri, 24 Apr 2015 15:58:25 -0400 Received: from mail.skyhub.de ([78.46.96.112]:55602 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933576AbbDXT6X (ORCPT ); Fri, 24 Apr 2015 15:58:23 -0400 Date: Fri, 24 Apr 2015 21:58:09 +0200 From: Borislav Petkov To: Andy Lutomirski Cc: Denys Vlasenko , x86@kernel.org, "H. Peter Anvin" , Andy Lutomirski , Denys Vlasenko , Linus Torvalds , Brian Gerst , Ingo Molnar , Steven Rostedt , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , Linux Kernel Mailing List Subject: Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue Message-ID: <20150424195809.GC24894@pd.tnic> References: <5d120f358612d73fc909f5bfa47e7bd082db0af0.1429841474.git.luto@kernel.org> <553A140E.9090409@redhat.com> <20150424105906.GB24894@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20150424105906.GB24894@pd.tnic> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 24, 2015 at 12:59:06PM +0200, Borislav Petkov wrote: > Yeah, that makes more sense. So I tested Andy's patch but changed it as > above and I get > > $ taskset -c 0 ./sysret_ss_attrs_32 > [RUN] Syscalls followed by SS validation > [OK] We survived Andy, you wanted the 64-bit version too: $ taskset -c 0 ./sysret_ss_attrs_64 [RUN] Syscalls followed by SS validation [OK] We survived $ taskset -c 0 ./sysret_ss_attrs_64 [RUN] Syscalls followed by SS validation [OK] We survived -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --