<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/bin/pkill/pkill.c, branch releng/11.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-03-05T07:26:05Z</updated>
<entry>
<title>MFC r326276:</title>
<updated>2018-03-05T07:26:05Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-05T07:26:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=25d4b2c1b89d42d752e23f9935692f481cb272ea'/>
<id>urn:sha1:25d4b2c1b89d42d752e23f9935692f481cb272ea</id>
<content type='text'>
various: general adoption of SPDX licensing ID tags.

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.
</content>
</entry>
<entry>
<title>MFC r322210,r322613,r322831:</title>
<updated>2018-03-03T10:43:41Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-03T10:43:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ce33063b4ee6f4969bab2a73ac28fc7c5036527d'/>
<id>urn:sha1:ce33063b4ee6f4969bab2a73ac28fc7c5036527d</id>
<content type='text'>
pgrep naively appends the delimiter to all PIDs including the last
e.g. "pgrep -d, getty" outputs "1399,1386,1309,1308,1307,1306,1305,1302,"
Ensure the list is correctly delimited by suppressing the emission of the
delimiter after the final PID.

The r322210 change to pgrep's PID delimiting behaviour causes pgrep's default
output to not include a trailing new line, which is a potential POLA violation
for existing consumers. Change pgrep to always emit a trailing new line on
completion of its output, regardless of the delimeter in use (which technically
is also a potential POLA violation for existing consumers that rely on the
pre-r322210 buggy behaviour, but a line has to be drawn somewhere).

Only emit the trailing new line added in r322613 when not operating in quiet
mode.

PR:	221534 (r322613)
</content>
</entry>
<entry>
<title>Rename P_KTHREAD struct proc p_flag to P_KPROC.</title>
<updated>2016-02-09T16:30:16Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-02-09T16:30:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=db57c70a5ba095725106b724f727ce74eef7e681'/>
<id>urn:sha1:db57c70a5ba095725106b724f727ce74eef7e681</id>
<content type='text'>
I left as is an apparent bug in ntoskrnl_var.h:AT_PASSIVE_LEVEL()
definition.

Suggested by:	jhb
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Make pkill/pgrep -j ARG take jname, not just jid.</title>
<updated>2015-08-22T05:04:36Z</updated>
<author>
<name>Jamie Gritton</name>
<email>jamie@FreeBSD.org</email>
</author>
<published>2015-08-22T05:04:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c4f0631f19a17e8c00cfc6fd92241f27e6dfb818'/>
<id>urn:sha1:c4f0631f19a17e8c00cfc6fd92241f27e6dfb818</id>
<content type='text'>
PR:		201588
Submitted by:	Daniel Shahaf &lt;danielsh at apache.org&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>pkill - Optimize pgrep -F</title>
<updated>2013-11-10T05:22:29Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-11-10T05:22:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=03eea902e71d5755a177d4ea30d6274ba6f4ba1e'/>
<id>urn:sha1:03eea902e71d5755a177d4ea30d6274ba6f4ba1e</id>
<content type='text'>
 Ask for a specific process instead of pulling down all processes when
 -F &lt;pidfile&gt; is specified.  This is much much faster.

 Obtained from:	DragonflyBSD
</content>
</entry>
<entry>
<title>Remove useless check - ki_loginclass is an array; can't be NULL.</title>
<updated>2013-10-04T16:08:44Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2013-10-04T16:08:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cc8f0608ee767c74980afda726ba1b1edb9047e3'/>
<id>urn:sha1:cc8f0608ee767c74980afda726ba1b1edb9047e3</id>
<content type='text'>
CID:		1006559
Approved by:	re (kib)
MFC after:	2 weeks
Sponsored by:	FreeBSD Foundation
</content>
</entry>
<entry>
<title>Add -c flag to pgrep(1) and pkill(1), to match login classes.</title>
<updated>2013-08-09T08:38:51Z</updated>
<author>
<name>Edward Tomasz Napierala</name>
<email>trasz@FreeBSD.org</email>
</author>
<published>2013-08-09T08:38:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=cc55ad3d724e44a9ca80db40c7a9b3a08a1ce008'/>
<id>urn:sha1:cc55ad3d724e44a9ca80db40c7a9b3a08a1ce008</id>
<content type='text'>
MFC after:	1 month
</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-test2/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>Recognise the -l switch with pkill - list kill command(s) used.</title>
<updated>2010-06-20T08:48:30Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2010-06-20T08:48:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3ba0e47047c6fb9b3a502a49731f510ec3c84fbc'/>
<id>urn:sha1:3ba0e47047c6fb9b3a502a49731f510ec3c84fbc</id>
<content type='text'>
PR:		143558
Submitted by:	eitanadlerlist at gmail dot com
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>The NetBSD Foundation has granted permission to remove clause 3 and 4 from</title>
<updated>2010-03-02T07:20:46Z</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2010-03-02T07:20:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=696e61a4dab6a952e0f3b3d3447659777aef6a79'/>
<id>urn:sha1:696e61a4dab6a952e0f3b3d3447659777aef6a79</id>
<content type='text'>
their software.

Approved by:	pjd
Obtained from:	NetBSD
</content>
</entry>
</feed>
