lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 31 Jul 2015 14:41:07 -0700
From:	Andy Lutomirski <luto@...nel.org>
To:	x86@...nel.org, linux-kernel@...r.kernel.org
Cc:	Brian Gerst <brgerst@...il.com>,
	Denys Vlasenko <dvlasenk@...hat.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Borislav Petkov <bp@...en8.de>,
	Oleg Nesterov <oleg@...hat.com>,
	Eric Paris <eparis@...isplace.org>,
	Andy Lutomirski <luto@...nel.org>
Subject: [PATCH 0/3] x86/entry: 32-bit C exit conversion and code deletion

[Resend, this time to lkml, too.  Sigh, I'm bad at this email thing.]

As promised, here's the 32-bit code.  Lightly tested.  Brian, thanks for
cleaning up the vm86 mess.

I can imagine some objections to patch 1.  I wonder how many users
actually care about 32-bit audit performance.  It ought to be relatively
straightforward to come up with a clean opportunistic sysexit
implementation for 32-bit kernels, which would fix the performance
regression (mostly, at least) and would speed up lots of other
workloads.

Are these okay as is, or is opportunistic sysexit a prerequisite?

Applies to tip/x86/asm.

P.S. Denys, I think we should do opportunistic sysretl on 64-bit
kernels.  That would be much nicer on top of your sysexit cleanup
series.

Andy Lutomirski (3):
  x86/entry/32: Remove 32-bit syscall audit optimizations
  x86/entry/32: Migrate to C exit path
  x86/entry: Remove do_notify_resume, syscall_trace_leave, and their TIF
    masks

 arch/x86/entry/common.c            |  57 --------------------
 arch/x86/entry/entry_32.S          | 108 +++++--------------------------------
 arch/x86/include/asm/ptrace.h      |   1 -
 arch/x86/include/asm/signal.h      |   1 -
 arch/x86/include/asm/thread_info.h |  16 ------
 5 files changed, 12 insertions(+), 171 deletions(-)

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ