Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 135499
b: refs/heads/master
c: 81a1d3c
h: refs/heads/master
i:
  135497: 5dd7df6
  135495: 29cea48
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Patrick McHardy committed Mar 16, 2009
1 parent 6d99321 commit cdcac7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: acc738fec03bdaa5b77340c32a82fbfedaaabef0
refs/heads/master: 81a1d3c31e3517f9939b3e04d21cf4a6b0997419
2 changes: 1 addition & 1 deletion trunk/net/sysctl_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static struct ctl_table_root net_sysctl_root = {
static int net_ctl_ro_header_perms(struct ctl_table_root *root,
struct nsproxy *namespaces, struct ctl_table *table)
{
if (namespaces->net_ns == &init_net)
if (net_eq(namespaces->net_ns, &init_net))
return table->mode;
else
return table->mode & ~0222;
Expand Down

0 comments on commit cdcac7d

Please sign in to comment.