Home
last modified time | relevance | path

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

/Linux-v4.19/security/keys/
Dinternal.h109 key_serial_t target_id);
161 extern key_ref_t lookup_user_key(key_serial_t id, unsigned long flags,
209 extern struct key *key_get_instantiation_authkey(key_serial_t target_id);
225 extern long keyctl_get_keyring_ID(key_serial_t, int);
227 extern long keyctl_update_key(key_serial_t, const void __user *, size_t);
228 extern long keyctl_revoke_key(key_serial_t);
229 extern long keyctl_keyring_clear(key_serial_t);
230 extern long keyctl_keyring_link(key_serial_t, key_serial_t);
231 extern long keyctl_keyring_unlink(key_serial_t, key_serial_t);
232 extern long keyctl_describe_key(key_serial_t, char __user *, size_t);
[all …]
Dkeyctl.c66 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()
316 long keyctl_update_key(key_serial_t id, in keyctl_update_key()
370 long keyctl_revoke_key(key_serial_t id) in keyctl_revoke_key()
411 long keyctl_invalidate_key(key_serial_t id) in keyctl_invalidate_key()
458 long keyctl_keyring_clear(key_serial_t ringid) in keyctl_keyring_clear()
505 long keyctl_keyring_link(key_serial_t id, key_serial_t ringid) in keyctl_keyring_link()
542 long keyctl_keyring_unlink(key_serial_t id, key_serial_t ringid) in keyctl_keyring_unlink()
588 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.c83 static struct key *find_ge_key(struct seq_file *p, key_serial_t id) in find_ge_key()
120 key_serial_t pos = *_pos; in proc_keys_start()
134 static inline key_serial_t key_node_serial(struct rb_node *n) in key_node_serial()
Dpersistent.c131 long keyctl_get_persistent(uid_t _uid, key_serial_t destid) in keyctl_get_persistent()
Dkeyring.c428 key_serial_t __user *buffer;
466 if (buflen & (sizeof(key_serial_t) - 1)) in keyring_read()
471 ctx.buffer = (key_serial_t __user *)buffer; in keyring_read()
483 ret = keyring->keys.nr_leaves_on_tree * sizeof(key_serial_t); in keyring_read()
Drequest_key_auth.c234 struct key *key_get_instantiation_authkey(key_serial_t target_id) in key_get_instantiation_authkey()
Ddh.c21 static ssize_t dh_data_from_key(key_serial_t keyid, void **data) in dh_data_from_key()
Drequest_key.c100 key_serial_t prkey, sskey; in call_sbin_request_key()
Dprocess_keys.c533 key_ref_t lookup_user_key(key_serial_t id, unsigned long lflags, in lookup_user_key()
Dkey.c647 struct key *key_lookup(key_serial_t id) in key_lookup()
/Linux-v4.19/include/linux/
Dkey.h33 typedef int32_t key_serial_t; typedef
157 key_serial_t serial; /* key serial number */
340 extern struct key *key_lookup(key_serial_t id);
342 static inline key_serial_t key_serial(const struct key *key) in key_serial()
Dlsm_audit.h87 key_serial_t key;
Dsyscalls.h760 key_serial_t destringid);
764 key_serial_t destringid);
/Linux-v4.19/Documentation/security/keys/
Dcore.rst39 * Each key is issued a serial number of type key_serial_t that is unique for
382 key_serial_t add_key(const char *type, const char *desc,
384 key_serial_t keyring);
423 key_serial_t request_key(const char *type, const char *description,
425 key_serial_t dest_keyring);
443 key_serial_t keyctl(KEYCTL_GET_KEYRING_ID, key_serial_t id,
456 key_serial_t keyctl(KEYCTL_JOIN_SESSION_KEYRING, const char *name);
474 long keyctl(KEYCTL_UPDATE, key_serial_t key, const void *payload,
488 long keyctl(KEYCTL_REVOKE, key_serial_t key);
497 long keyctl(KEYCTL_CHOWN, key_serial_t key, uid_t uid, gid_t gid);
[all …]
Drequest-key.rst41 key_serial_t request_key(const char *type,
44 key_serial_t dest_keyring);
/Linux-v4.19/arch/s390/kernel/
Dcompat_wrapper.c139 …r __user *, tp, const char __user *, dsc, const void __user *, pld, size_t, len, key_serial_t, id);
140 …y, const char __user *, tp, const char __user *, dsc, const char __user *, info, key_serial_t, id);
/Linux-v4.19/Documentation/filesystems/nfs/
Didmapper.txt67 description. The serialized key is first converted into a key_serial_t, and
/Linux-v4.19/crypto/asymmetric_keys/
Dasymmetric_type.c502 key_serial_t serial; in asymmetric_lookup_restriction()