<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/kill/kill.c, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-11-20T19:49:47Z</updated>
<entry>
<title>General further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-20T19:49:47Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-20T19:49:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a16b7a18f5d0b031f09832fd7752fba717e2a97'/>
<id>urn:sha1:8a16b7a18f5d0b031f09832fd7752fba717e2a97</id>
<content type='text'>
Mainly focus on files that use BSD 3-Clause license.

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.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
</content>
</entry>
<entry>
<title>Don't kill pid -1 on overflow from strtol(3).</title>
<updated>2017-03-05T21:56:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-03-05T21:56:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=27ca6260e0f2f83d19d1b37161afec96b6949416'/>
<id>urn:sha1:27ca6260e0f2f83d19d1b37161afec96b6949416</id>
<content type='text'>
Store the result in a proper long and then compare to the proper pid_t
for overflow, so that no MD assumptions are made.

Reviewed by:	jilles
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D9887
</content>
</entry>
<entry>
<title>Renumber copyright clause 4</title>
<updated>2017-02-28T23:42:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-02-28T23:42:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fbbd9655e5107c68e4e0146ff22b73d7350475bc'/>
<id>urn:sha1:fbbd9655e5107c68e4e0146ff22b73d7350475bc</id>
<content type='text'>
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann &lt;jschauma@stevens.edu&gt;
Pull Request:	https://github.com/freebsd/freebsd/pull/96
</content>
</entry>
<entry>
<title>sh: Fix compiler warnings related to duplicate or missing declarations.</title>
<updated>2015-03-01T21:46:55Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2015-03-01T21:46:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=22ea47ec90b51ecbe6d2883ccee30d312c162044'/>
<id>urn:sha1:22ea47ec90b51ecbe6d2883ccee30d312c162044</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sh: Allow kill %job on jobs started without job control.</title>
<updated>2014-03-15T14:58:48Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2014-03-15T14:58:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=76961687061bd93c0158c29f839c064613aee364'/>
<id>urn:sha1:76961687061bd93c0158c29f839c064613aee364</id>
<content type='text'>
When killing a %job started without job control, kill all processes in it.
As with process groups and zombies, if any process in the job can be killed
or has already terminated, the command is successful.

This also fixes occasional failures of the builtins/kill1.0 test.
</content>
</entry>
<entry>
<title>sh: Successfully do nothing when killing a terminated job.</title>
<updated>2014-03-08T19:44:34Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2014-03-08T19:44:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4646e82dcddad936e873c591ce5cce0652362c0e'/>
<id>urn:sha1:4646e82dcddad936e873c591ce5cce0652362c0e</id>
<content type='text'>
If a job has terminated but is still known, silently do nothing when using
the kill builtin with the job specifier. Formerly, the shell called kill()
with the process group ID that might have been reused.
</content>
</entry>
<entry>
<title>Remove cast that was only required for K&amp;R C.</title>
<updated>2013-04-28T22:05:01Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-04-28T22:05:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cdbf4feea979cc590533bd50713c1d70d99b82b6'/>
<id>urn:sha1:cdbf4feea979cc590533bd50713c1d70d99b82b6</id>
<content type='text'>
Reviewed by:	jilles
</content>
</entry>
<entry>
<title>kill: Note that this is used both as a normal program and a shell builtin.</title>
<updated>2011-03-01T21:48:22Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2011-03-01T21:48:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3658c9776ecf57d788ab793e9e16215fdabcc0d6'/>
<id>urn:sha1:3658c9776ecf57d788ab793e9e16215fdabcc0d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make sys_signame upper case.</title>
<updated>2011-02-04T16:40:50Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2011-02-04T16:40:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=12dacf622b5b8b31e2bcca0bebc9d3dba4755a83'/>
<id>urn:sha1:12dacf622b5b8b31e2bcca0bebc9d3dba4755a83</id>
<content type='text'>
This matches the constants from &lt;signal.h&gt; 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'.
</content>
</entry>
<entry>
<title>sh: Add kill builtin.</title>
<updated>2010-12-21T22:47:34Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-12-21T22:47:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a62a9caa9b95a5ae7fe502628ef0fd31dca16bd'/>
<id>urn:sha1:0a62a9caa9b95a5ae7fe502628ef0fd31dca16bd</id>
<content type='text'>
This allows specifying a %job (which is equivalent to the corresponding
process group).

Additionally, it improves reliability of kill from sh in high-load
situations and ensures "kill" finds the correct utility regardless of PATH,
as required by POSIX (unless the undocumented %builtin mechanism is used).

Side effect: fatal errors (any error other than kill(2) failure) now return
exit status 2 instead of 1. (This is consistent with other sh builtins, but
not in NetBSD.)

Code size increases about 1K on i386.

Obtained from:	NetBSD
</content>
</entry>
</feed>
