netfilter: xt_owner: bail out with EINVAL in case of unsupported flags 09/209209/1 accepted/tizen/unified/20190705.110609 submit/tizen/20190705.061120
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Jun 2019 14:37:30 +0000 (16:37 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 3 Jul 2019 10:01:50 +0000 (19:01 +0900)
commit0a731f0f25fa816b8ad3c93b84faaa26c4c975f6
treece6dc30ee939d1c6d94afd545d04767996995bd2
parente3bd7e7ec6cf1d9661f3cdc7f31231b29913cabc
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: I92f1bd37788cc71088112770bb1b4071dfe8f3fd
include/uapi/linux/netfilter/xt_owner.h
net/netfilter/xt_owner.c