/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/keys/ |
H A D | process_keys.c | 383 key_ref_t key_ref, ret, err; local 394 key_ref = NULL; 400 key_ref = keyring_search_aux( 403 if (!IS_ERR(key_ref)) 406 switch (PTR_ERR(key_ref)) { 411 ret = key_ref; 414 err = key_ref; 421 key_ref = keyring_search_aux( 424 if (!IS_ERR(key_ref)) 427 switch (PTR_ERR(key_ref)) { 551 key_ref_t key_ref, skey_ref; local [all...] |
H A D | keyctl.c | 61 key_ref_t keyring_ref, key_ref; local 104 key_ref = key_create_or_update(keyring_ref, type, description, 106 if (!IS_ERR(key_ref)) { 107 ret = key_ref_to_ptr(key_ref)->serial; 108 key_ref_put(key_ref); 111 ret = PTR_ERR(key_ref); 218 key_ref_t key_ref; local 221 key_ref = lookup_user_key(NULL, id, create, 0, KEY_SEARCH); 222 if (IS_ERR(key_ref)) { 223 ret = PTR_ERR(key_ref); 272 key_ref_t key_ref; local 319 key_ref_t key_ref; local 371 key_ref_t keyring_ref, key_ref; local 405 key_ref_t keyring_ref, key_ref; local 446 key_ref_t key_ref; local 527 key_ref_t keyring_ref, key_ref, dest_ref; local 618 key_ref_t key_ref; local 678 key_ref_t key_ref; local 777 key_ref_t key_ref; local 984 key_ref_t key_ref; local [all...] |
H A D | permission.c | 21 int key_task_permission(const key_ref_t key_ref, argument 29 key = key_ref_to_ptr(key_ref); 62 if (is_key_possessed(key_ref)) 71 return security_key_permission(key_ref, context, perm);
|
H A D | request_key.c | 404 key_ref_t key_ref; local 411 key_ref = search_process_keyrings(type, description, type->match, 414 kdebug("search 1: %p", key_ref); 416 if (!IS_ERR(key_ref)) { 417 key = key_ref_to_ptr(key_ref); 419 else if (PTR_ERR(key_ref) != -EAGAIN) { 420 key = ERR_PTR(PTR_ERR(key_ref)); 448 key_ref = search_process_keyrings(type, description, 452 kdebug("search 2: %p", key_ref); 454 if (!IS_ERR(key_ref)) { [all...] |
H A D | key.c | 714 static inline key_ref_t __key_update(key_ref_t key_ref, argument 717 struct key *key = key_ref_to_ptr(key_ref); 721 ret = key_permission(key_ref, KEY_WRITE); 741 return key_ref; 745 key_ref = ERR_PTR(ret); 765 key_ref_t key_ref; local 772 key_ref = ERR_PTR(-ENODEV); 776 key_ref = ERR_PTR(-EINVAL); 784 key_ref = ERR_PTR(-ENOTDIR); 794 key_ref 862 key_update(key_ref_t key_ref, const void *payload, size_t plen) argument [all...] |
H A D | keyring.c | 297 key_ref_t key_ref; local 308 key_ref = ERR_PTR(err); 312 key_ref = ERR_PTR(-ENOTDIR); 403 key_ref = ERR_PTR(err); 410 key_ref = make_key_ref(key, possessed); 414 return key_ref;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | key-ui.h | 45 extern int key_task_permission(const key_ref_t key_ref, 49 static inline int key_permission(const key_ref_t key_ref, key_perm_t perm) argument 51 return key_task_permission(key_ref, current, perm);
|
H A D | key.h | 101 static inline struct key *key_ref_to_ptr(const key_ref_t key_ref) argument 103 return (struct key *) ((unsigned long) key_ref & ~1UL); 106 static inline unsigned long is_key_possessed(const key_ref_t key_ref) argument 108 return (unsigned long) key_ref & 1UL; 282 static inline void key_ref_put(key_ref_t key_ref) argument 284 key_put(key_ref_to_ptr(key_ref));
|
H A D | security.h | 910 * @key_ref refers to the key (key pointer + possession attribute bit). 1393 int (*key_permission)(key_ref_t key_ref, 3270 static inline int security_key_permission(key_ref_t key_ref, argument 3274 return security_ops->key_permission(key_ref, context, perm); 3290 static inline int security_key_permission(key_ref_t key_ref, argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/ |
H A D | dummy.c | 940 static inline int dummy_key_permission(key_ref_t key_ref, argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/ |
H A D | hooks.c | 4689 static int selinux_key_permission(key_ref_t key_ref, argument 4697 key = key_ref_to_ptr(key_ref);
|