diff options
Diffstat (limited to 'include/linux/key.h')
-rw-r--r-- | include/linux/key.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/key.h b/include/linux/key.h index 163f864b6bd4..8b0bd3393abc 100644 --- a/include/linux/key.h +++ b/include/linux/key.h | |||
@@ -67,6 +67,8 @@ struct key; | |||
67 | #define KEY_OTH_SETATTR 0x00000020 | 67 | #define KEY_OTH_SETATTR 0x00000020 |
68 | #define KEY_OTH_ALL 0x0000003f | 68 | #define KEY_OTH_ALL 0x0000003f |
69 | 69 | ||
70 | #define KEY_PERM_UNDEF 0xffffffff | ||
71 | |||
70 | struct seq_file; | 72 | struct seq_file; |
71 | struct user_struct; | 73 | struct user_struct; |
72 | struct signal_struct; | 74 | struct signal_struct; |
@@ -232,6 +234,7 @@ extern key_ref_t key_create_or_update(key_ref_t keyring, | |||
232 | const char *description, | 234 | const char *description, |
233 | const void *payload, | 235 | const void *payload, |
234 | size_t plen, | 236 | size_t plen, |
237 | key_perm_t perm, | ||
235 | unsigned long flags); | 238 | unsigned long flags); |
236 | 239 | ||
237 | extern int key_update(key_ref_t key, | 240 | extern int key_update(key_ref_t key, |