<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/ktrdump, branch upstream/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-04-01T07:55:03Z</updated>
<entry>
<title>Fix warning about signed comparison and drop WARNS for ktrdump(8).</title>
<updated>2021-04-01T07:55:03Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2021-03-24T07:51:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b4dc951c417ec3afbc7064c1c7c4d2ce9fe03ad9'/>
<id>urn:sha1:b4dc951c417ec3afbc7064c1c7c4d2ce9fe03ad9</id>
<content type='text'>
Reviewed By:		jhb, imp
Differential Revision:	https://reviews.freebsd.org/D29381

(cherry picked from commit 9e5aeba51b431256adfd18b087ee61b09bfd6a79)
</content>
</entry>
<entry>
<title>capsicum: use a new capsicum helpers in tools</title>
<updated>2018-11-04T19:24:49Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-11-04T19:24:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=377421df9690cddad7f0c8cba84bd392e62a3b6c'/>
<id>urn:sha1:377421df9690cddad7f0c8cba84bd392e62a3b6c</id>
<content type='text'>
Use caph_{rights,ioctls,fcntls}_limit to simplify the code.
</content>
</entry>
<entry>
<title>Add a "live" mode to ktrdump.</title>
<updated>2018-10-22T21:25:28Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2018-10-22T21:25:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=440365703438c4da4eab5b3e208b6b3963cbb88d'/>
<id>urn:sha1:440365703438c4da4eab5b3e208b6b3963cbb88d</id>
<content type='text'>
Support a "live" mode in ktrdump enabled via the -l flag.  In this
mode, ktrdump polls the kernel's trace buffer periodically (currently
hardcoded as a 50 millisecond interval) and dumps any newly added
entries.  Fancier logic for the timeout (e.g. a command line option or
some kind of backoff based on the time since the last entry) can be
added later as the need arises.

While here, fix some bugs from when this was Capsicum-ized:
- Use caph_limit_stream() for the output stream so that isatty() works
  and the output can be line-buffered (especially useful for live
  mode).
- Use caph_limit_stderr() to permit error messages to be displayed if
  an error occurs after cap_enter().

Reviewed by:	kib, 0mp (manpage)
MFC after:	2 months
Differential Revision:	https://reviews.freebsd.org/D17315
</content>
</entry>
<entry>
<title>Convert `cap_enter() &lt; 0 &amp;&amp; errno != ENOSYS` to `caph_enter() &lt; 0`.</title>
<updated>2018-06-19T23:43:14Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-06-19T23:43:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7672a0148f79063eac8f8e0beb0db5350d02d5d4'/>
<id>urn:sha1:7672a0148f79063eac8f8e0beb0db5350d02d5d4</id>
<content type='text'>
No functional change intended.
</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>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>urn:sha1:ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Provide an error message if KTR symbols in a vmcore cannot be resolved.</title>
<updated>2017-09-11T15:18:43Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-09-11T15:18:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8e15d40d24ea4d32c7078c10829032f5411d2a8c'/>
<id>urn:sha1:8e15d40d24ea4d32c7078c10829032f5411d2a8c</id>
<content type='text'>
libkvm does not set an error string in this case, so we were previously
failing silently.

MFC after:	1 week
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-05-09T01:48:23Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-05-09T01:48:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=07676084ec447fb969447c378a05210fbd15a35e'/>
<id>urn:sha1:07676084ec447fb969447c378a05210fbd15a35e</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>ktrdump(8): Capsicumify</title>
<updated>2016-12-16T01:59:28Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2016-12-16T01:59:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=208a8594598481b55ed54e7bd7e6386372f542ec'/>
<id>urn:sha1:208a8594598481b55ed54e7bd7e6386372f542ec</id>
<content type='text'>
We restrict the (optional) input file and output files. It would be
nice to restrict the KVM files, but that's up to libkvm.

We wait until after kvm_nlist() is invoked to cap_enter() because
kldsym() isn't supported in the Capsicum sandbox.

Feedback from:	emaste@ (earlier versions)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D7921
</content>
</entry>
<entry>
<title>Update dependencies after r291406 added libelf to libkvm.</title>
<updated>2015-12-01T05:18:48Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2015-12-01T05:18:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf990407e1bde2ebf0ab8a34e28c38a08f076288'/>
<id>urn:sha1:cf990407e1bde2ebf0ab8a34e28c38a08f076288</id>
<content type='text'>
Unfortunately filemon/meta mode tracks all indirect dependencies here
since ld(1) is reading libelf when linking in libkvm.  Churn would be
reduced if this was able to be limited to direct dependencies.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
</feed>
