<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/pkill/pkill.c, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F14</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F14'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-08-16T17:54:42Z</updated>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-16T17:54:42Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:54:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1d386b48a555f61cb7325543adbbb5c3f3407a66'/>
<id>urn:sha1:1d386b48a555f61cb7325543adbbb5c3f3407a66</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD</title>
<updated>2023-05-12T16:44:04Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b61a573019428cbdc38ed03be9ecd2482011ea66'/>
<id>urn:sha1:b61a573019428cbdc38ed03be9ecd2482011ea66</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix
</content>
</entry>
<entry>
<title>pkill: use an ARG_MAX size buffer for argument matching</title>
<updated>2023-03-20T19:19:36Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2023-03-20T19:19:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3610bffd2888b65389a46e8d075ce8e1fc83af4c'/>
<id>urn:sha1:3610bffd2888b65389a46e8d075ce8e1fc83af4c</id>
<content type='text'>
Right now pkill/pgrep cut off at _POSIX2_LINE_MAX (2048), but argument
strings can be much larger (ARG_MAX is 256K/512K).  Stop arbitrarily
cutting the search off at 2K, rather than documenting the limit.

Reviewed by:	allanjude (earlier version), des
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D38663
</content>
</entry>
<entry>
<title>various: general adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:37:16Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:37:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1de7b4b805ddbf2429da511c053686ac4591ed89'/>
<id>urn:sha1:1de7b4b805ddbf2429da511c053686ac4591ed89</id>
<content type='text'>
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>Only emit the trailing new line added in r322613 when not operating in quiet</title>
<updated>2017-08-24T08:20:23Z</updated>
<author>
<name>Lawrence Stewart</name>
<email>lstewart@FreeBSD.org</email>
</author>
<published>2017-08-24T08:20:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf182be5e26f522acc600e62ef83f9d32c62b6b7'/>
<id>urn:sha1:cf182be5e26f522acc600e62ef83f9d32c62b6b7</id>
<content type='text'>
mode.

Reported by:	pho
MFC after:	1 week
X-MFC-with:	r322210
</content>
</entry>
<entry>
<title>The r322210 change to pgrep's PID delimiting behaviour causes pgrep's default</title>
<updated>2017-08-17T06:36:21Z</updated>
<author>
<name>Lawrence Stewart</name>
<email>lstewart@FreeBSD.org</email>
</author>
<published>2017-08-17T06:36:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1e781c6f96614a362924113f91d28bd32dc60c7e'/>
<id>urn:sha1:1e781c6f96614a362924113f91d28bd32dc60c7e</id>
<content type='text'>
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).

PR:	221534
Submitted by:	kdrakehp zoho com
Reported by:	kdrakehp zoho com
MFC after:	1 week
X-MFC-with:	r322210
</content>
</entry>
<entry>
<title>pgrep naively appends the delimiter to all PIDs including the last</title>
<updated>2017-08-08T00:31:10Z</updated>
<author>
<name>Lawrence Stewart</name>
<email>lstewart@FreeBSD.org</email>
</author>
<published>2017-08-08T00:31:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=27181846bbdd2a8825c1099e692423fae17c5600'/>
<id>urn:sha1:27181846bbdd2a8825c1099e692423fae17c5600</id>
<content type='text'>
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.

Reviewed by:	imp, kib
MFC after:	1 week
Sponsored by:	Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D8537
</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/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/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/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>
</feed>
