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] [day] [month] [year] [list]
Message-Id: <9c732952-2ff6-4672-ab9a-76ac8590bf88@app.fastmail.com>
Date: Tue, 25 Nov 2025 21:49:22 +0800
From: "Jiaxun Yang" <jiaxun.yang@...goat.com>
To: "Huacai Chen" <chenhuacai@...ngson.cn>,
 "Huacai Chen" <chenhuacai@...nel.org>
Cc: loongarch@...ts.linux.dev, "Xuefeng Li" <lixuefeng@...ngson.cn>,
 "Guo Ren" <guoren@...nel.org>, "Xuerui Wang" <kernel@...0n.name>,
 linux-kernel@...r.kernel.org,
 "stable@...r.kernel.org" <stable@...r.kernel.org>,
 "kernel test robot" <lkp@...el.com>, "Rui Wang" <wangrui@...ngson.cn>
Subject: Re: [PATCH] LoongArch: Fix build errors for CONFIG_RANDSTRUCT



On Tue, 25 Nov 2025, at 4:25 PM, Huacai Chen wrote:
> When CONFIG_RANDSTRUCT enabled, members of task_struct are randomized.
> There is a chance that TASK_STACK_CANARY be out of 12bit immediate's
> range and causes build errors. TASK_STACK_CANARY is naturally aligned,
> so fix it by replacing ld.d/st.d with ldptr.d/stptr.d which have 14bit
> immediates.

Hi Huacai,

What about 32bit build in this case?

Thanks
Jiaxun

>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ