Files
chipsec-chipsec/drivers
Nicolas Iooss 666f085811 drivers/linux: increase the possible length of symbols
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>
2023-05-16 16:38:39 -07:00
..