summaryrefslogtreecommitdiff
path: root/usr.bin/pkill
AgeCommit message (Collapse)Author
2004-07-15Don't print a warning if kill(2) returns ESRCH since the process may haveTodd C. Miller
died on its own in the time between when the process list was consulted and when we do the actual kill. This fixes an annoyance for privsep processes (and others) where when you kill one the others die by themselves.
2004-07-15Skip SYSTEM and ourown proccess on every loop.Mike Pechkin
millert@, otto@
2004-07-06add pgrep to .Nm line to allow `apropos/whatis pgrep' to work;Jason McIntyre
2004-06-24When given multiple processes to kill, keep going if we are unable to killTodd C. Miller
one (previously it would error out and not kill the remaining ones). OK deraadt@
2004-03-12knfTheo de Raadt
2004-01-07Convert back to using kvm_getproc2() and friends now that libkvmTodd C. Miller
supports it.
2004-01-06We don't have signal(7)Todd C. Miller
2004-01-06pkill/pgrep from NetBSD with changes to use kvm_getprocs(). SelectingTodd C. Miller
on session ID does not current work but that will change once the kernel supports the KERN_PROC2 sysctl and pkill/pgrep is modified to use kvm_getproc2(). OK deraadt@