<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/kill/kill.c, branch release/9.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2011-03-01T21:48:22Z</updated>
<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>
<entry>
<title>kill: Stop processing if a syntactically invalid pid is encountered.</title>
<updated>2010-07-29T16:40:45Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2010-07-29T16:40:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9e7839f6328cbab2a6548d521b3a65790c572a12'/>
<id>urn:sha1:9e7839f6328cbab2a6548d521b3a65790c572a12</id>
<content type='text'>
So a command like
  kill _HUP 1
now fails without sending SIGTERM to init.

The behaviour when kill(2) fails remains unchanged: processing continues.
This matches other implementations and POSIX and is useful for killing
multiple processes at once when some of them may already be gone.

PR:		bin/40282
</content>
</entry>
<entry>
<title>Do not restrict the allowed signals that can be specified by number</title>
<updated>2010-02-25T13:53:09Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2010-02-25T13:53:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c67ea27d10dbb1481e3de4686265b4a66ae3e879'/>
<id>urn:sha1:c67ea27d10dbb1481e3de4686265b4a66ae3e879</id>
<content type='text'>
to the list of signals that has symbolic name. It was impossible to
send rt signals with kill(1) due to the check.

MFC after:	1 week
</content>
</entry>
<entry>
<title>/*- or .\"- or #- to begin license clauses.</title>
<updated>2005-01-10T08:39:26Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-10T08:39:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ddb49cbe45441fa3f3a10f6dd355e9956480b5f'/>
<id>urn:sha1:9ddb49cbe45441fa3f3a10f6dd355e9956480b5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove clause 3 from the UCB licenses.</title>
<updated>2004-04-06T20:06:54Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2004-04-06T20:06:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9'/>
<id>urn:sha1:6195fb4102afbdfc3da8c0ac2e4cacb0f37d89a9</id>
<content type='text'>
OK'ed by:	imp, core
</content>
</entry>
<entry>
<title>static and const.</title>
<updated>2004-03-15T04:10:29Z</updated>
<author>
<name>Juli Mallett</name>
<email>jmallett@FreeBSD.org</email>
</author>
<published>2004-03-15T04:10:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c83afe7be91c8a2e06026a453016d608882514d4'/>
<id>urn:sha1:c83afe7be91c8a2e06026a453016d608882514d4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use sys_nsig instead of the static NSIG.  DragonflyBSD kill.c:1.3</title>
<updated>2004-01-28T19:04:14Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2004-01-28T19:04:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=205bc8633eccc2f6cda5850501dfae77bb9b4433'/>
<id>urn:sha1:205bc8633eccc2f6cda5850501dfae77bb9b4433</id>
<content type='text'>
Obtained from:	DragonflyBSD
</content>
</entry>
<entry>
<title>Quiet warnings about copyright[].</title>
<updated>2003-05-01T16:58:57Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-05-01T16:58:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=09a80d4867b85b3df9856d150eb565232dc900d4'/>
<id>urn:sha1:09a80d4867b85b3df9856d150eb565232dc900d4</id>
<content type='text'>
</content>
</entry>
</feed>
