netfilter: xt_owner: bail out with EINVAL in case of unsupported flags
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Jun 2019 14:37:30 +0000 (16:37 +0200)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 4 Nov 2019 09:00:55 +0000 (18:00 +0900)
commit48d5cfb74ba38a4a113ee04c67df468c00f91cbe
tree3ee043a6e1b2846627f57af4a7e998e8d02b6eeb
parente9aab876784d3422d3c585cb1b4880ce64ee91b9
netfilter: xt_owner: bail out with EINVAL in case of unsupported flags

Reject flags that are not supported with EINVAL.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
[sw0312.kim: backport from mainline to apply supplementary groups on netfilter]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Id867ca48290a8e6627ad7d1b1f159669fc5c44a1
include/uapi/linux/netfilter/xt_owner.h
net/netfilter/xt_owner.c