WSL2-Linux-Kernel/kernel/debug/kdb
Eric W. Biederman 0b44bf9a6f signal: Simplify and fix kdb_send_sig
- Rename from kdb_send_sig_info to kdb_send_sig
  As there is no meaningful siginfo sent

- Use SEND_SIG_PRIV instead of generating a siginfo for a kdb
  signal.  The generated siginfo had a bogus rationale and was
  not correct in the face of pid namespaces.  SEND_SIG_PRIV
  is simpler and actually correct.

- As the code grabs siglock just send the signal with siglock
  held instead of dropping siglock and attempting to grab it again.

- Move the sig_valid test into kdb_kill where it can generate
  a good error message.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
2018-01-03 18:01:08 -06:00
..
.gitignore
Makefile
kdb_bp.c mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel mappings 2016-02-22 08:51:37 +01:00
kdb_bt.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
kdb_cmds kdb: cleanup unused variables missed in the original kdb merge 2011-08-01 13:23:58 -05:00
kdb_debugger.c kgdb: timeout if secondary CPUs ignore the roundup 2014-11-11 09:31:53 -06:00
kdb_io.c kdb: Fix handling of kallsyms_symbol_next() return value 2017-12-06 16:12:43 -06:00
kdb_keyboard.c KDB: Fix usability issues relating to the 'enter' key. 2012-03-22 15:07:15 -05:00
kdb_main.c signal: Simplify and fix kdb_send_sig 2018-01-03 18:01:08 -06:00
kdb_private.h signal: Simplify and fix kdb_send_sig 2018-01-03 18:01:08 -06:00
kdb_support.c kdb: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:26 +08:00