summaryrefslogtreecommitdiff
path: root/usr.bin/pkill
AgeCommit message (Expand)Author
2021-09-01A couple commands don't need sys/param.h, but they do need sys/signal.hTheo de Raadt
2020-11-14Simplify wording of the matching rules, with help and ok jmc@Otto Moerbeek
2019-12-16Delete tests for P_THREAD that predate the existence ofPhilip Guenther
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-09-16Use uid_from_user(3) and gid_from_group(3) in utilities thatTodd C. Miller
2018-08-31clarify that patterns are extended regular expressions; ok millert@ phessler@Christian Weisgerber
2017-07-09remove redundant variable declarations in Makefiles, since those areMarc Espie
2016-10-10- mark delim variable as const. it is a literal string;Gleydson Soares
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
2015-10-11fix a regression spotted by chris@. the -f and -I arguments fetch processTheo de Raadt
2015-10-10pkill has to get all the getopt, getpwuid, libkvm stuff out of the wayTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-05-07calloc, from peter maloneTed Unangst
2013-11-12simpler prototype repairsTheo de Raadt
2013-09-22Stop merging the per-thread and per-process flags when reportingPhilip Guenther
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2013-06-03sort options list;Jason McIntyre
2013-06-03-I to confirm pkills. ok manyTed Unangst
2012-12-12properly handle the case where a process has disappeared in between grep'ingAlexander Hall
2012-08-21Missing "-q" in usage().Antoine Jacoutot
2012-08-21Sort options.Antoine Jacoutot
2012-08-21add -q "silent" option similar to grepMarc Espie
2012-07-10make pkill -l print the proper processes also when the invert (-v)Alexander Hall
2012-04-21Remove a check made superfluous by the KERN_PROC_SHOW_THREADS flag.Philip Guenthe
2012-04-12Add per thread accounting, mainly for usage & friends.Paul Irofti
2012-03-13Teach pgrep/pkill to only match processes, not threads. ok guenther@Stuart Henderson
2012-03-01Remove unused variable. Added in 1.20 by me.lum
2012-02-16exit usage() with STATUS_BADUSAGE rather than STATUS_ERROR, per the man page;Jason McIntyre
2012-02-15avoid usage() warping onto the next line;Jason McIntyre
2012-02-09restrict pkill/pgrep to the routing domain specified by -T; ok henning@, mpf@Markus Friedl
2012-01-17Allow pkill to use the -l option. This displays which processes have beenlum
2011-04-10Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc nowPhilip Guenthe
2010-09-29various EXIT STATUS fixes; from Daniel DickmanJason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-07-27document how patterns are matched and that only the first 16 charsJason McIntyre
2009-06-07tweak -v; from Tim van der MolenJason McIntyre
2009-03-26fix a few typographical errors found by spell(1).Igor Sobrado
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-02-11bump Mdocdate for pages committed in "febuary", necessary becauseJason McIntyre
2008-02-07Add add -o flag to pkill/pgrep like on Solaris and Linux.Todd C. Miller
2007-10-31"signal" is an argument, not a flag;Jason McIntyre
2007-05-31convert to new .Dd format;Jason McIntyre
2006-09-19Use S_IS* macros insted of masking with S_IF* flags. The latter mayOtto Moerbeek
2005-07-16- basic cleanupJason McIntyre
2005-07-16sort options and sync usage();Jason McIntyre
2005-05-20Don't print an empty line when no match is found in pgrep mode.Otto Moerbeek
2005-04-11handle snprintf return value overflow case; ok ottoTheo de Raadt
2005-03-27revert r1.9; this one needs more discussionRobert Nagy
2005-03-27add a -i option to ignore case distinctions in the process match;Robert Nagy
2005-03-02Report non-existing user or groupname correctly. From David BrownleeOtto Moerbeek