[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190504.012756.510495833576060196.davem@davemloft.net>
Date: Sat, 04 May 2019 01:27:56 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: mkubecek@...e.cz
Cc: netdev@...r.kernel.org, johannes@...solutions.net,
dsahern@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v2 0/3] netlink: strict attribute checking
follow-up
From: Michal Kubecek <mkubecek@...e.cz>
Date: Thu, 2 May 2019 16:15:10 +0200 (CEST)
> Three follow-up patches for recent strict netlink validation series.
>
> Patch 1 fixes dump handling for genetlink families which validate and parse
> messages themselves (e.g. because they need different policies for diferent
> commands).
>
> Patch 2 sets bad_attr in extack in one place where this was omitted.
>
> Patch 3 adds new NL_VALIDATE_NESTED flags for strict validation to enable
> checking that NLA_F_NESTED value in received messages matches expectations
> and includes this flag in NL_VALIDATE_STRICT. This would change userspace
> visible behavior but the previous switching to NL_VALIDATE_STRICT for new
> code is still only in net-next at the moment.
>
> v2: change error messages to mention NLA_F_NESTED explicitly
Series applied.
Powered by blists - more mailing lists