Messages in this thread | | | From | Brian Gerst <> | Subject | [PATCH v3] x86: vm86 cleanups | Date | Sun, 19 Jul 2015 21:09:03 -0400 |
| |
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.
| |