Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40053
b: refs/heads/master
c: 82fac05
h: refs/heads/master
i:
  40051: 615493a
v: v3
  • Loading branch information
Björn Steinbrink authored and David S. Miller committed Oct 20, 2006
1 parent 51a9375 commit ec9e19c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 206daaf77f68ce0f103164e6406336068c87a4a5
refs/heads/master: 82fac0542e11c0d3316cc8fdafd2a990d2aab692
3 changes: 3 additions & 0 deletions trunk/net/ipv4/netfilter/ip_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -1932,6 +1932,9 @@ compat_do_ipt_get_ctl(struct sock *sk, int cmd, void __user *user, int *len)
{
int ret;

if (!capable(CAP_NET_ADMIN))
return -EPERM;

switch (cmd) {
case IPT_SO_GET_INFO:
ret = get_info(user, len, 1);
Expand Down

0 comments on commit ec9e19c

Please sign in to comment.