aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/key.c
AgeCommit message (Expand)AuthorFilesLines
9 dayskeys: Fix overwrite of key expiration on instantiationSilvio Gissi1-1/+2
9 dayskeys: update key quotas in key_put()Luis Henriques1-10/+22
2024-02-15ima: Move to LSM infrastructureRoberto Sassu1-8/+1
2024-02-15security: Introduce key_post_create_or_update hookRoberto Sassu1-1/+6
2023-12-21keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiryDavid Howells1-10/+5
2023-10-11security/keys: export key_lookup()Hannes Reinecke1-0/+1
2023-02-13KEYS: Add new function key_create()Thomas Weißschuh1-37/+100
2021-01-21certs: Fix blacklist flag type confusionDavid Howells1-0/+2
2020-11-23keys: Provide the original description to the key preparserDavid Howells1-0/+2
2020-05-19watch_queue: Add a key/keyring notification facilityDavid Howells1-14/+24
2020-03-15KEYS: reaching the keys quotas correctlyYang Xu1-1/+1
2019-12-12KEYS: Call the IMA hook to measure keysLakshmi Ramasubramanian1-0/+10
2019-07-10Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-10/+19
2019-07-08Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-19/+10
2019-07-08Merge tag 'keys-namespace-20190627' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+4
2019-07-08Merge tag 'keys-request-20190626' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2019-07-08Merge tag 'keys-misc-20190619' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-6/+21
2019-06-27keys: Replace uid/gid/perm permissions checking with an ACLDavid Howells1-19/+10
2019-06-26keys: Include target namespace in match criteriaDavid Howells1-0/+1
2019-06-26keys: Cache the hash value to avoid lots of recalculationDavid Howells1-1/+1
2019-06-26keys: Simplify key description managementDavid Howells1-0/+2
2019-06-19keys: Invalidate used request_key authentication keysDavid Howells1-2/+2
2019-05-30keys: Hoist locking out of __key_link_begin()David Howells1-6/+21
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-02-15keys: Timestamp new keysDavid Howells1-0/+1
2019-02-15KEYS: allow reaching the keys quotas exactlyEric Biggers1-2/+2
2018-12-12security: audit and remove any unnecessary uses of module.hPaul Gortmaker1-1/+1
2017-12-08security: keys: remove redundant assignment to key_refColin Ian King1-1/+0
2017-11-15security: keys: Replace time_t with time64_t for struct key_preparsed_payloadBaolin Wang1-4/+4
2017-11-15security: keys: Replace time_t/timespec with time64_tBaolin Wang1-13/+6
2017-10-18KEYS: don't let add_key() update an uninstantiated keyDavid Howells1-0/+10
2017-10-18KEYS: Fix race between updating and finding a negative keyDavid Howells1-11/+20
2017-09-25KEYS: reset parent each time before searching key_user_treeEric Biggers1-2/+2
2017-09-25KEYS: prevent creating a different user's keyringsEric Biggers1-0/+2
2017-06-09KEYS: fix refcount_inc() on zeroMark Rutland1-7/+4
2017-06-09KEYS: fix freeing uninitialized memory in key_update()Eric Biggers1-3/+2
2017-04-04KEYS: Consistent ordering for __key_link_begin and restrict checkMat Martineau1-11/+13
2017-04-04KEYS: Use structure to capture key restriction function and dataMat Martineau1-9/+14
2017-04-03KEYS: Split role of the keyring pointer for keyring restrict functionsMat Martineau1-2/+3
2017-04-03KEYS: Use a typedef for restrict_link function pointersMat Martineau1-6/+2
2017-04-03security, keys: convert key_user.usage from atomic_t to refcount_tElena Reshetova1-3/+3
2017-04-03security, keys: convert key.usage from atomic_t to refcount_tElena Reshetova1-3/+3
2016-06-16KEYS: potential uninitialized variableDan Carpenter1-1/+1
2016-04-11KEYS: Remove KEY_FLAG_TRUSTED and KEY_ALLOC_TRUSTEDDavid Howells1-9/+2
2016-04-11KEYS: Add a facility to restrict new links into a keyringDavid Howells1-7/+36
2016-02-09KEYS: Add an alloc flag to convey the builtinness of a keyDavid Howells1-0/+2
2016-01-28KEYS: Only apply KEY_FLAG_KEEP to a key if a parent keyring has it setDavid Howells1-1/+2
2016-01-07KEYS: refcount bug fixMimi Zohar1-2/+1
2015-12-15KEYS: prevent keys from being removed from specified keyringsMimi Zohar1-1/+5
2015-10-21KEYS: Merge the type-specific data with the payload dataDavid Howells1-9/+9
2015-10-21keys: Be more consistent in selection of union members usedInsu Yun1-1/+1
2014-12-16KEYS: remove a bogus NULL checkDan Carpenter1-6/+4
2014-10-12Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+1
2014-09-16KEYS: Remove key_type::match in favour of overriding default by match_preparseDavid Howells1-1/+1
2014-09-03KEYS: Increase root_maxkeys and root_maxbytes sizesSteve Dickson1-2/+2
2014-07-22KEYS: Call ->free_preparse() even after ->preparse() returns an errorDavid Howells1-5/+4
2014-07-22KEYS: Allow expiry time to be set when preparsing a keyDavid Howells1-0/+8
2014-07-22KEYS: struct key_preparsed_payload should have two payload pointersDavid Howells1-2/+4
2014-07-18KEYS: Provide a generic instantiation functionDavid Howells1-0/+30
2014-03-14KEYS: Move the flags representing required permission to linux/key.hDavid Howells1-3/+3
2013-12-02KEYS: Pre-clear struct key on allocationDavid Howells1-7/+1
2013-10-30KEYS: Fix a race between negating a key and reading the error setDavid Howells1-1/+2
2013-09-25KEYS: Add a 'trusted' flag and a 'trusted only' flagDavid Howells1-0/+8
2013-09-24KEYS: Expand the capacity of a keyringDavid Howells1-18/+17
2013-09-24KEYS: Drop the permissions argument from __keyring_search_one()David Howells1-1/+1
2013-09-24KEYS: Define a __key_get() wrapper to use rather than atomic_inc()David Howells1-1/+1
2013-09-24KEYS: Consolidate the concept of an 'index key' for key accessDavid Howells1-35/+37
2012-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-3/+3
2012-10-14Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-32/+82
2012-10-08KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells1-32/+82
2012-10-02Merge branch 'modsign-keys-devel' into security-next-keysDavid Howells1-32/+82
2012-10-02KEYS: Reduce initial permissions on keysDavid Howells1-3/+3
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-15/+8
2012-09-13userns: Convert security/keys to the new userns infrastructureEric W. Biederman1-15/+8
2012-09-13KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells1-32/+82
2012-08-20workqueue: deprecate system_nrt[_freezable]_wqTejun Heo1-1/+1
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+1
2012-05-11KEYS: Add invalidation supportDavid Howells1-0/+22
2012-05-11KEYS: Announce key type (un)registrationDavid Howells1-0/+3
2012-04-07userns: Use cred->user_ns instead of cred->user->user_nsEric W. Biederman1-1/+1
2012-03-01Created a function for setting timeouts on keysBryan Schumaker1-0/+20
2012-01-17keys: add a "logon" key typeJeff Layton1-0/+1
2011-11-17KEYS: Give key types their own lockdep class for key->semDavid Howells1-0/+3
2011-08-23KEYS: Correctly destroy key payloads when their keytype is removedDavid Howells1-47/+4
2011-08-23KEYS: Make the key reaper non-reentrantDavid Howells1-1/+1
2011-08-23KEYS: Move the unreferenced key reaper to the keys garbage collector fileDavid Howells1-70/+2
2011-03-08KEYS: Add a new keyctl op to reject a key with a specified error codeDavid Howells1-8/+11
2011-03-08KEYS: Add a key type op to permit the key description to be vettedDavid Howells1-0/+8
2011-01-26KEYS: Fix __key_link_end() quota fixup on errorDavid Howells1-4/+4
2011-01-21KEYS: Fix up comments in key management codeDavid Howells1-67/+173
2011-01-21KEYS: Do some style cleanup in the key management code.David Howells1-60/+20
2010-05-06KEYS: Do preallocation for __key_link()David Howells1-16/+29
2010-04-23security: whitespace coding style fixesJustin P. Mattock1-1/+1
2009-09-15KEYS: Fix garbage collectorDavid Howells1-2/+2
2009-09-02KEYS: Add garbage collection for dead, revoked and expired keys. [try #6]David Howells1-0/+14
2009-09-02KEYS: Flag dead keys to induce EKEYREVOKED [try #6]David Howells1-1/+3
2009-09-02KEYS: Deal with dead-type keys appropriately [try #6]David Howells1-4/+2
2009-02-27keys: distinguish per-uid keys in different namespacesSerge E. Hallyn1-2/+9
2008-11-14CRED: Inaugurate COW credentialsDavid Howells1-12/+13
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-5/+18
2008-04-29keys: don't generate user and user session keyrings unless they're accessedDavid Howells1-44/+1
2008-04-29keys: allow clients to set key perms in key_create_or_update()Arun Raghavan1-8/+10
2008-02-07Convert ERR_PTR(PTR_ERR(p)) instances to ERR_CAST(p)David Howells1-1/+1
2007-10-17KEYS: Make request_key() and co fundamentally asynchronousDavid Howells1-16/+18
2007-07-20mm: Remove slab destructors from kmem_cache_create().Paul Mundt1-1/+1
2007-02-06[PATCH] Keys: Fix key serial number collision handlingDavid Howells1-19/+14
2006-12-07[PATCH] security/keys/*: user kmemdup()Eric Sesterhenn1-3/+1
2006-12-07[PATCH] slab: remove kmem_cache_tChristoph Lameter1-1/+1
2006-12-07[PATCH] slab: remove SLAB_KERNELChristoph Lameter1-1/+1
2006-11-22WorkStruct: Pass the work_struct pointer instead of context dataDavid Howells1-3/+3
2006-06-27[PATCH] poison: add & use more constantsRandy Dunlap1-1/+2
2006-06-26[PATCH] keys: allocate key serial numbers randomlyMichael LeMay1-14/+14
2006-06-26[PATCH] keys: sort out key quota systemDavid Howells1-12/+14
2006-06-22[PATCH] Keys: Fix race between two instantiators of a keyDavid Howells1-0/+4
2006-06-22[PATCH] selinux: add hooks for key subsystemMichael LeMay1-4/+4
2006-04-21[RBTREE] Update key.c to use rb_parent() accessor macro.David Woodhouse1-4/+4
2006-04-10[Security] Keys: Fix oops when adding key to non-keyringDavid Howells1-0/+4
2006-03-25[PATCH] Keys: Replace duplicate non-updateable keys rather than failingDavid Howells1-5/+9
2006-03-25[PATCH] Keys: Fix key quota management on key allocationDavid Howells1-2/+2
2006-01-06[PATCH] security/: possible cleanupsAdrian Bunk1-1/+1
2006-01-06[PATCH] Keys: Remove key duplicationDavid Howells1-53/+3
2005-11-07[PATCH] kfree cleanup: securityJesper Juhl1-2/+1
2005-10-30[PATCH] Keys: Add LSM hooks for key management [try #3]David Howells1-16/+40
2005-09-28[PATCH] Keys: Add possessor permissions to keys [try #3]David Howells1-36/+45
2005-06-25[PATCH] RCU: clean up a few remaining synchronize_kernel() callsPaul E. McKenney1-1/+1
2005-06-24[PATCH] Keys: Make request-key create an authorisation keyDavid Howells1-6/+18
2005-06-24[PATCH] keys: Discard key spinlock and use RCU for key payloadDavid Howells1-52/+42
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+1040