netfilter: xt_owner: bail out with EINVAL in case of unsupported flags 07/209207/3 accepted/tizen/unified/20190705.110629 submit/tizen/20190705.061049
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 7 Jun 2019 14:37:30 +0000 (16:37 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 4 Jul 2019 12:43:30 +0000 (12:43 +0000)
commit9cb6b56a469925b658703b8d238334d1e91ea7bf
tree91dcbd6b42aa45f2130398189d8b08fa7d51fe20
parent11e73f751371dc2a2b3a9e9a8d3bf568d0ba7adb
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