Path: csiph.com!eternal-september.org!feeder.eternal-september.org!newsfeed.Update.UU.SE!news.Update.UU.SE!itgate.net!bofh.it!news.nic.it!robomod From: Linus Torvalds Newsgroups: linux.kernel Subject: Re: [Regression v4.2 ?] 32-bit seccomp-BPF returned errno values wrong in VM? Date: Fri, 14 Aug 2015 01:00:02 +0200 Message-ID: References: X-Original-To: Andy Lutomirski Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=aCFV8pf8g0OvHnCeaK3a7CRgss7tO8mxDEBC9CrMJWE=; b=qhyYvpzkjD49uDrri5Z/64CF/6gPUdQZdLKpmDMs4yJbaGiDNL4i1FhJiE3WzKOgOa mhk6s+An0lNQtwKef1ecILtJ/sG2Zf3eQEhU99+WfFDkkzaitB3Dc5+MTJjPSuqcb5AU hX6IzamFxBubUHGMnlzEnadyqIfmGoiEaIOezN+tb2g7VzGez8A4OXGhZcsGhSLm5Kqy NneWePiOiVRuydqEncCm0DMYvD6zbD5+2RWTg/sfOFE9SBo/2oisTX2SV5sX44FOpoNw SHJQiE30XZvojJWBa3XPnuWA8LkyrkwLL1BL0dAEUn16Yp2g39Nk8g9kCWekoZunoMEY iNCA== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=aCFV8pf8g0OvHnCeaK3a7CRgss7tO8mxDEBC9CrMJWE=; b=E8BNEJXUit01doL1p4kmXhObKx1PrmCa5MFy54/LCcgZ4TYCXUGLd+ijMzJMoOPuqg YQYHUckL4fwWOYIhQKYy5JF39yz0a93H3WfmzKSQeLz0pZnHREgmp064JR7NsCmuQRgZ iPRb0foRvGTmdoXCdVx5+CyxvpZWwozJZIqF8= MIME-Version: 1.0 X-Received: by 10.107.8.216 with SMTP id h85mr32175554ioi.89.1439506487230; Thu, 13 Aug 2015 15:54:47 -0700 (PDT) X-Google-Sender-Auth: 0AIqSHpqv5iZUbIgjeJ7LvH4rF0 Content-Type: text/plain; charset=UTF-8 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 20 Organization: linux.* mail to news gateway X-Original-Cc: Denys Vlasenko , Kees Cook , David Drysdale , "linux-kernel@vger.kernel.org" , Will Drewry , Ingo Molnar , Alok Kataria , Borislav Petkov , Alexei Starovoitov , Frederic Weisbecker , "H. Peter Anvin" , Oleg Nesterov , Steven Rostedt , X86 ML X-Original-Date: Thu, 13 Aug 2015 15:54:47 -0700 X-Original-Message-ID: X-Original-References: <55CCB510.3060807@redhat.com> <55CD0DAC.9080809@redhat.com> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1207219 On Thu, Aug 13, 2015 at 3:49 PM, Linus Torvalds wrote: > > Does the attached patch make sense and work? Btw, I'm not all that happy with it anyway. I still think Denys' patch also potentially changed what audit and strace see for %rax in the pt_regs to -ENOSYS, which I'm not convinced is a good change. But maybe that three-liner patch fixes the immediate problem that David sees. David? Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/