<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/procps/pgrep.c, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2025-11-11T10:00:52+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2025-11-11T10:00:52+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-11-11T10:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0ee678e0d1d465f3d83fb22a4ec4e7ca33686284'/>
<id>urn:sha1:0ee678e0d1d465f3d83fb22a4ec4e7ca33686284</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgrep/pkill: fix -x to also match comm field</title>
<updated>2025-11-08T06:42:34+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-10-23T10:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4ee218a2d262943e362e3e25414852cf8e982dcb'/>
<id>urn:sha1:4ee218a2d262943e362e3e25414852cf8e982dcb</id>
<content type='text'>
When running `pgrep -x example` against a process `/bin/example --arg`,
BusyBox fails to match, while GNU pgrep succeeds. The reason is that the
comparison is done only against the full argv[0] rather than comm. This
patch changes pgrep -x to also try /proc/[pid]/comm for exact matching.

function                                             old     new   delta
pgrep_main                                           681     670     -11

Signed-off-by: Paulius Zaleckas &lt;paulius.zaleckas@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2023-07-13T07:06:26+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-07-13T07:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bd978d0256fd3a67de1a7dd54f1a37f9435be363'/>
<id>urn:sha1:bd978d0256fd3a67de1a7dd54f1a37f9435be363</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>pgrep,pkill: remove non-functional options</title>
<updated>2023-06-22T07:40:41+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-06-22T07:40:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7f23161e989ffc81edf89c2be3077757cc4fa4db'/>
<id>urn:sha1:7f23161e989ffc81edf89c2be3077757cc4fa4db</id>
<content type='text'>
Due to limitations of the process scanning code on Windows some
features of pgrep and pkill don't work properly:

- display/matching of the full command line (-a/-f)

- killing the oldest or newest process (-o/-n)

- matching session id (-s)

To avoid disappointment or error support for these features has
been removed.

Saves 408-464 bytes.
</content>
</entry>
<entry>
<title>pkill: add -e to display the name and PID of the process being killed</title>
<updated>2022-10-14T12:33:34+00:00</updated>
<author>
<name>Louis Sautier</name>
<email>sautier.louis@gmail.com</email>
</author>
<published>2021-11-04T12:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=707a7ef4c72d1d00ff61221511a70eada19185ca'/>
<id>urn:sha1:707a7ef4c72d1d00ff61221511a70eada19185ca</id>
<content type='text'>
This mimics the behaviour of pkill -e / --echo from procps.

function                                             old     new   delta
.rodata                                           105179  105200     +21
packed_usage                                       34523   34516      -7
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 21/-7)              Total: 14 bytes

Signed-off-by: Louis Sautier &lt;sautier.louis@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>*: more --help tweaking</title>
<updated>2021-06-13T01:51:55+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2021-06-13T01:51:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6f7b10cdabfe2b99d7839087f007ccf7a9083847'/>
<id>urn:sha1:6f7b10cdabfe2b99d7839087f007ccf7a9083847</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>config: update size information</title>
<updated>2018-12-28T02:20:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-12-28T02:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b097a84d62dcfcf201a695b54bcfafae70cac8a6'/>
<id>urn:sha1:b097a84d62dcfcf201a695b54bcfafae70cac8a6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>free,stat: make NOEXEC</title>
<updated>2017-08-07T16:18:09+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-08-07T16:18:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=248a67fb75a0d2c98f4f9935b7bb9e11382b2c78'/>
<id>urn:sha1:248a67fb75a0d2c98f4f9935b7bb9e11382b2c78</id>
<content type='text'>
pkill/pgrep/pidof uncovered another quirk: what about noexec's _process names_?

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>pgrep: fix "pgrep -v -P1"; also allow matching of comm - closes 10086</title>
<updated>2017-07-21T15:43:14+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-07-21T15:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=578008a9897b2d64532ed5843807c05fba1f862f'/>
<id>urn:sha1:578008a9897b2d64532ed5843807c05fba1f862f</id>
<content type='text'>
function                                             old     new   delta
pgrep_main                                           662     720     +58

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
