diff options
author | Ian Moffett <ian@osmora.org> | 2025-08-06 00:30:29 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-08-06 00:33:32 -0400 |
commit | d097c4299109f056a425684955fc118e84f94fa1 (patch) | |
tree | 414ca51fa272fb6161d011b97af8d711335210b3 /lib/libc/src/hyra/mmap.c | |
parent | a731d4e3d7cb1cae46899af30f12cabe851c191d (diff) |
kernel/amd64: Limit frame depth in backtrace
A backtrace usually occurs during critcal system events like panics.
When the system in a error state, we cannot trust the correctness of the
stack. This commit aims to improve checks done in a731d4e by adding a
max frame depth that limits how many frames can be walked.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc/src/hyra/mmap.c')
0 files changed, 0 insertions, 0 deletions