Stable release 4.4.286 broken for ARM64 with CONFIG_CC_STACKPROTECTOR=y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

latest stable release 4.4.286 does not build for me on ARM64 with 
CONFIG_CC_STACKPROTECTOR=y.

The offending commit

commit 69e450b170995e8a4e3eb94fb14c822553124870
Author: Dan Li <ashimida@xxxxxxxxxxxxxxxxx>
Date:   Tue Sep 14 11:44:02 2021

     arm64: Mark __stack_chk_guard as __ro_after_init

The 4.4.y kernel does not have the ro_after_init section defined at all, 
stable kernel 4.9.y is the first to have it.

I do not have an overview of this feature, but it appears to have 
started with commit

commit c74ba8b3480da6ddaea17df2263ec09b869ac496
Author: Kees Cook <keescook@xxxxxxxxxxxx>
Date:   Wed Feb 17 23:41:15 2016

     arch: Introduce post-init read-only memory

-- 
Best regards, Hans-Christian Noren Egtvedt.




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux