mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
666f085811
In Linux 6.1, `KSYM_NAME_LEN` was increased to 512 because "at the moment, Rust symbols may reach up to 300 in length", according to https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/include/linux/kallsyms.h?id=b8a94bfb33952bb17fbc65f8903d242a721c533d Even though the version of `chipsec_lookup_name` which parses the content of `/proc/kallsyms` is limited to kernels older than 5.10, increase the size of the stack buffer to prevent possible issues. Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>