aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/killall
Commit message (Collapse)AuthorAgeFilesLines
* killall(1): Clarify -d, -s and -v optionsFernando Apesteguía2020-06-271-11/+13
| | | | | | | | | | | | | | | | | -d and -v are not equivalent options. The former is more verbose than the latter and the former does not actually send the signals while the latter does. Let them have their own paragraphs. From the point of view of the output, -v is equivalent to -s, so describe them close to each other. The difference is that former actually sends the signals and the latter doesn't. PR: 247411 Approved by: manpages(0mp) Differential Revision: https://reviews.freebsd.org/D25413 Notes: svn path=/head/; revision=362678
* Belatedly bump .Dd for r361783Benjamin Kaduk2020-06-051-1/+1
| | | | | | | | Reported by: lwhsu Pointy hat to: bjk Notes: svn path=/head/; revision=361839
* Add EXAMPLES to killall(1)Benjamin Kaduk2020-06-041-0/+44
| | | | | | | | Submitted by: fernape Differential Revision: https://reviews.freebsd.org/D25002 Notes: svn path=/head/; revision=361783
* Revert r352953: Convert pnmatch to single element array in regexec callsAlexander Kabaev2019-10-021-7/+7
| | | | | | | Requested by: cem Notes: svn path=/head/; revision=353011
* Convert pnmatch to single element array in regexec callsAlexander Kabaev2019-10-021-7/+7
| | | | | | | | | | | | | | The regexec function is declared as taking an array of regmatch_t elements, and passing in the pointer to singleton element, while correct, triggers a Coverity warning. Convert the singleton into an array of one to silence the warning. Reported by: Coverity Coverity CID: 1009732, 1009733 MFC after: 2 weeks Notes: svn path=/head/; revision=352953
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-272-5/+6
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge headSimon J. Gerraty2014-04-281-5/+10
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * \ Merge from headSimon J. Gerraty2013-09-052-4/+11
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=255263
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync from headSimon J. Gerraty2012-11-042-13/+33
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | Adjust printf format specifiers for dev_t and ino_t in user space.Gleb Kurtsou2014-12-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ino_t and dev_t are about to become uint64_t. Reviewed by: kib, mckusick Notes: svn path=/head/; revision=275855
* | | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | | Re-work r260800 to include other signals which start with 'I'Christian S.J. Peron2014-01-171-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | such as ILL, INFO etc.. Submitted by: delphij MFC after: 2 weeks Notes: svn path=/head/; revision=260801
* | | | fix a regression introduced in r237618 that would result inChristian S.J. Peron2014-01-171-3/+9
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | killall confusing killall -INT with killall -I (interactive confirmation) which resulted in the wrong signal (TERM) being delivered to the process(s). Discussed with: delphij MFC after: 2 weeks Notes: svn path=/head/; revision=260800
* | | killall: add -q flag to suppress error message when no processes are matchedMateusz Guzik2013-06-302-4/+11
| |/ |/| | | | | | | | | | | | | | | | | | | Man-page text provided by wblock. PR: bin/30542 Submitted by: Tony Finch <dot@dotat.at> (original version) MFC after: 1 week Notes: svn path=/head/; revision=252428
* | Once in a month, when the moon is full, killall mistakenly considersKonstantin Belousov2012-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | living process as a zombie and refuses to kill it. The cause is that the code masks ki_stat with SZOMB to compare with SZOMB, but ki_stat is not a mask. Possibly reported by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=237847
* | killall(1) does not use libkvm.Konstantin Belousov2012-06-301-1/+1
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=237846
* | Only initialize array of mibs once.Konstantin Belousov2012-06-301-3/+4
| | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=237845
* | Initialize procs closer to the place were it is used.Konstantin Belousov2012-06-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | Free can properly handle NULL pointer (but keep free() call on the premise that the code might be reused). Show errno when realloc failed. MFC after: 3 days Notes: svn path=/head/; revision=237844
* | Add a -I flag which requests confirmation before action, like what is doneXin LI2012-06-272-3/+22
|/ | | | | | | | | in pkill(1). MFC after: 2 weeks Notes: svn path=/head/; revision=237618
* mdoc: terminate quoted strings.Joel Dahl2012-03-261-1/+1
| | | | | | | Reviewed by: brueffer Notes: svn path=/head/; revision=233510
* Simplify various code that allowed for sys_signame being lower case.Jilles Tjoelker2011-03-061-16/+3
| | | | | | | This was changed in r218285. Notes: svn path=/head/; revision=219347
* Make sys_signame upper case.Jilles Tjoelker2011-02-041-1/+1
| | | | | | | | | | | | | | | This matches the constants from <signal.h> with 'SIG' removed, which POSIX requires kill and trap to accept and 'kill -l' to write. 'kill -l', 'trap', 'trap -l' output is now upper case. In Turkish locales, signal names with an upper case 'I' are now accepted, while signal names with a lower case 'i' are no longer accepted, and the output of 'killall -l' now contains proper capital 'I' without dot instead of a dotted capital 'I'. Notes: svn path=/head/; revision=218285
* mdoc: move remaining sections into consistent orderUlrich Spörlein2010-05-131-11/+11
| | | | | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru Notes: svn path=/head/; revision=208028
* mdoc: order prologue macros consistently by Dd/Dt/OsUlrich Spörlein2010-04-141-1/+1
| | | | | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) Notes: svn path=/head/; revision=206622
* Fix grammar and reduce ambiguity.Xin LI2009-12-261-3/+3
| | | | | | | Submitted by: b. f. <bf1783 googlemail com> Notes: svn path=/head/; revision=201010
* Document the difference between FreeBSD and traditional System V killallXin LI2009-12-251-1/+12
| | | | | | | | | commands. MFC after: 1 month Notes: svn path=/head/; revision=200981
* Revert most part of 200420 as requested, as more review and polish isXin LI2009-12-131-0/+2
| | | | | | | needed. Notes: svn path=/head/; revision=200462
* Remove unneeded header includes from usr.bin/ except contributed code.Xin LI2009-12-111-2/+0
| | | | | | | Tested with: make universe Notes: svn path=/head/; revision=200420
* Add libjail, a (somewhat) simpler interface to the jail_set and jail_getJamie Gritton2009-06-242-13/+6
| | | | | | | | | system calls and the security.jail.param sysctls. Approved by: bz (mentor) Notes: svn path=/head/; revision=194869
* Add support for the arbitrary named jail parameters used by jail_set(2)Jamie Gritton2009-05-272-11/+22
| | | | | | | | | | | | | | | | | and jail_get(2). Jail(8) can now create jails using a "name=value" format instead of just specifying a limited set of fixed parameters; it can also modify parameters of existing jails. Jls(8) can display all parameters of jails, or a specified set of parameters. The available parameters are gathered from the kernel, and not hard-coded into these programs. Small patches on killall(1) and jexec(8) to support jail names with jail_get(2). Approved by: bz (mentor) Notes: svn path=/head/; revision=192896
* Use strlcpy() where appropriate.Xin LI2008-11-191-4/+2
| | | | Notes: svn path=/head/; revision=185074
* Fix a typo.Ruslan Ermilov2007-11-091-1/+1
| | | | Notes: svn path=/head/; revision=173506
* - Fix documentation to match code. Specifically, -c doesn't haveRuslan Ermilov2007-11-091-21/+15
| | | | | | | | | | to be specified together with either -u or -t to have an effect, and exit status of 2 is not possible after a Perl->C conversion. - While here, fix markup. Notes: svn path=/head/; revision=173504
* Fix numerous bugs when parsing options and arguments.Ruslan Ermilov2007-11-091-9/+19
| | | | Notes: svn path=/head/; revision=173502
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-2/+2
| | | | Notes: svn path=/head/; revision=140368
* The signal number has to be less than NSIG strictly.Maxim Konovalov2004-07-291-1/+1
| | | | | | | | | PR: misc/69768 Submitted by: bronek MFC after: 1 week Notes: svn path=/head/; revision=132851
* Don't pass negative values into <ctype.h> functions on machinesTim J. Robbins2004-07-151-3/+3
| | | | | | | with signed chars. Notes: svn path=/head/; revision=132193
* Print size_t with %zu, not %d.Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132192
* Respect locale settings from the environment.Tim J. Robbins2004-07-151-0/+3
| | | | Notes: svn path=/head/; revision=132191
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-5/+9
| | | | Notes: svn path=/head/; revision=131491
* Bump document date on behalf of the -e option.Ruslan Ermilov2004-05-181-2/+2
| | | | | | | Spell "ID" correctly. Notes: svn path=/head/; revision=129406