aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/keyring.c
AgeCommit message (Expand)AuthorFilesLines
2022-10-05security/keys: Remove inconsistent __user annotationVincenzo Frascino1-1/+1
2021-01-21security: keys: delete repeated words in commentsRandy Dunlap1-2/+2
2021-01-21keys: Remove outdated __user annotationsJann Horn1-3/+3
2020-05-19watch_queue: Add a key/keyring notification facilityDavid Howells1-7/+13
2020-03-29KEYS: Don't write out to userspace while holding key semaphoreWaiman Long1-5/+1
2019-07-10Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-18/+9
2019-07-08Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-9/+18
2019-07-08Merge tag 'keys-namespace-20190627' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-114/+149
2019-07-08Merge tag 'keys-request-20190626' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-7/+9
2019-07-08Merge tag 'keys-misc-20190619' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-52/+226
2019-06-27keys: Replace uid/gid/perm permissions checking with an ACLDavid Howells1-9/+18
2019-06-27keys: Pass the network namespace into request_key mechanismDavid Howells1-4/+7
2019-06-26keys: Network namespace domain tagDavid Howells1-1/+6
2019-06-26keys: Garbage collect keys for which the domain has been removedDavid Howells1-0/+15
2019-06-26keys: Include target namespace in match criteriaDavid Howells1-2/+34
2019-06-26keys: Move the user and user-session keyrings to the user_namespaceDavid Howells1-0/+1
2019-06-26keys: Namespace keyring namesDavid Howells1-56/+43
2019-06-26keys: Add a 'recurse' flag for keyring searchesDavid Howells1-2/+10
2019-06-26keys: Cache the hash value to avoid lots of recalculationDavid Howells1-8/+20
2019-06-26keys: Simplify key description managementDavid Howells1-49/+21
2019-06-19keys: Move the RCU locks outwards from the keyring search functionsDavid Howells1-7/+9
2019-05-30keys: Add a keyctl to move a key between keyringsDavid Howells1-0/+108
2019-05-30keys: Hoist locking out of __key_link_begin()David Howells1-31/+47
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-30keys: Break bits out of key_unlink()David Howells1-21/+67
2019-05-30keys: Change keyring_serialise_link_sem to a mutexDavid Howells1-6/+6
2019-05-29keys: sparse: Fix kdoc mismatchesDavid Howells1-3/+7
2019-03-07Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2019-02-22KEYS: always initialize keyring_index_key::desc_lenEric Biggers1-3/+1
2019-01-22security: keys: annotate implicit fall throughMathieu Malaterre1-0/+1
2018-12-12security: audit and remove any unnecessary uses of module.hPaul Gortmaker1-1/+1
2017-12-04keyring: Remove now-redundant smp_read_barrier_depends()Paul E. McKenney1-7/+0
2017-11-15security: keys: Replace time_t/timespec with time64_tBaolin Wang1-10/+10
2017-11-02KEYS: return full count in keyring_read() if buffer is too smallEric Biggers1-20/+19
2017-10-18KEYS: Load key expiry time atomically in keyring_search_iterator()Eric Biggers1-1/+3
2017-10-18KEYS: Fix race between updating and finding a negative keyDavid Howells1-5/+5
2017-09-25KEYS: prevent creating a different user's keyringsEric Biggers1-9/+14
2017-09-25KEYS: fix writing past end of user-supplied buffer in keyring_read()Eric Biggers1-9/+5
2017-06-09security: use READ_ONCE instead of deprecated ACCESS_ONCEDavidlohr Bueso1-6/+6
2017-04-04KEYS: Add KEYCTL_RESTRICT_KEYRINGMat Martineau1-0/+105
2017-04-04KEYS: Use structure to capture key restriction function and dataMat Martineau1-5/+63
2017-04-03KEYS: Split role of the keyring pointer for keyring restrict functionsMat Martineau1-2/+4
2017-04-03KEYS: Use a typedef for restrict_link function pointersMat Martineau1-3/+1
2017-04-03security, keys: convert key.usage from atomic_t to refcount_tElena Reshetova1-4/+4
2016-04-11KEYS: Remove KEY_FLAG_TRUSTED and KEY_ALLOC_TRUSTEDDavid Howells1-28/+1
2016-04-11KEYS: Add a facility to restrict new links into a keyringDavid Howells1-7/+66
2015-10-21KEYS: Merge the type-specific data with the payload dataDavid Howells1-6/+6
2015-07-28KEYS: ensure we free the assoc array edit if edit is validColin Ian King1-3/+5
2014-12-01KEYS: request_key() should reget expired keys rather than give EKEYEXPIREDDavid Howells1-1/+2
2014-12-01KEYS: Simplify KEYRING_SEARCH_{NO,DO}_STATE_CHECK flagsDavid Howells1-3/+4
2014-09-16KEYS: Make the key matching functions return boolDavid Howells1-2/+2
2014-09-16KEYS: Remove key_type::match in favour of overriding default by match_preparseDavid Howells1-5/+10
2014-09-16KEYS: Preparse match dataDavid Howells1-19/+30
2014-07-22KEYS: keyring: Provide key preparsingDavid Howells1-11/+23
2014-03-14KEYS: Move the flags representing required permission to linux/key.hDavid Howells1-4/+4
2014-03-09KEYS: Make the keyring cycle detector ignore other keyrings of the same nameDavid Howells1-1/+5
2013-12-02KEYS: Fix searching of nested keyringsDavid Howells1-1/+1
2013-12-02KEYS: Fix multiple key add into associative arrayDavid Howells1-4/+3
2013-12-02KEYS: Fix the keyring hash functionDavid Howells1-4/+4
2013-11-14KEYS: Fix keyring content gc scannerDavid Howells1-10/+35
2013-10-30KEYS: Fix keyring quota misaccounting on key replacement and unlinkDavid Howells1-12/+15
2013-10-30KEYS: Fix a race between negating a key and reading the error setDavid Howells1-0/+1
2013-09-25KEYS: Add a 'trusted' flag and a 'trusted only' flagDavid Howells1-0/+4
2013-09-24KEYS: Expand the capacity of a keyringDavid Howells1-693/+743
2013-09-24KEYS: Drop the permissions argument from __keyring_search_one()David Howells1-6/+3
2013-09-24KEYS: Define a __key_get() wrapper to use rather than atomic_inc()David Howells1-3/+3
2013-09-24KEYS: Introduce a search context structureDavid Howells1-35/+35
2013-09-24KEYS: Consolidate the concept of an 'index key' for key accessDavid Howells1-18/+19
2013-09-24KEYS: Use bool in make_key_ref() and is_key_possessed()David Howells1-2/+3
2012-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-6/+4
2012-10-14Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+3
2012-10-08KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells1-3/+3
2012-10-02Merge branch 'modsign-keys-devel' into security-next-keysDavid Howells1-3/+3
2012-10-02KEYS: Use keyring_alloc() to create special keyringsDavid Howells1-0/+1
2012-10-02KEYS: Reduce initial permissions on keysDavid Howells1-6/+3
2012-09-13userns: Convert security/keys to the new userns infrastructureEric W. Biederman1-2/+2
2012-09-13KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells1-3/+3
2012-05-25KEYS: Fix some sparse warningsDavid Howells1-0/+2
2012-05-11KEYS: Add invalidation supportDavid Howells1-14/+11
2012-05-11KEYS: Do LRU discard in full keyringsDavid Howells1-7/+40
2012-05-11KEYS: Permit in-place link replacement in keyring listDavid Howells1-39/+56
2012-01-18KEYS: Add missing smp_rmb() primitives to the keyring search codeDavid Howells1-7/+15
2011-08-23KEYS: __key_link() should use the RCU deref wrapper for keyring payloadsDavid Howells1-2/+1
2011-07-08rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_checkMichal Hocko1-1/+0
2011-03-17KEYS: Improve /proc/keysDavid Howells1-13/+24
2011-03-08KEYS: Add a new keyctl op to reject a key with a specified error codeDavid Howells1-2/+2
2011-01-26KEYS: Fix __key_link_end() quota fixup on errorDavid Howells1-12/+19
2011-01-21KEYS: Fix up comments in key management codeDavid Howells1-72/+159
2011-01-21KEYS: Do some style cleanup in the key management code.David Howells1-48/+16
2010-05-25kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT...Alexey Dobriyan1-3/+3
2010-05-06KEYS: Do preallocation for __key_link()David Howells1-97/+145
2010-05-06Merge branch 'master' into nextJames Morris1-19/+22
2010-05-06KEYS: keyring_serialise_link_sem is only needed for keyring->keyring linksDavid Howells1-7/+9
2010-05-06Merge branch 'master' into nextJames Morris1-1/+1
2010-05-05KEYS: Use RCU dereference wrappers in keyring key type codeDavid Howells1-10/+13
2010-05-05KEYS: find_keyring_by_name() can gain access to a freed keyringToshiyuki Okajima1-9/+9
2010-04-28keys: don't need to use RCU in keyring_read() as semaphore is heldDavid Howells1-1/+1
2010-04-23security: whitespace coding style fixesJustin P. Mattock1-10/+10
2010-03-10Security: key: keyring: fix some code style issuesChihau Chau1-4/+3
2010-03-05Security: Fix some coding styles in security/keys/keyring.cwzt.wzt@gmail.com1-4/+2
2010-02-25security: Apply lockdep-based checking to rcu_dereference() usesPaul E. McKenney1-1/+3
2009-09-15KEYS: Fix garbage collectorDavid Howells1-5/+19
2009-09-02KEYS: Add garbage collection for dead, revoked and expired keys. [try #6]David Howells1-0/+85
2009-02-27keys: skip keys from another user namespaceSerge E. Hallyn1-0/+3
2008-11-14CRED: Inaugurate COW credentialsDavid Howells1-7/+7
2008-11-14KEYS: Disperse linux/key_ui.hDavid Howells1-0/+1
2008-04-29keys: don't generate user and user session keyrings unless they're accessedDavid Howells1-12/+7
2008-04-29keys: check starting keyring as part of searchKevin Coffman1-4/+31
2007-04-26[AF_RXRPC]: Key facility changes for AF_RXRPCDavid Howells1-0/+2
2006-12-07[PATCH] security/keys/*: user kmemdup()Eric Sesterhenn1-3/+1
2006-06-26[PATCH] keys: discard the contents of a key on revocationDavid Howells1-0/+21
2006-06-26[PATCH] keys: sort out key quota systemDavid Howells1-2/+2
2006-06-22[PATCH] selinux: add hooks for key subsystemMichael LeMay1-2/+3
2006-04-10[Security] Keys: Fix oops when adding key to non-keyringDavid Howells1-0/+1
2006-01-08[PATCH] keys: Permit running process to instantiate keysDavid Howells1-45/+0
2006-01-08[PATCH] keys: Discard duplicate keys from a keyring on linkDavid Howells1-23/+64
2006-01-06[PATCH] security/: possible cleanupsAdrian Bunk1-1/+1
2006-01-06[PATCH] Keys: Remove key duplicationDavid Howells1-64/+0
2005-12-01[PATCH] Keys: Fix permissions check for update vs addDavid Howells1-1/+1
2005-11-07[PATCH] Keys: Remove incorrect and obsolete '!' operatorsDavid Howells1-4/+4
2005-10-30[PATCH] Keys: Add LSM hooks for key management [try #3]David Howells1-8/+13
2005-09-28[PATCH] Keys: Add possessor permissions to keys [try #3]David Howells1-36/+50
2005-08-04[PATCH] Destruction of failed keyring oopsesDavid Howells1-1/+5
2005-07-07[PATCH] Keys: Base keyring size on key pointer not key structDavid Howells1-7/+8
2005-06-24[PATCH] Keys: Make request-key create an authorisation keyDavid Howells1-8/+59
2005-06-24[PATCH] keys: Discard key spinlock and use RCU for key payloadDavid Howells1-97/+148
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+895