freebsd-skq/sys/ddb
dd da78f952f3 Implement a "kill" DDB command which is an interface to psignal() that
respects locks.  Before SMPng, one was able to call psignal()
using the "call" command, but this is no longer possible because it
does not respect locks by itself.  This is very useful when one has
gotten their machine into a state where it is impossible to spawn
ps/kill or su to root.

In this case, respecting locks essentially means trying to aquire the
proc lock before calling psignal().  We can't block in the debugger,
so if trylock fails, the operation fails.  This also means that we
can't use pfind(), since that will attempt to lock the process for us.

Reviewed by:	jhb
2001-11-27 19:56:28 +00:00
..
db_access.c
db_access.h
db_break.c
db_break.h
db_command.c Implement a "kill" DDB command which is an interface to psignal() that 2001-11-27 19:56:28 +00:00
db_command.h
db_examine.c
db_expr.c
db_input.c
db_kld.c
db_lex.c
db_lex.h
db_output.c
db_output.h
db_print.c
db_ps.c
db_run.c
db_sym.c
db_sym.h
db_sysctl.c
db_trap.c
db_variables.c
db_variables.h
db_watch.c
db_watch.h
db_write_cmd.c
ddb.h