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>] [day] [month] [year] [list]
Date:	Fri, 29 Jan 2016 19:00:42 +0600
From:	Alexnader Kuleshov <kuleshovmail@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Why do we reserve 8 bytes on top of the boot time stack?

Hello,

We reserve top 8 bytes of the boot stack in the arch/x86/kernel/head_64.S:

GLOBAL(stack_start)
.quad  init_thread_union+THREAD_SIZE-8

So, the question is in subject. Why? I've found definition of the
TOP_OF_KERNEL_STACK_PADDING macro arch/x86/include/asm/thread_info.h,
but it is zero for the x86_64.

Thank you.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ