summaryrefslogtreecommitdiff
path: root/security/keys/keyring.c
AgeCommit message (Expand)AuthorFilesLines
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-31keys: Add a keyctl to move a key between keyringsDavid Howells1-0/+108
2019-05-31keys: Hoist locking out of __key_link_begin()David Howells1-31/+47
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-30keys: 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-23security: keys: annotate implicit fall throughMathieu Malaterre1-0/+1
2018-12-13security: 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-05KEYS: Add KEYCTL_RESTRICT_KEYRINGMat Martineau1-0/+105
2017-04-05KEYS: 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-12KEYS: Remove KEY_FLAG_TRUSTED and KEY_ALLOC_TRUSTEDDavid Howells1-28/+1
2016-04-12KEYS: 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-02KEYS: request_key() should reget expired keys rather than give EKEYEXPIREDDavid Howells1-1/+2
2014-12-02KEYS: 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-23KEYS: 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-10KEYS: 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