Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752603AbbG2Flg (ORCPT ); Wed, 29 Jul 2015 01:41:36 -0400 Received: from mail-yk0-f181.google.com ([209.85.160.181]:33888 "EHLO mail-yk0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751291AbbG2Fle (ORCPT ); Wed, 29 Jul 2015 01:41:34 -0400 From: Brian Gerst To: x86@kernel.org, linux-kernel@vger.kernel.org Cc: Ingo Molnar , "H. Peter Anvin" , Denys Vlasenko , Andy Lutomirski , Linus Torvalds Subject: [PATCH v4] x86: vm86 cleanups Date: Wed, 29 Jul 2015 01:41:15 -0400 Message-Id: <1438148483-11932-1-git-send-email-brgerst@gmail.com> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1140 Lines: 27 The goal of this set of patches is to change vm86 support to return to userspace with the normal exit paths instead of leaving data on the kernel stack and jumping directly into the exit asm routines. This fixes issues like ptrace and syscall auditing not working with vm86, and makes possible cleanups in the syscall exit work code. Changes from v3: - Removed patches already accepted - Renamed some fields per Ingo - Added patches to allow disabling hardware IRQ support and to fix includes - Added helper macro for free_vm86 (Note: could not use inline function due to header issues) Changes from v2: - Use gs slot of regs32 (present but unused in lazy mode) - Add access_ok() checks before get_user_try/put_user_try Changes from v1: - Added first two patches - Changed userspace access to copy each field explicitly instead of relying on the same order of members in the structure. -- 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/