Home
last modified time | relevance | path

Searched refs:key_serial_t (Results 1 – 17 of 17) sorted by relevance

/linux-4.4.14/security/keys/
Dinternal.h104 key_serial_t target_id);
156 extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags,
202 extern struct key *key_get_instantiation_authkey(key_serial_t target_id);
218 extern long keyctl_get_keyring_ID(key_serial_t, int);
220 extern long keyctl_update_key(key_serial_t, const void __user *, size_t);
221 extern long keyctl_revoke_key(key_serial_t);
222 extern long keyctl_keyring_clear(key_serial_t);
223 extern long keyctl_keyring_link(key_serial_t, key_serial_t);
224 extern long keyctl_keyring_unlink(key_serial_t, key_serial_t);
225 extern long keyctl_describe_key(key_serial_t, char __user *, size_t);
[all …]
Dkeyctl.c64 key_serial_t, ringid) in SYSCALL_DEFINE5() argument
161 key_serial_t, destringid) in SYSCALL_DEFINE4() argument
249 long keyctl_get_keyring_ID(key_serial_t id, int create) in keyctl_get_keyring_ID()
311 long keyctl_update_key(key_serial_t id, in keyctl_update_key()
363 long keyctl_revoke_key(key_serial_t id) in keyctl_revoke_key()
397 long keyctl_invalidate_key(key_serial_t id) in keyctl_invalidate_key()
439 long keyctl_keyring_clear(key_serial_t ringid) in keyctl_keyring_clear()
481 long keyctl_keyring_link(key_serial_t id, key_serial_t ringid) in keyctl_keyring_link()
516 long keyctl_keyring_unlink(key_serial_t id, key_serial_t ringid) in keyctl_keyring_unlink()
555 long keyctl_describe_key(key_serial_t keyid, in keyctl_describe_key()
[all …]
Dcompat.c28 key_serial_t id, in compat_keyctl_instantiate_key_iov()
31 key_serial_t ringid) in compat_keyctl_instantiate_key_iov()
Dproc.c104 static struct key *find_ge_key(struct seq_file *p, key_serial_t id) in find_ge_key()
141 key_serial_t pos = *_pos; in proc_keys_start()
155 static inline key_serial_t key_node_serial(struct rb_node *n) in key_node_serial()
Dpersistent.c129 long keyctl_get_persistent(uid_t _uid, key_serial_t destid) in keyctl_get_persistent()
Dkeyring.c421 key_serial_t __user *buffer;
460 if (buflen & (sizeof(key_serial_t) - 1)) in keyring_read()
468 ctx.qty = nr_keys * sizeof(key_serial_t); in keyring_read()
477 ctx.buffer = (key_serial_t __user *)buffer; in keyring_read()
Drequest_key_auth.c242 struct key *key_get_instantiation_authkey(key_serial_t target_id) in key_get_instantiation_authkey()
Drequest_key.c99 key_serial_t prkey, sskey; in call_sbin_request_key()
Dprocess_keys.c516 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, in lookup_user_key()
Dkey.c614 struct key *key_lookup(key_serial_t id) in key_lookup()
/linux-4.4.14/include/linux/
Dkey.h31 typedef int32_t key_serial_t; typedef
139 key_serial_t serial; /* key serial number */
300 extern struct key *key_lookup(key_serial_t id);
302 static inline key_serial_t key_serial(const struct key *key) in key_serial()
Dlsm_audit.h72 key_serial_t key;
Dsyscalls.h711 key_serial_t destringid);
716 key_serial_t destringid);
/linux-4.4.14/Documentation/security/
Dkeys.txt50 (*) Each key is issued a serial number of type key_serial_t that is unique for
397 key_serial_t add_key(const char *type, const char *desc,
399 key_serial_t keyring);
438 key_serial_t request_key(const char *type, const char *description,
440 key_serial_t dest_keyring);
458 key_serial_t keyctl(KEYCTL_GET_KEYRING_ID, key_serial_t id,
471 key_serial_t keyctl(KEYCTL_JOIN_SESSION_KEYRING, const char *name);
489 long keyctl(KEYCTL_UPDATE, key_serial_t key, const void *payload,
503 long keyctl(KEYCTL_REVOKE, key_serial_t key);
512 long keyctl(KEYCTL_CHOWN, key_serial_t key, uid_t uid, gid_t gid);
[all …]
Dkeys-request-key.txt41 key_serial_t request_key(const char *type,
44 key_serial_t dest_keyring);
/linux-4.4.14/arch/s390/kernel/
Dcompat_wrapper.c138 …r __user *, tp, const char __user *, dsc, const void __user *, pld, size_t, len, key_serial_t, id);
139 …y, const char __user *, tp, const char __user *, dsc, const char __user *, info, key_serial_t, id);
/linux-4.4.14/Documentation/filesystems/nfs/
Didmapper.txt67 description. The serialized key is first converted into a key_serial_t, and