unwind_user/sframe: Add .sframe validation option

Add a debug feature to validate all .sframe sections when first loading
the file rather than on demand.

Changes since v8: https://lore.kernel.org/20250708021200.223446028@kernel.org

- Add "safe_read_fre()" and "safe_read_fde()" to call their respective
  functions with a user_read_access_begin() wrapper around them so that
  the validator can simply use dbg_sec() directly instead of a _uaccess()
  hacked version.

Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2 files changed