summaryrefslogtreecommitdiff
path: root/net/rose
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2018-03-23 15:54:38 -0700
committerDavid S. Miller <davem@davemloft.net>2018-03-26 12:07:48 -0400
commitd6444062f8f07c346a21bd815af4a3dc8b231574 (patch)
tree5a50d845638e4b2b2182027302144afa78d7d35b /net/rose
parentcb6219a2f564920c6e96e99d174cae3df88fe1bc (diff)
downloadlwn-d6444062f8f07c346a21bd815af4a3dc8b231574.tar.gz
lwn-d6444062f8f07c346a21bd815af4a3dc8b231574.zip
net: Use octal not symbolic permissions
Prefer the direct use of octal for permissions. Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace and some typing. Miscellanea: o Whitespace neatening around these conversions. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rose')
-rw-r--r--net/rose/af_rose.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index 5170373b797c..9ff5e0a76593 100644
--- a/net/rose/af_rose.c
+++ b/net/rose/af_rose.c
@@ -1567,12 +1567,12 @@ static int __init rose_proto_init(void)
rose_add_loopback_neigh();
- proc_create("rose", S_IRUGO, init_net.proc_net, &rose_info_fops);
- proc_create("rose_neigh", S_IRUGO, init_net.proc_net,
+ proc_create("rose", 0444, init_net.proc_net, &rose_info_fops);
+ proc_create("rose_neigh", 0444, init_net.proc_net,
&rose_neigh_fops);
- proc_create("rose_nodes", S_IRUGO, init_net.proc_net,
+ proc_create("rose_nodes", 0444, init_net.proc_net,
&rose_nodes_fops);
- proc_create("rose_routes", S_IRUGO, init_net.proc_net,
+ proc_create("rose_routes", 0444, init_net.proc_net,
&rose_routes_fops);
out:
return rc;