Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | killall: add -q flag to suppress error message when no processes are matched | mjg | 2013-06-30 | 2 | -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 considers | kib | 2012-06-30 | 1 | -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. | kib | 2012-06-30 | 1 | -1/+1 |
| | | | | MFC after: 3 days | ||||
* | Only initialize array of mibs once. | kib | 2012-06-30 | 1 | -3/+4 |
| | | | | MFC after: 3 days | ||||
* | Initialize procs closer to the place were it is used. | kib | 2012-06-30 | 1 | -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 done | delphij | 2012-06-27 | 2 | -3/+22 |
| | | | | | | in pkill(1). MFC after: 2 weeks | ||||
* | mdoc: terminate quoted strings. | joel | 2012-03-26 | 1 | -1/+1 |
| | | | | Reviewed by: brueffer | ||||
* | Simplify various code that allowed for sys_signame being lower case. | jilles | 2011-03-06 | 1 | -16/+3 |
| | | | | This was changed in r218285. | ||||
* | Make sys_signame upper case. | jilles | 2011-02-04 | 1 | -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 order | uqs | 2010-05-13 | 1 | -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/Os | uqs | 2010-04-14 | 1 | -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. | delphij | 2009-12-26 | 1 | -3/+3 |
| | | | | Submitted by: b. f. <bf1783 googlemail com> | ||||
* | Document the difference between FreeBSD and traditional System V killall | delphij | 2009-12-25 | 1 | -1/+12 |
| | | | | | | commands. MFC after: 1 month | ||||
* | Revert most part of 200420 as requested, as more review and polish is | delphij | 2009-12-13 | 1 | -0/+2 |
| | | | | needed. | ||||
* | Remove unneeded header includes from usr.bin/ except contributed code. | delphij | 2009-12-11 | 1 | -2/+0 |
| | | | | Tested with: make universe | ||||
* | Add libjail, a (somewhat) simpler interface to the jail_set and jail_get | jamie | 2009-06-24 | 2 | -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) | jamie | 2009-05-27 | 2 | -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. | delphij | 2008-11-19 | 1 | -4/+2 |
| | |||||
* | Fix a typo. | ru | 2007-11-09 | 1 | -1/+1 |
| | |||||
* | - Fix documentation to match code. Specifically, -c doesn't have | ru | 2007-11-09 | 1 | -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. | ru | 2007-11-09 | 1 | -9/+19 |
| | |||||
* | Added the EXIT STATUS section where appropriate. | ru | 2005-01-17 | 1 | -2/+2 |
| | |||||
* | The signal number has to be less than NSIG strictly. | maxim | 2004-07-29 | 1 | -1/+1 |
| | | | | | | PR: misc/69768 Submitted by: bronek MFC after: 1 week | ||||
* | Don't pass negative values into <ctype.h> functions on machines | tjr | 2004-07-15 | 1 | -3/+3 |
| | | | | with signed chars. | ||||
* | Print size_t with %zu, not %d. | tjr | 2004-07-15 | 1 | -1/+1 |
| | |||||
* | Respect locale settings from the environment. | tjr | 2004-07-15 | 1 | -0/+3 |
| | |||||
* | Mechanically kill hard sentence breaks. | ru | 2004-07-02 | 1 | -5/+9 |
| | |||||
* | Bump document date on behalf of the -e option. | ru | 2004-05-18 | 1 | -2/+2 |
| | | | | Spell "ID" correctly. | ||||
* | Add a cross-reference to pkill(1), now that pkill is hooked up to the build. | gad | 2004-03-27 | 1 | -0/+1 |
| | |||||
* | New -e flag, modifies the behavior of the -u uid flag to use the | dds | 2004-01-26 | 2 | -4/+16 |
| | | | | | | effective user id, instead of the real user id. MFC after: 2 weeks | ||||
* | Serial murderers shouldn't commit suicide. (killall should | cperciva | 2004-01-22 | 1 | -0/+4 |
| | | | | | | | avoid killing itself.) PR: bin/46107 Submitted by: stacey <stacey_@starwhack.net> | ||||
* | o -m flags contructs case sensitive RE, not case insensitive. | maxim | 2004-01-18 | 1 | -1/+1 |
| | | | | MFC after: 1 week | ||||
* | o Sync usage() and man page synopsis with reality. | maxim | 2004-01-18 | 2 | -9/+3 |
| | | | | MFC after: 1 week | ||||
* | Use the 3-component version of the KERN_PROC_PROC sysctl. | tjr | 2003-09-27 | 1 | -1/+3 |
| | |||||
* | Use KERN_PROC_PROC instead of KERN_PROC_ALL when enumerating processes so | tjr | 2003-09-07 | 1 | -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. | imp | 2003-04-27 | 1 | -0/+2 |
| | | | | Submitted by: Joe Marcus Clarke in current@ | ||||
* | o Add jls(8) for listing active jails. | mike | 2003-04-09 | 2 | -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. | charnier | 2003-02-05 | 1 | -5/+1 |
| | |||||
* | s/progname/procname/ to be consistent with the other occurrences | rse | 2002-07-15 | 1 | -1/+1 |
| | | | | of the option -c argument in SYNOPSIS and DESCRIPTION. | ||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 1 | -2/+3 |
| | |||||
* | mdoc(7) police: lint. | ru | 2002-05-29 | 1 | -1/+1 |
| | |||||
* | Mark a warning as such. Without this, it isn't obvious whether | dd | 2002-05-20 | 1 | -2/+2 |
| | | | | | killall stopped after failing to kill one process or whether it kept going. | ||||
* | Use `The .Nm utility' | charnier | 2002-04-20 | 1 | -3/+4 |
| | |||||
* | Skip zombies. Add an option (-z) to revert to the historical behaviour | des | 2002-04-14 | 2 | -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 parsed | dwmalone | 2002-03-30 | 1 | -1/+1 |
| | | | | the entire string. This avoids signed/unsigned comparison. | ||||
* | killall operates on all processes owned by the real uid, not the | bsd | 2001-11-30 | 1 | -2/+2 |
| | | | | | | effective uid. MFC after: 3 days | ||||
* | Compensate for "Compensate for header dethreading" by backing it out. | bde | 2001-10-10 | 1 | -1/+0 |
| | |||||
* | mdoc(7) police: | ru | 2001-08-07 | 1 | -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. | dd | 2001-07-15 | 1 | -5/+5 |
| | |||||
* | mdoc(7) police: removed HISTORY info from the .Os call. | ru | 2001-07-10 | 1 | -1/+1 |
| |