Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757517AbbGHCdo (ORCPT ); Tue, 7 Jul 2015 22:33:44 -0400 Received: from mga03.intel.com ([134.134.136.65]:26267 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753991AbbGHCdf (ORCPT ); Tue, 7 Jul 2015 22:33:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,428,1432623600"; d="scan'208";a="724710682" Message-ID: <559C8BFE.6050604@linux.intel.com> Date: Tue, 07 Jul 2015 19:33:34 -0700 From: Arjan van de Ven User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Andy Lutomirski , x86@kernel.org, linux-kernel@vger.kernel.org CC: Oleg Nesterov , Kees Cook , Peter Zijlstra , Borislav Petkov , Linus Torvalds Subject: Re: [PATCH] x86/kconfig/32: Mark CONFIG_VM86 as BROKEN References: <23d4709cee2fe92c32d41b99c7a3c1823725925a.1436312944.git.luto@kernel.org> In-Reply-To: <23d4709cee2fe92c32d41b99c7a3c1823725925a.1436312944.git.luto@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1305 Lines: 32 On 7/7/2015 6:25 PM, Andy Lutomirski wrote: > VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is > in use. The code is a big undocumented mess, it's a real PITA to > test, and it looks like a big chunk of vm86_32.c is dead code. It > also plays awful games with the entry asm. > > No one should be using it anyway. Use DOSBOX or KVM instead. > > Mark it BROKEN. I want to remove some (obviously incorrect) exit > asm that it depends on, and I don't want to figure out how to run > severely obsolete programs just to test something that no one uses > for anything other than exploits anyway. > while it is never great to deprecate features, in this case I am not sure there is another choice unless someone steps up to seriously revamp this code. (and look at it from a PREEMPT, NO_HZ etc etc angle) if this patch would not be acceptable, at minimum we need some sort of "off by default unless the sysadmin flips a sysfs thing", which is really just a huge hack. so for me this is Acked-by: Arjan van de Ven -- 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/