<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/binmiscctl, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>binmiscctl: Avoid segfault with "binmiscctl add" and no extra params</title>
<updated>2021-02-15T19:12:25+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2021-02-08T14:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=78534b222b99f516f1f464675ad0bd92f880f3cf'/>
<id>78534b222b99f516f1f464675ad0bd92f880f3cf</id>
<content type='text'>
(cherry picked from commit c7fcb36f5670b1d6c1f80c3c29d9d2ba374807f7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit c7fcb36f5670b1d6c1f80c3c29d9d2ba374807f7)
</pre>
</div>
</content>
</entry>
<entry>
<title>binmiscctl(8): miscellaneous cleanup</title>
<updated>2020-11-07T03:43:45+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2020-11-07T03:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2c5e865059a287fde8a37d66793d84f90cb77712'/>
<id>2c5e865059a287fde8a37d66793d84f90cb77712</id>
<content type='text'>
- Bad whitespace in Makefile.
- Reordered headers, sys/ first.
- Annotated fatal/usage __dead2 to help `make analyze` out a little bit.
- Spell a couple of sizeof constructs as "nitems" and "howmany" instead.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Bad whitespace in Makefile.
- Reordered headers, sys/ first.
- Annotated fatal/usage __dead2 to help `make analyze` out a little bit.
- Spell a couple of sizeof constructs as "nitems" and "howmany" instead.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Add RISC-V interpreter example</title>
<updated>2020-05-01T01:31:19+00:00</updated>
<author>
<name>Mitchell Horne</name>
<email>mhorne@FreeBSD.org</email>
</author>
<published>2020-05-01T01:31:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d0adbca27413b32289c16ab7e8466a63395d7fbc'/>
<id>d0adbca27413b32289c16ab7e8466a63395d7fbc</id>
<content type='text'>
Now that RISC-V support has landed in qemu-user-static, add to the list
of examples in the binmiscctl(8) manpage.

Reviewed by:	kevans
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D24646
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that RISC-V support has landed in qemu-user-static, add to the list
of examples in the binmiscctl(8) manpage.

Reviewed by:	kevans
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D24646
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove sparc64 example.</title>
<updated>2020-02-10T17:16:26+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2020-02-10T17:16:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d2299c69ff7f250717b6bafdfdc9f7dea4652757'/>
<id>d2299c69ff7f250717b6bafdfdc9f7dea4652757</id>
<content type='text'>
Reivewed by: cy@, bcr@
Differential Revision: https://reviews.freebsd.org/D23593
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reivewed by: cy@, bcr@
Differential Revision: https://reviews.freebsd.org/D23593
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve the binmiscctl manual page</title>
<updated>2018-07-20T22:50:21+00:00</updated>
<author>
<name>Mateusz Piotrowski</name>
<email>0mp@FreeBSD.org</email>
</author>
<published>2018-07-20T22:50:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=caba8c7d3f5f13ac668231ec83e95b8bc8106088'/>
<id>caba8c7d3f5f13ac668231ec83e95b8bc8106088</id>
<content type='text'>
- Use "Fl -" instead of "Cm --" for long options.
- Sort options alphabetically.
- Pet "mandoc -Tlint".
- Clean up the description of the "--interpreter" option.
- Clean up the description of the first example in the examples section.
- Use ".Bd -literal -offset indent" for all example code blocks for consistency.
- Use "Nm" instead of "Cm binmiscctl".
- Indent all examples for consistency.

Reviewed by:	allanjude
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D15589
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use "Fl -" instead of "Cm --" for long options.
- Sort options alphabetically.
- Pet "mandoc -Tlint".
- Clean up the description of the "--interpreter" option.
- Clean up the description of the first example in the examples section.
- Use ".Bd -literal -offset indent" for all example code blocks for consistency.
- Use "Nm" instead of "Cm binmiscctl".
- Indent all examples for consistency.

Reviewed by:	allanjude
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D15589
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't leak resources on duplicate -m or -M arguments. Last one wins.</title>
<updated>2017-12-28T05:32:59+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-12-28T05:32:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=829ec266171e70063f2e406fea4b2f10d0206c5f'/>
<id>829ec266171e70063f2e406fea4b2f10d0206c5f</id>
<content type='text'>
CID: 1204385, 1204384
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CID: 1204385, 1204384
</pre>
</div>
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04+00:00</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:	Dell EMC Isilon
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct the binmiscctl(8) man page for powerpc64</title>
<updated>2017-09-04T20:57:38+00:00</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2017-09-04T20:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9cede44051d127b09a5bbe21a2212356ec1f604a'/>
<id>9cede44051d127b09a5bbe21a2212356ec1f604a</id>
<content type='text'>
Magic for powerpc64 erroneously specified ELFCLASS32 instead of ELFCLASS64.

Submitted by:	luca.pizzamiglio _AT_ gmail DOT com
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Magic for powerpc64 erroneously specified ELFCLASS32 instead of ELFCLASS64.

Submitted by:	luca.pizzamiglio _AT_ gmail DOT com
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>binmiscctl should use modfind instead of kldfind</title>
<updated>2017-07-28T18:11:53+00:00</updated>
<author>
<name>Sean Bruno</name>
<email>sbruno@FreeBSD.org</email>
</author>
<published>2017-07-28T18:11:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4b5e2f8ea05ad1f9f8510cff54e3b08e925263fa'/>
<id>4b5e2f8ea05ad1f9f8510cff54e3b08e925263fa</id>
<content type='text'>
kldfind() only matches kernel modules, so if you link imgact_binmisc directly
into the kernel, binmiscctl can't find it, tries to load it, and errors
out with:
  Can't load imgact_binmisc kernel module: File exists

A quick search of other base commands shows that the correct procedure is to
call modfind(), and then try kldload() if that fails.

PR:		218593
Submitted by:	Dan Nelson &lt;dnelson_1901@yahoo.com&gt;
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
kldfind() only matches kernel modules, so if you link imgact_binmisc directly
into the kernel, binmiscctl can't find it, tries to load it, and errors
out with:
  Can't load imgact_binmisc kernel module: File exists

A quick search of other base commands shows that the correct procedure is to
call modfind(), and then try kldload() if that fails.

PR:		218593
Submitted by:	Dan Nelson &lt;dnelson_1901@yahoo.com&gt;
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Another attempt at resolving CID 1305629.  The test of cmd == -1</title>
<updated>2016-05-13T17:48:04+00:00</updated>
<author>
<name>Don Lewis</name>
<email>truckman@FreeBSD.org</email>
</author>
<published>2016-05-13T17:48:04+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fe579263e00c69c5d1a6f731992ef5a3f666862f'/>
<id>fe579263e00c69c5d1a6f731992ef5a3f666862f</id>
<content type='text'>
may make Coverity think that other negative values of cmd (used
as an index) are possible.  Testing &lt; 0 is a more common idiom
in any case.

Reported by:	Coverity
CID:		1305629
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
may make Coverity think that other negative values of cmd (used
as an index) are possible.  Testing &lt; 0 is a more common idiom
in any case.

Reported by:	Coverity
CID:		1305629
</pre>
</div>
</content>
</entry>
</feed>
