<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/genl, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-02-04T19:52:35Z</updated>
<entry>
<title>genl: fix printing of a command with zero capabilities</title>
<updated>2025-02-04T19:52:35Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2025-02-04T19:52:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2e6eb6046560a848cf5627b4353a6fef1421ed4'/>
<id>urn:sha1:d2e6eb6046560a848cf5627b4353a6fef1421ed4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>genl: add RPC parser that dumps what sys/rpc/clnt_nl.c sends</title>
<updated>2025-02-01T09:00:25Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2025-02-01T01:02:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=88cd1e17a7d8ba66eb5fb04441dd9264d48708b1'/>
<id>urn:sha1:88cd1e17a7d8ba66eb5fb04441dd9264d48708b1</id>
<content type='text'>
Use a separate file for the RPC parser.  Potentially it may get bigger.
Also to avoid include RPC header pollution of the genl.c.

Reviewed by:		rmacklem
Differential Revision:	https://reviews.freebsd.org/D48551
</content>
</entry>
<entry>
<title>genl.1: Improve grammar</title>
<updated>2025-01-17T04:18:24Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2025-01-17T04:18:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=13d81ef632ec6ca5e6936ab77e8ac67a8c430033'/>
<id>urn:sha1:13d81ef632ec6ca5e6936ab77e8ac67a8c430033</id>
<content type='text'>
Make the first sentence read more smoothly.

MFC after:	3 days
</content>
</entry>
<entry>
<title>genl: stop using struct _getfamily_attrs, snl_genl_ctrl_mcast_group</title>
<updated>2025-01-17T02:24:32Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2025-01-17T02:20:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40462a376a324c19845a5f696c565069142ef326'/>
<id>urn:sha1:40462a376a324c19845a5f696c565069142ef326</id>
<content type='text'>
This program has two modes: monitor a single family and dump known
families.  The former uses directly snl_get_genl_family_info() which uses
supposedly internal struct _getfamily_attrs as the argument.  The latter
uses a parser named genl_family_parser that makes a mixture of local
definitions and definitions from &lt;netlink_snl_generic.h&gt;.  While the
struct genl_family_parser is local, it points at struct
snl_genl_ctrl_mcast_groups and struct snl_genl_ctrl_mcast_group that are
supposedly private to netlink_snl_generic.h, as are hanging off the
underscored _getfamily_attrs.

Rewrite this mess by using same parser for both modes, that is fully
implemented locally.  This parser has another very important difference to
the one declared in the header library.  It will copy strings out of the
message into memory allocated within the snl_state.  With the header
library parser strings point into received packet and contents will be
overwritten on next netlink message.  This is not a bug with existing
genl(1) program, but it would be with future changes.

Reviewed by:		melifaro
Differential Revision:	https://reviews.freebsd.org/D48479
</content>
</entry>
<entry>
<title>genl: formatting fix</title>
<updated>2025-01-13T00:46:29Z</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2025-01-13T00:46:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0340a8c969d1619bdcbd6ef64dd9202b2269d3f8'/>
<id>urn:sha1:0340a8c969d1619bdcbd6ef64dd9202b2269d3f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>genl: typo fixes</title>
<updated>2025-01-13T00:42:55Z</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2025-01-13T00:40:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8b5058ec78a6fad972f48e6cd5613c2750f43ad6'/>
<id>urn:sha1:8b5058ec78a6fad972f48e6cd5613c2750f43ad6</id>
<content type='text'>
PR:	284017
</content>
</entry>
<entry>
<title>genl: fix typo</title>
<updated>2024-10-26T21:09:20Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2024-10-26T21:09:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5fa2e50ea4386bf277bb840e821c63f314c9a431'/>
<id>urn:sha1:5fa2e50ea4386bf277bb840e821c63f314c9a431</id>
<content type='text'>
</content>
</entry>
<entry>
<title>manuals: Fix syntax of list width</title>
<updated>2024-10-08T19:16:26Z</updated>
<author>
<name>Graham Percival</name>
<email>gperciva@tarsnap.com</email>
</author>
<published>2024-10-08T01:39:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9fd66e40cac02691d36386cf275d23367e34fc43'/>
<id>urn:sha1:9fd66e40cac02691d36386cf275d23367e34fc43</id>
<content type='text'>
Signed-off-by:	Graham Percival &lt;gperciva@tarsnap.com&gt;
Reviewed by:	mhorne
MFC after:	3 days
Sponsored by:	Tarsnap Backup Inc.
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1455
</content>
</entry>
<entry>
<title>genl: small cleanup</title>
<updated>2024-10-07T13:28:54Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-10-07T13:28:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=782766a32d963587a6aac8521aedd132b68a9dab'/>
<id>urn:sha1:782766a32d963587a6aac8521aedd132b68a9dab</id>
<content type='text'>
Following up from another review using basically the same code:
remove useless cast
replace uint32_t with unsigned int.

No functional changes expected
</content>
</entry>
<entry>
<title>genl: add parser for nlsysevent</title>
<updated>2024-10-07T10:11:20Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2024-10-07T09:43:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=883722891aa92fc6033020c67ec7f2f0d9fedf95'/>
<id>urn:sha1:883722891aa92fc6033020c67ec7f2f0d9fedf95</id>
<content type='text'>
genl monitor nlsysevent is now able to print the messages received
</content>
</entry>
</feed>
