summaryrefslogtreecommitdiff
path: root/security/keys/keyring.c
AgeCommit message (Expand)AuthorFilesLines
2019-02-27KEYS: always initialize keyring_index_key::desc_lenEric Biggers1-3/+1
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
2012-12-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-6/+4
2012-10-15Merge 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-14userns: 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