diff options
Diffstat (limited to 'security/keys/proc.c')
-rw-r--r-- | security/keys/proc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/security/keys/proc.c b/security/keys/proc.c index ad5f64e1b320..525cf8a29cdd 100644 --- a/security/keys/proc.c +++ b/security/keys/proc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* proc.c: proc files for key database enumeration | 1 | /* procfs files for key database enumeration |
2 | * | 2 | * |
3 | * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. | 3 | * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. |
4 | * Written by David Howells (dhowells@redhat.com) | 4 | * Written by David Howells (dhowells@redhat.com) |
@@ -61,7 +61,7 @@ static const struct file_operations proc_key_users_fops = { | |||
61 | }; | 61 | }; |
62 | 62 | ||
63 | /* | 63 | /* |
64 | * declare the /proc files | 64 | * Declare the /proc files. |
65 | */ | 65 | */ |
66 | static int __init key_proc_init(void) | 66 | static int __init key_proc_init(void) |
67 | { | 67 | { |
@@ -83,7 +83,8 @@ static int __init key_proc_init(void) | |||
83 | __initcall(key_proc_init); | 83 | __initcall(key_proc_init); |
84 | 84 | ||
85 | /* | 85 | /* |
86 | * implement "/proc/keys" to provides a list of the keys on the system | 86 | * Implement "/proc/keys" to provide a list of the keys on the system that |
87 | * grant View permission to the caller. | ||
87 | */ | 88 | */ |
88 | #ifdef CONFIG_KEYS_DEBUG_PROC_KEYS | 89 | #ifdef CONFIG_KEYS_DEBUG_PROC_KEYS |
89 | 90 | ||
@@ -291,7 +292,8 @@ static struct rb_node *key_user_first(struct rb_root *r) | |||
291 | } | 292 | } |
292 | 293 | ||
293 | /* | 294 | /* |
294 | * implement "/proc/key-users" to provides a list of the key users | 295 | * Implement "/proc/key-users" to provides a list of the key users and their |
296 | * quotas. | ||
295 | */ | 297 | */ |
296 | static int proc_key_users_open(struct inode *inode, struct file *file) | 298 | static int proc_key_users_open(struct inode *inode, struct file *file) |
297 | { | 299 | { |