git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f94f6
)
netfilter: ebtables: enforce CAP_NET_ADMIN
author
Florian Westphal
<fwestphal@astaro.com>
Fri, 8 Jan 2010 16:31:24 +0000
(17:31 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 18 Jan 2010 18:33:47 +0000
(10:33 -0800)
commit
dce766af541f6605fa9889892c0280bab31c66ab
upstream.
normal users are currently allowed to set/modify ebtables rules.
Restrict it to processes with CAP_NET_ADMIN.
Note that this cannot be reproduced with unmodified ebtables binary
because it uses SOCK_RAW.
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/bridge/netfilter/ebtables.c
patch
|
blob
|
history
diff --cc
net/bridge/netfilter/ebtables.c
Simple merge