summaryrefslogtreecommitdiffstats
path: root/etc/rc.devfs
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-11-27 19:56:28 +0000
committerdd <dd@FreeBSD.org>2001-11-27 19:56:28 +0000
commitda78f952f391aa86cf6f5b9b872501bc7d130c35 (patch)
tree5e0f8766c5361fccec64230a053d2af21500b83b /etc/rc.devfs
parent05ebaf9058f8cc353ae570684d94fcadd1320fb0 (diff)
downloadFreeBSD-src-da78f952f391aa86cf6f5b9b872501bc7d130c35.zip
FreeBSD-src-da78f952f391aa86cf6f5b9b872501bc7d130c35.tar.gz
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
Diffstat (limited to 'etc/rc.devfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud