FS#75620 - [linux] CONFIG_STACK_VALIDATION is missing in linux-5.19

Attached to Project: Arch Linux
Opened by Bjoern Bidar (Thaodan) - Tuesday, 16 August 2022, 08:01 GMT
Last edited by Toolybird (Toolybird) - Sunday, 18 September 2022, 00:42 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In linux-5.18.x an earlier 'CONFIG_STACK_VALIDATION' was enabled now it is not enabled anymore inside the kernel config.

Additional info:
* 5.19.1.arch2-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. zgrep /proc/config.gz|grep CONFIG_STACK_VALIDATION
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 18 September 2022, 00:42 GMT
Reason for closing:  No response
Comment by loqs (loqs) - Tuesday, 16 August 2022, 12:48 GMT
Please see [1] particularly in respect to CONFIG_UNWINDER_ORC which is enabled in the current config.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=03f16cd020eb8bb2eb837e2090086f296a9fa91d
Comment by Toolybird (Toolybird) - Wednesday, 17 August 2022, 05:37 GMT
Thanks for chiming in here @loqs

I just read this [1] and my head asplode :) IIUC, missing CONFIG_STACK_VALIDATION is expected now, and the functionality is covered by objtool? Hence we don't need to worry and can close this one?

[1] https://github.com/archlinux/linux/blob/v5.19.1-arch2/tools/objtool/Documentation/objtool.txt
Comment by loqs (loqs) - Wednesday, 17 August 2022, 22:38 GMT
@Toolybird that is my understanding as well.
@Thaodan has something broken because it depended on CONFIG_STACK_VALIDATION?

Loading...