From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932701AbaFPV7h (ORCPT ); Mon, 16 Jun 2014 17:59:37 -0400 Received: from terminus.zytor.com ([198.137.202.10]:53684 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932529AbaFPV6x (ORCPT ); Mon, 16 Jun 2014 17:58:53 -0400 Message-ID: <539F6889.8040103@zytor.com> Date: Mon, 16 Jun 2014 14:58:33 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Andy Lutomirski CC: Richard Weinberger , X86 ML , =?UTF-8?B?VG9yYWxmIEbDtnJzdGVy?= , Eric Paris , Linux Kernel Subject: Re: 3.15: kernel BUG at kernel/auditsc.c:1525! References: <539F1C59.6070308@gmx.de> <539F297F.7010904@nod.at> <539F2B2D.6050105@gmx.de> <539F3077.7040005@gmx.de> <539F35A0.2050002@gmx.de> <539F567F.2050802@gmx.de> <539F5702.5050104@nod.at> <539F6646.4040605@zytor.com> In-Reply-To: X-Enigmail-Version: 1.6 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 > > For 64-bit, I want to do this instead: > > https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/commit/?h=x86/seccomp-fastpath&id=a5ec2d7af2c54b55fc7201fa662138b53fbbda39 > > I see no reason why the 64-bit badsys code needs its own code path at > all. I haven't sent it yet because AFAICT it doesn't fix any bug, and > the series it's a part of isn't ready. > > I'm also contemplating rewriting the 64-bit syscall entry work path in C. > Cute... although it still leaves an extra branch for the badsys. It might perform better than a cmov, but it might not. -hpa