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]
Message-ID: <20131011092837.GZ3626@debian70-amd64.local.net-space.pl>
Date:	Fri, 11 Oct 2013 11:28:37 +0200
From:	Daniel Kiper <daniel.kiper@...cle.com>
To:	ebiederm@...ssion.com, hbabu@...ibm.com, hpa@...ux.intel.com,
	keescook@...omium.org, vgoyal@...hat.com,
	kexec@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc:	david.vrabel@...rix.com, jbeulich@...e.com, keir@....org,
	xen-devel@...ts.xen.org
Subject: kexec: Clearing registers just before jumping into purgatory

Hi,

Could you explain why do you clear all registers just before jumping
into purgatory (please look into arch/x86/kernel/relocate_kernel_64.S
for more details)? There is no any single word about that. I do not
count comment which states what is going on. purgatory on entry does
not assume any value in registers. Are you going to use that feature
for something in the future (e.g. to differentiate between callers
and/or Linux versions if it be needed)?

By the way, interestingly it is not done if preserve_context is in force.

Daniel
--
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