The generic netlink family builds on top of netlink and provides
simplifies access for the less demanding netlink users. It solves
the problem of protocol numbers running out by introducing a so
called controller taking care of id management and name resolving.
Generic netlink modules register the
On Thu, 10 Nov 2005, Thomas Graf wrote:
> Although generic netlink modules can request static identifiers,
> it is recommended to use GENL_ID_GENERATE and to let the controller
> assign a unique identifier to the module. Userspace applications
> will then ask the controller and lookup the idenfier
On Thu, 10 Nov 2005, James Morris wrote:
> For SELinux, we'll need to track genl ID assignment and deletion, so we
> can determine what the Netlink family number means when we see a Netlink
> message. We'll have to assume that the sysadmin has not changed the
> module name.
Forgot to add that
On Thu, 2005-10-11 at 02:25 +0100, Thomas Graf wrote:
> plain text document attachment (nl_generic)
> The generic netlink family builds on top of netlink and provides
> simplifies access for the less demanding netlink users. It solves
> the problem of protocol numbers running out by introducing a s
* Jamal Hadi Salim <[EMAIL PROTECTED]> 2005-11-10 11:00
> Dave - ACK on all 6. Both Thomas and I have tested these and the TIPC
> folks have been playing with them for sometime now; if we get them in
> for 2.6.15 it would help to encourage them to change their API on their
> stable release to use t
* James Morris <[EMAIL PROTECTED]> 2005-11-10 10:15
> For SELinux, we'll need to track genl ID assignment and deletion, so we
> can determine what the Netlink family number means when we see a Netlink
> message. We'll have to assume that the sysadmin has not changed the
> module name.
>
> Forgo
On Thu, 10 Nov 2005, Thomas Graf wrote:
> > void security_netlink_genl_event(int event, unsigned int id, const char
> > *name);
>
> Couldn't we have SELinux ask the controller to resolve the ID to
> the name? The assignments are already stored in family_ht[], we'd
> just have to export genl_fami
Morning guys,
Dave - ACK on all 6. Both Thomas and I have tested these and the TIPC
folks have been playing with them for sometime now; if we get them in
for 2.6.15 it would help to encourage them to change their API on their
stable release to use this new changes.
I would love to sit down wit