Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754427AbbGTBJS (ORCPT ); Sun, 19 Jul 2015 21:09:18 -0400 Received: from mail-yk0-f172.google.com ([209.85.160.172]:36140 "EHLO mail-yk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753955AbbGTBJQ (ORCPT ); Sun, 19 Jul 2015 21:09:16 -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 v3] x86: vm86 cleanups Date: Sun, 19 Jul 2015 21:09:03 -0400 Message-Id: <1437354550-25858-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: 884 Lines: 20 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 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/