On Fri, 2019-04-26 at 22:47 +0200, Michal Kubecek wrote: > On Fri, Apr 26, 2019 at 09:14:43PM +0200, Johannes Berg wrote: > > Yeah, ok. Each object you had is basically its own policy. I just > > *removed* having a separate policy for each command in generic netlink, > > as ;-) > > But that only affects genetlink users who let genetlink validate and > parse messages for them. Those validating/parsing the messages > themselves can still have different policy (and completely different set > of attributes) for each command. Sure. I already argued elsewhere though that you should only have one policy for each set of attributes, but if you do in fact have different attributes then that's perfectly valid. Not sure whether I think it all that reasonable, since you then burden userspace with having to know even more intricate detail and not being able to share code well between commands, but hey :-) johannes