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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1460991670-32187-1-git-send-email-mbenes@suse.cz>
Date:	Mon, 18 Apr 2016 17:01:08 +0200
From:	Miroslav Benes <mbenes@...e.cz>
To:	jpoimboe@...hat.com
Cc:	jikos@...nel.org, jeyu@...hat.com, linux-kernel@...r.kernel.org,
	live-patching@...r.kernel.org, vojtech@...e.com, jslaby@...e.cz,
	pmladek@...e.cz, Miroslav Benes <mbenes@...e.cz>
Subject: [RFC PATCH 0/2] s390/klp: s390 support

So this is something we have in kGraft for a while (though the actual
implementation in s390's entry.S differs).

The first patch is needed because we want our TIF flag to be part of
_TIF_WORK and s390's tm instruction tests only 8-bits.

The second patch adds a call to klp_update_task_universe() to entry.S.
Specifically to syscall and interrupt return paths.

WARNING: It is only compile-tested. It even cannot be linked, because
klp_update_task_universe() is static inline. Josh, you're gonna change
this part anyway to remove TIF_KLP_NEED_UPDATE from arch-independent
code, aren't you? 

Comments are obviously welcome. s390 maintainters not CC'ed yet.

Jiri Slaby (1):
  s390: livepatch, reorganize TIF bits

Miroslav Benes (1):
  s390/klp: update task universe when exiting kernel

 arch/s390/include/asm/thread_info.h | 24 ++++++++++++++++--------
 arch/s390/kernel/entry.S            | 31 ++++++++++++++++++++++++++++++-
 2 files changed, 46 insertions(+), 9 deletions(-)

-- 
2.8.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ