summaryrefslogtreecommitdiffstats
path: root/usr.bin/killall
Commit message (Collapse)AuthorAgeFilesLines
* killall: add -q flag to suppress error message when no processes are matchedmjg2013-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
* Once in a month, when the moon is full, killall mistakenly considerskib2012-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
* killall(1) does not use libkvm.kib2012-06-301-1/+1
| | | | MFC after: 3 days
* Only initialize array of mibs once.kib2012-06-301-3/+4
| | | | MFC after: 3 days
* Initialize procs closer to the place were it is used.kib2012-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
* Add a -I flag which requests confirmation before action, like what is donedelphij2012-06-272-3/+22
| | | | | | in pkill(1). MFC after: 2 weeks
* mdoc: terminate quoted strings.joel2012-03-261-1/+1
| | | | Reviewed by: brueffer
* Simplify various code that allowed for sys_signame being lower case.jilles2011-03-061-16/+3
| | | | This was changed in r218285.
* Make sys_signame upper case.jilles2011-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'.
* mdoc: move remaining sections into consistent orderuqs2010-05-131-11/+11
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-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)
* Fix grammar and reduce ambiguity.delphij2009-12-261-3/+3
| | | | Submitted by: b. f. <bf1783 googlemail com>
* Document the difference between FreeBSD and traditional System V killalldelphij2009-12-251-1/+12
| | | | | | commands. MFC after: 1 month
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+2
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-2/+0
| | | | Tested with: make universe
* Add libjail, a (somewhat) simpler interface to the jail_set and jail_getjamie2009-06-242-13/+6
| | | | | | system calls and the security.jail.param sysctls. Approved by: bz (mentor)
* Add support for the arbitrary named jail parameters used by jail_set(2)jamie2009-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)
* Use strlcpy() where appropriate.delphij2008-11-191-4/+2
|
* Fix a typo.ru2007-11-091-1/+1
|
* - Fix documentation to match code. Specifically, -c doesn't haveru2007-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.
* Fix numerous bugs when parsing options and arguments.ru2007-11-091-9/+19
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-2/+2
|
* The signal number has to be less than NSIG strictly.maxim2004-07-291-1/+1
| | | | | | PR: misc/69768 Submitted by: bronek MFC after: 1 week
* Don't pass negative values into <ctype.h> functions on machinestjr2004-07-151-3/+3
| | | | with signed chars.
* Print size_t with %zu, not %d.tjr2004-07-151-1/+1
|
* Respect locale settings from the environment.tjr2004-07-151-0/+3
|
* Mechanically kill hard sentence breaks.ru2004-07-021-5/+9
|
* Bump document date on behalf of the -e option.ru2004-05-181-2/+2
| | | | Spell "ID" correctly.
* Add a cross-reference to pkill(1), now that pkill is hooked up to the build.gad2004-03-271-0/+1
|
* New -e flag, modifies the behavior of the -u uid flag to use thedds2004-01-262-4/+16
| | | | | | effective user id, instead of the real user id. MFC after: 2 weeks
* Serial murderers shouldn't commit suicide. (killall shouldcperciva2004-01-221-0/+4
| | | | | | | avoid killing itself.) PR: bin/46107 Submitted by: stacey <stacey_@starwhack.net>
* o -m flags contructs case sensitive RE, not case insensitive.maxim2004-01-181-1/+1
| | | | MFC after: 1 week
* o Sync usage() and man page synopsis with reality.maxim2004-01-182-9/+3
| | | | MFC after: 1 week
* Use the 3-component version of the KERN_PROC_PROC sysctl.tjr2003-09-271-1/+3
|
* Use KERN_PROC_PROC instead of KERN_PROC_ALL when enumerating processes sotjr2003-09-071-7/+4
| | | | | that we kill each process once, not once for every thread it owns. This avoids "No such process" warnings when killing threaded processes.
* make "killall -j" not core dump.imp2003-04-271-0/+2
| | | | Submitted by: Joe Marcus Clarke in current@
* o Add jls(8) for listing active jails.mike2003-04-092-4/+28
| | | | | | | o Add jexec(8) to execute a command in an existing jail. o Add -j option for killall(1) to kill all processes in a specified jail. o Add -i option to jail(8) to output jail ID of newly created jail.
* Header was included twice. Hardcode program name in usage string.charnier2003-02-051-5/+1
|
* s/progname/procname/ to be consistent with the other occurrencesrse2002-07-151-1/+1
| | | | of the option -c argument in SYNOPSIS and DESCRIPTION.
* Consistently use FBSDIDobrien2002-06-301-2/+3
|
* mdoc(7) police: lint.ru2002-05-291-1/+1
|
* Mark a warning as such. Without this, it isn't obvious whetherdd2002-05-201-2/+2
| | | | | killall stopped after failing to kill one process or whether it kept going.
* Use `The .Nm utility'charnier2002-04-201-3/+4
|
* Skip zombies. Add an option (-z) to revert to the historical behaviourdes2002-04-142-0/+11
| | | | | of trying to kill zombies (which has no effect except emit a few error messages)
* Use the method described in the strtol man page to check if it parseddwmalone2002-03-301-1/+1
| | | | the entire string. This avoids signed/unsigned comparison.
* killall operates on all processes owned by the real uid, not thebsd2001-11-301-2/+2
| | | | | | effective uid. MFC after: 3 days
* Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-101-1/+0
|
* mdoc(7) police:ru2001-08-071-1/+2
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Remove whitespace at EOL.dd2001-07-151-5/+5
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
OpenPOWER on IntegriCloud