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_family_find_byname() I guess.

That may be easier, although it would be _byid() and perhaps just 
copy the name back instead of exporting the idea of struct genl_family.

The problem then is that the object is essentially being exported and 
needs to be refcounted.


- James
-- 
James Morris
<[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to