<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/usr.bin/procstat, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2020-11-25T00:10:54Z</updated>
<entry>
<title>Remove the cloned file descriptors for /dev/crypto.</title>
<updated>2020-11-25T00:10:54Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-11-25T00:10:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=688f8b822cea550753e7f3495339141cb6b565b7'/>
<id>urn:sha1:688f8b822cea550753e7f3495339141cb6b565b7</id>
<content type='text'>
Crypto file descriptors were added in the original OCF import as a way
to provide per-open data (specifically the list of symmetric
sessions).  However, this gives a bit of a confusing API where one has
to open /dev/crypto and then invoke an ioctl to obtain a second file
descriptor.  This also does not match the API used with /dev/crypto on
other BSDs or with Linux's /dev/crypto driver.

Character devices have gained support for per-open data via cdevpriv
since OCF was imported, so use cdevpriv to simplify the userland API
by permitting ioctls directly on /dev/crypto descriptors.

To provide backwards compatibility, CRIOGET now opens another
/dev/crypto descriptor via kern_openat() rather than dup'ing the
existing file descriptor.  This preserves prior semantics in case
CRIOGET is invoked multiple times on a single file descriptor.

Reviewed by:	markj
Relnotes:	yes
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D27302
</content>
</entry>
<entry>
<title>procstat(1): Add EXAMPLES section</title>
<updated>2020-10-05T14:07:32Z</updated>
<author>
<name>Fernando Apesteguía</name>
<email>fernape@FreeBSD.org</email>
</author>
<published>2020-10-05T14:07:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=fd92b91c712386ce1be1cbae72597b6b1a39df4d'/>
<id>urn:sha1:fd92b91c712386ce1be1cbae72597b6b1a39df4d</id>
<content type='text'>
* Add some examples showing binary, arguments and file info from living
  processes.
* Show information from core dumps including an attempt using an old core file.
* While here, fix warning 'no blank before trailing delimiter' reported by igor.

Approved by:	manpages (0mp@)
Differential Revision:	https://reviews.freebsd.org/D25467
</content>
</entry>
<entry>
<title>procstat: Fix regression after 365880.</title>
<updated>2020-09-29T00:20:58Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-29T00:20:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=34d7dd1561e0836368e94b43e0f5a5f4801f4489'/>
<id>urn:sha1:34d7dd1561e0836368e94b43e0f5a5f4801f4489</id>
<content type='text'>
Basically it reverts one chunk that reversed the parsing logic, making
legacy variants of invocation, like `procstat -a -f', non-operational.

Reported and tested by:	Dewayne Geraghty &lt;dewayne@heuristicsystems.com.au&gt;
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
</content>
</entry>
<entry>
<title>Consistently use __FBSDID("FreeBSD") for ids in usr.bin/procstat.</title>
<updated>2020-09-27T23:01:54Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-27T23:01:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b65eb2f8a83fb102bcacaa0eafff96ac290a2d5a'/>
<id>urn:sha1:b65eb2f8a83fb102bcacaa0eafff96ac290a2d5a</id>
<content type='text'>
Submitted by:	Juraj Lutter &lt;juraj@lutter.sk&gt;
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26568
</content>
</entry>
<entry>
<title>Add pargs, penv, pwdx commands and aliases to procstat(1).</title>
<updated>2020-09-18T12:59:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-18T12:59:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=085e04945cc3cb3a725a2b0cd992ad0358e49f7e'/>
<id>urn:sha1:085e04945cc3cb3a725a2b0cd992ad0358e49f7e</id>
<content type='text'>
Intent is to mimic Solaris commands with the same names.

Submitted by:	Juraj Lutter &lt;juraj@lutter.sk&gt;
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D26310
</content>
</entry>
<entry>
<title>Add procstat support for AT_ flags added in r359988.</title>
<updated>2020-04-15T20:25:38Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2020-04-15T20:25:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3780fcd950bb8dcbaaefebfabfe35f19bad16315'/>
<id>urn:sha1:3780fcd950bb8dcbaaefebfabfe35f19bad16315</id>
<content type='text'>
This includes argc, argv, envc, envv, and ps_strings.

Reviewed by:	kib
Obtained from:	CheriBSD
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D24407
</content>
</entry>
<entry>
<title>Add procstat(1) sigfastblock command to show process sigfastblock word address.</title>
<updated>2020-02-09T12:30:50Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-02-09T12:30:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=24d57fa83e114d537fe6b3906898c4e95a976530'/>
<id>urn:sha1:24d57fa83e114d537fe6b3906898c4e95a976530</id>
<content type='text'>
Tested by:	pho
Disscussed with:	cem, emaste, jilles
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D12773
</content>
</entry>
<entry>
<title>Add AT_BSDFLAGS auxv entry.</title>
<updated>2020-02-09T12:10:37Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-02-09T12:10:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=944cf37bb581e4e7c92823def2f0ebfa524d379f'/>
<id>urn:sha1:944cf37bb581e4e7c92823def2f0ebfa524d379f</id>
<content type='text'>
The intent is to provide bsd-specific flags relevant to interpreter
and C runtime.  I did not want to reuse AT_FLAGS which is common ELF
auxv entry.

Use bsdflags to report kernel support for sigfastblock(2).  This
allows rtld and libthr to safely infer the syscall presence without
SIGSYS.  The tunable kern.elf{32,64}.sigfastblock blocks reporting.

Tested by:	pho
Disscussed with:	cem, emaste, jilles
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D12773
</content>
</entry>
<entry>
<title>Fix the following -Werror warning from clang 10.0.0 in procstat:</title>
<updated>2020-01-29T17:01:02Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2020-01-29T17:01:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7bf1ff65fc9927b432ab4af9b1de70208ed5244b'/>
<id>urn:sha1:7bf1ff65fc9927b432ab4af9b1de70208ed5244b</id>
<content type='text'>
usr.bin/procstat/procstat_sigs.c:79:3: error: misleading indentation; statement is not part of the previous 'else' [-Werror,-Wmisleading-indentation]
                xo_close_container(name);
                ^
usr.bin/procstat/procstat_sigs.c:77:4: note: previous statement is here
        } else
          ^

The intent was to group the xo_close_container() call to the previous
snprintf() call.

MFC after:	3 days
</content>
</entry>
<entry>
<title>Remove IS_INADDR_ANY().</title>
<updated>2019-10-19T19:38:53Z</updated>
<author>
<name>Jeremie Le Hen</name>
<email>jlh@FreeBSD.org</email>
</author>
<published>2019-10-19T19:38:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ce0372d7e13d4181fe690928bf1d89dfb2829825'/>
<id>urn:sha1:ce0372d7e13d4181fe690928bf1d89dfb2829825</id>
<content type='text'>
Requested by rgrimes@ in
https://lists.freebsd.org/pipermail/svn-src-head/2019-October/129784.html
</content>
</entry>
</feed>
