Message ID | 1412263501-6572-2-git-send-email-nicolas.dichtel@6wind.com |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/fs/proc/proc_net.c b/fs/proc/proc_net.c index a63af3e0a612..6fc308ec105c 100644 --- a/fs/proc/proc_net.c +++ b/fs/proc/proc_net.c @@ -193,6 +193,7 @@ static __net_init int proc_net_ns_init(struct net *net) goto out; netd->data = net; + netd->mode = S_IFDIR | S_IRUGO | S_IXUGO; netd->nlink = 2; netd->namelen = 3; netd->parent = &proc_root;