aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/keyctl.c
AgeCommit message (Expand)AuthorFilesLines
9 dayskeys: update key quotas in key_put()Luis Henriques1-5/+6
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-2/+2
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-2/+1
2023-07-28security: keys: perform capable check only on privileged operationsChristian Göttsche1-3/+8
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2021-01-21security: keys: delete repeated words in commentsRandy Dunlap1-1/+1
2020-10-17task_work: cleanup notification modesJens Axboe1-1/+1
2020-10-03security/keys: remove compat_keyctl_instantiate_key_iovChristoph Hellwig1-1/+1
2020-06-13Merge tag 'notifications-20200601' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-10/+105
2020-06-09mmap locking API: convert mmap_sem commentsMichel Lespinasse1-1/+1
2020-06-04mm: add kvfree_sensitive() for freeing sensitive data objectsWaiman Long1-11/+5
2020-05-19keys: Make the KEY_NEED_* perms an enum rather than a maskDavid Howells1-7/+9
2020-05-19watch_queue: Add a key/keyring notification facilityDavid Howells1-3/+96
2020-04-04Merge tag 'keys-fixes-20200329' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-17/+86
2020-03-29KEYS: Avoid false positive ENOMEM error on key readWaiman Long1-15/+43
2020-03-29KEYS: Don't write out to userspace while holding key semaphoreWaiman Long1-16/+57
2020-03-15KEYS: reaching the keys quotas correctlyYang Xu1-2/+2
2019-07-10Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-72/+32
2019-07-08Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-32/+72
2019-07-08Merge tag 'keys-namespace-20190627' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+5
2019-07-08Merge tag 'keys-misc-20190619' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+89
2019-07-03keys: Provide KEYCTL_GRANT_PERMISSIONDavid Howells1-1/+7
2019-06-27keys: Replace uid/gid/perm permissions checking with an ACLDavid Howells1-31/+65
2019-06-27keys: Pass the network namespace into request_key mechanismDavid Howells1-1/+1
2019-06-26keys: Include target namespace in match criteriaDavid Howells1-1/+2
2019-06-26keys: Namespace keyring namesDavid Howells1-1/+2
2019-06-26keys: Add a 'recurse' flag for keyring searchesDavid Howells1-1/+1
2019-06-19keys: Add capability-checking keyctl functionDavid Howells1-0/+35
2019-05-30keys: Add a keyctl to move a key between keyringsDavid Howells1-0/+52
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-29keys: sparse: Fix incorrect RCU accessesDavid Howells1-1/+2
2019-03-07Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2019-03-04keys: fix missing __user in KEYCTL_PKEY_QUERYBen Dooks1-1/+1
2019-02-15keys: Fix dependency loop between construction record and auth keyDavid Howells1-0/+1
2018-12-12security: audit and remove any unnecessary uses of module.hPaul Gortmaker1-1/+0
2018-10-26KEYS: Provide keyctls to drive the new key type ops for asymmetric keys [ver #2]David Howells1-0/+24
2017-12-08KEYS: reject NULL restriction string when type is specifiedEric Biggers1-14/+10
2017-10-18KEYS: Fix race between updating and finding a negative keyDavid Howells1-5/+4
2017-09-25KEYS: prevent KEYCTL_READ on negative keyEric Biggers1-0/+5
2017-09-25KEYS: fix key refcount leak in keyctl_read_key()Eric Biggers1-1/+1
2017-09-25KEYS: fix key refcount leak in keyctl_assume_authority()Eric Biggers1-4/+2
2017-06-09KEYS: sanitize add_key() and keyctl() key payloadsEric Biggers1-3/+9
2017-06-09KEYS: fix dereferencing NULL payload with nonzero lengthEric Biggers1-2/+2
2017-05-08treewide: use kv[mz]alloc* rather than opencoded variantsMichal Hocko1-16/+6
2017-05-03Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+59
2017-04-18KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyringsEric Biggers1-7/+4
2017-04-18KEYS: Disallow keyrings beginning with '.' to be joined as session keyringsDavid Howells1-2/+7
2017-04-04KEYS: add SP800-56A KDF support for DHStephan Mueller1-1/+1
2017-04-04KEYS: Add KEYCTL_RESTRICT_KEYRINGMat Martineau1-0/+58
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare to remove <linux/cred.h> inclusion from <linux/sched.h>Ingo Molnar1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-05[iov_iter] new primitives - copy_from_iter_full() and friendsAl Viro1-1/+1
2016-06-03KEYS: Add placeholder for KDF usage with DHStephan Mueller1-2/+2
2016-04-12KEYS: Add KEYCTL_DH_COMPUTE commandMat Martineau1-0/+5
2016-01-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-8/+41
2016-01-07KEYS: refcount bug fixMimi Zohar1-10/+7
2015-12-19KEYS: Fix race between read and revokeDavid Howells1-9/+9
2015-12-15KEYS: prevent keys from being removed from specified keyringsMimi Zohar1-10/+46
2015-10-21KEYS: Merge the type-specific data with the payload dataDavid Howells1-2/+2
2015-10-21KEYS: use kvfree() in add_keyGeliang Tang1-7/+1
2015-04-11switch keyctl_instantiate_key_common() to iov_iterAl Viro1-51/+27
2014-12-01KEYS: Fix the size of the key description passed to/from userspaceDavid Howells1-30/+26
2014-09-16KEYS: Reinstate EPERM for a key type name beginning with a '.'David Howells1-0/+2
2014-07-22Merge branch 'keys-fixes' into keys-nextDavid Howells1-1/+14
2014-07-17KEYS: Allow special keys (eg. DNS results) to be invalidated by CAP_SYS_ADMINDavid Howells1-1/+14
2014-07-17KEYS: special dot prefixed keyring name bug fixMimi Zohar1-2/+4
2014-03-14KEYS: Move the flags representing required permission to linux/key.hDavid Howells1-22/+22
2013-09-24KEYS: Add per-user_namespace registers for persistent per-UID kerberos cachesDavid Howells1-0/+3
2013-05-07aio: don't include aio.h in sched.hKent Overstreet1-0/+1
2012-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-7/+8
2012-10-14Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-4/+14
2012-10-08KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells1-4/+14
2012-10-02Merge branch 'modsign-keys-devel' into security-next-keysDavid Howells1-4/+14
2012-10-02KEYS: Make the session and process keyrings per-threadDavid Howells1-5/+6
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-20/+30
2012-09-28key: Fix resource leakAlan Cox1-2/+2
2012-09-13userns: Convert security/keys to the new userns infrastructureEric W. Biederman1-20/+30
2012-09-13task_work: Revert "hold task_lock around checks in keyctl"Oleg Nesterov1-2/+0
2012-09-13KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells1-4/+14
2012-07-23Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+1
2012-07-22hold task_lock around checks in keyctlAl Viro1-0/+2
2012-07-22merge task_work and rcu_head, get rid of separate allocation for keyring caseAl Viro1-19/+9
2012-07-22trimming task_work: kill ->dataAl Viro1-6/+8
2012-06-10Merge commit 'v3.5-rc2' into nextJames Morris1-40/+37
2012-05-31Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-38/+35
2012-05-31aio/vfs: cleanup of rw_copy_check_uvector() and compat_rw_copy_check_uvector()Christopher Yeoh1-1/+1
2012-05-31security/keys/keyctl.c: suppress memory allocation failure warningAndrew Morton1-1/+1
2012-05-25KEYS: Fix some sparse warningsDavid Howells1-1/+1
2012-05-23keys: change keyctl_session_to_parent() to use task_work_add()Oleg Nesterov1-28/+35
2012-05-23TIF_NOTIFY_RESUME is defined on all targets nowAl Viro1-10/+0
2012-05-11KEYS: Add invalidation supportDavid Howells1-0/+34
2012-03-23Merge tag 'nfs-for-3.4-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-16/+2
2012-03-01Created a function for setting timeouts on keysBryan Schumaker1-16/+2
2012-01-19KEYS: Allow special keyrings to be clearedDavid Howells1-1/+14
2011-10-31Cross Memory AttachChristopher Yeoh1-1/+1
2011-03-17KEYS: Make request_key() and co. return an error for a negative keyDavid Howells1-0/+6
2011-03-08KEYS: Add an iovec version of KEYCTL_INSTANTIATEDavid Howells1-7/+96
2011-03-08KEYS: Add a new keyctl op to reject a key with a specified error codeDavid Howells1-2/+38
2011-01-21KEYS: Fix up comments in key management codeDavid Howells1-92/+186
2011-01-21KEYS: Do some style cleanup in the key management code.David Howells1-58/+19
2010-09-10KEYS: Fix bug in keyctl_session_to_parent() if parent has no session keyringDavid Howells1-1/+2
2010-09-10KEYS: Fix RCU no-lock warning in keyctl_session_to_parent()David Howells1-0/+3
2010-08-02KEYS: Use the variable 'key' in keyctl_describe_key()David Howells1-7/+5
2010-08-02KEYS: Authorise keyctl_set_timeout() on a key if we have its authorisation keyDavid Howells1-1/+16
2010-06-27KEYS: Propagate error code instead of returning -EINVALDan Carpenter1-2/+2
2010-05-27keyctl_session_to_parent(): use thread_group_empty() to check singlethreadnessOleg Nesterov1-1/+1
2010-04-23security: whitespace coding style fixesJustin P. Mattock1-29/+29
2010-04-12security: remove dead hook key_session_to_parentEric Paris1-7/+0
2009-12-17Keys: KEYCTL_SESSION_TO_PARENT needs TIF_NOTIFY_RESUME architecture supportGeert Uytterhoeven1-0/+10
2009-12-17keys: PTR_ERR return of wrong pointer in keyctl_get_security()Roel Kluin1-1/+1
2009-10-15KEYS: get_instantiation_keyring() should inc the keyring refcount in all casesDavid Howells1-1/+1
2009-09-15KEYS: Fix garbage collectorDavid Howells1-1/+1
2009-09-15KEYS: Unlock tasklist when exiting early from keyctl_session_to_parentMarc Dionne1-0/+1
2009-09-02KEYS: Add a keyctl to install a process's session keyring on its parent [try #6]David Howells1-0/+102
2009-09-02KEYS: Add garbage collection for dead, revoked and expired keys. [try #6]David Howells1-0/+1
2009-09-02KEYS: Allow keyctl_revoke() on keys that have SETATTR but not WRITE perm [try...David Howells1-1/+7
2009-09-02KEYS: Deal with dead-type keys appropriately [try #6]David Howells1-21/+29
2009-02-27keys: distinguish per-uid keys in different namespacesSerge E. Hallyn1-1/+1
2009-01-17security: introduce missing kfreeVegard Nossum1-0/+1
2009-01-14[CVE-2009-0029] System call wrappers part 28Heiko Carstens1-2/+2
2009-01-14[CVE-2009-0029] System call wrappers part 27Heiko Carstens1-9/+9
2009-01-01keys: fix sparse warning by adding __user annotation to castJames Morris1-1/+1
2008-12-29KEYS: Fix variable uninitialisation warningsDavid Howells1-3/+3
2008-11-14CRED: Inaugurate COW credentialsDavid Howells1-28/+67
2008-11-14CRED: Separate task security context from task_structDavid Howells1-12/+13
2008-11-14KEYS: Alter use of key instantiation link-to-keyring argumentDavid Howells1-47/+71
2008-11-14CRED: Wrap task credential accesses in the key management codeDavid Howells1-1/+1
2008-04-29keys: make the keyring quotas controllable through /proc/sysDavid Howells1-3/+9
2008-04-29keys: allow clients to set key perms in key_create_or_update()Arun Raghavan1-1/+2
2008-04-29keys: add keyctl function to get a security labelDavid Howells1-0/+66
2008-04-29keys: allow the callout data to be passed as a blob rather than a stringDavid Howells1-2/+5
2008-04-29keys: increase the payload size when instantiating a keyDavid Howells1-8/+30
2006-06-29[PATCH] Keys: Allow in-kernel key requestor to pass auxiliary data to upcallerDavid Howells1-1/+1
2006-06-26[PATCH] keys: let keyctl_chown() change a key's ownerFredrik Tolf1-8/+48
2006-06-26[PATCH] keys: sort out key quota systemDavid Howells1-2/+3
2006-03-24[PATCH] strndup_user: convert keyctlDavi Arnaut1-105/+50
2006-02-03[PATCH] Fix keyctl usage of strnlen_user()Davi Arnaut1-5/+10
2006-01-11[PATCH] move capable() to capability.hRandy.Dunlap1-0/+1
2006-01-08[PATCH] keys: Permit running process to instantiate keysDavid Howells1-23/+84
2006-01-08[PATCH] keys: Permit key expiry time to be setDavid Howells1-0/+44
2005-10-30[PATCH] Keys: Add LSM hooks for key management [try #3]David Howells1-5/+8
2005-09-28[PATCH] Keys: Add possessor permissions to keys [try #3]David Howells1-150/+151
2005-08-04[PATCH] Keys: Fix key management syscall interface bugsDavid Howells1-4/+7
2005-06-24[PATCH] Keys: Make request-key create an authorisation keyDavid Howells1-58/+118
2005-06-24[PATCH] keys: Discard key spinlock and use RCU for key payloadDavid Howells1-16/+7
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+987