git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
security
/
keys
/
proc.c
diff --git
a/security/keys/proc.c
b/security/keys/proc.c
index
686a9ee
..
12b750e
100644
(file)
--- a/
security/keys/proc.c
+++ b/
security/keys/proc.c
@@
-137,13
+137,6
@@
static int proc_keys_show(struct seq_file *m, void *v)
struct timespec now;
unsigned long timo;
char xbuf[12];
struct timespec now;
unsigned long timo;
char xbuf[12];
- int rc;
-
- /* check whether the current task is allowed to view the key (assuming
- * non-possession) */
- rc = key_task_permission(make_key_ref(key, 0), current, KEY_VIEW);
- if (rc < 0)
- return 0;
now = current_kernel_time();
now = current_kernel_time();