/proc/pid/stack - kernel stack
- /proc/pid/stack (since Linux 2.6.29)
- This file provides a symbolic trace of the function calls in this
process's kernel stack. This file is provided only if the kernel was built
with the CONFIG_STACKTRACE configuration option.
- Permission to access this file is governed by a ptrace access mode
PTRACE_MODE_ATTACH_FSCREDS check; see ptrace(2).