aboutsummaryrefslogtreecommitdiffstats
path: root/security/keys/process_keys.c
AgeCommit message (Expand)AuthorFilesLines
2021-10-20ucounts: Move get_ucounts from cred_alloc_blank to key_change_session_keyringEric W. Biederman1-0/+8
2021-01-21security: keys: Fix fall-through warnings for ClangGustavo A. R. Silva1-0/+1
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-3/+3
2020-05-19keys: Make the KEY_NEED_* perms an enum rather than a maskDavid Howells1-24/+22
2019-07-10Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-64/+22
2019-07-08Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-22/+64
2019-07-08Merge tag 'keys-namespace-20190627' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-92/+170
2019-07-08Merge tag 'keys-request-20190626' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-23/+18
2019-07-08Merge tag 'keys-misc-20190619' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-15/+11
2019-06-27keys: Replace uid/gid/perm permissions checking with an ACLDavid Howells1-22/+64
2019-06-26keys: Move the user and user-session keyrings to the user_namespaceDavid Howells1-91/+168
2019-06-26keys: Add a 'recurse' flag for keyring searchesDavid Howells1-1/+2
2019-06-19keys: Move the RCU locks outwards from the keyring search functionsDavid Howells1-23/+18
2019-05-30keys: Reuse keyring_index_key::desc_len in lookup_user_key()Eric Biggers1-3/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-22keys: sparse: Fix key_fs[ug]id_changed()David Howells1-12/+10
2019-04-10keys: safe concurrent user->{session,uid}_keyring accessJann Horn1-14/+17
2019-04-10security: don't use RCU accessors for cred->session_keyringJann Horn1-8/+4
2019-03-07Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+3
2019-02-15keys: Fix dependency loop between construction record and auth keyDavid Howells1-0/+1
2019-01-22security: keys: annotate implicit fall throughsMathieu Malaterre1-0/+3
2018-12-28Merge tag 'libnvdimm-for-4.21' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2018-12-13keys: Export lookup_user_key to external usersDave Jiang1-0/+1
2018-12-12security: audit and remove any unnecessary uses of module.hPaul Gortmaker1-1/+0
2017-11-15security: keys: Replace time_t/timespec with time64_tBaolin Wang1-1/+1
2017-10-18KEYS: Fix race between updating and finding a negative keyDavid Howells1-1/+1
2017-09-25KEYS: prevent creating a different user's keyringsEric Biggers1-2/+4
2017-06-09KEYS: put keyring if install_session_keyring_to_cred() failsEric Biggers1-3/+4
2017-05-03Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-1/+1
2017-04-18KEYS: fix keyctl_set_reqkey_keyring() to not leak thread keyringsEric Biggers1-17/+27
2017-04-03security, keys: convert key_user.usage from atomic_t to refcount_tElena Reshetova1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-04-11KEYS: Add a facility to restrict new links into a keyringDavid Howells1-6/+10
2016-01-20KEYS: Fix keyring ref leak in join_session_keyring()Yevgeny Pats1-0/+1
2015-10-21KEYS: Merge the type-specific data with the payload dataDavid Howells1-2/+2
2015-09-04capabilities: ambient capabilitiesAndy Lutomirski1-0/+1
2014-09-16KEYS: Make the key matching functions return boolDavid Howells1-2/+2
2014-09-16KEYS: Preparse match dataDavid Howells1-6/+7
2013-09-25KEYS: initialize root uid and session keyrings earlyMimi Zohar1-0/+10
2013-09-24KEYS: Define a __key_get() wrapper to use rather than atomic_inc()David Howells1-8/+8
2013-09-24KEYS: Introduce a search context structureDavid Howells1-59/+58
2013-09-24KEYS: Skip key state checks when checking for possessionDavid Howells1-3/+5
2013-03-12keys: fix race with concurrent install_user_keyrings()David Howells1-1/+1
2013-03-03userns: Stop oopsing in key_change_session_keyringEric W. Biederman1-1/+1
2013-02-21KEYS: Revert one application of "Fix unreachable code" patchDavid Howells1-0/+2
2012-12-20keys: fix unreachable codeAlan Cox1-2/+0
2012-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds1-53/+39
2012-10-28Merge branch 'master' into for-nextJiri Kosina1-7/+8
2012-10-25keys: Fix unreachable codeAlan Cox1-2/+0
2012-10-02KEYS: Reduce initial permissions on keysDavid Howells1-9/+17
2012-10-02KEYS: Make the session and process keyrings per-threadDavid Howells1-44/+22
2012-09-28keys: Fix unreachable codeAlan Cox1-2/+0
2012-09-13userns: Convert security/keys to the new userns infrastructureEric W. Biederman1-7/+8
2012-07-22merge task_work and rcu_head, get rid of separate allocation for keyring caseAl Viro1-4/+2
2012-07-22trimming task_work: kill ->dataAl Viro1-2/+3
2012-05-23keys: change keyctl_session_to_parent() to use task_work_add()Oleg Nesterov1-13/+7
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-1/+1
2012-05-11KEYS: Do LRU discard in full keyringsDavid Howells1-0/+2
2012-04-07cred: Refcount the user_ns pointed to by the cred.Eric W. Biederman1-1/+1
2012-04-07userns: Use cred->user_ns instead of cred->user->user_nsEric W. Biederman1-1/+1
2012-03-07KEYS: testing wrong bit for KEY_FLAG_REVOKEDDan Carpenter1-1/+2
2011-08-23KEYS: keyctl_get_keyring_ID() should create a session keyring if create flag setDavid Howells1-2/+12
2011-08-23KEYS: If install_session_keyring() is given a keyring, it should install itDavid Howells1-1/+1
2011-05-26Set cred->user_ns in key_replace_session_keyringSerge E. Hallyn1-0/+1
2011-03-17KEYS: Improve /proc/keysDavid Howells1-5/+7
2011-01-21KEYS: Fix up comments in key management codeDavid Howells1-37/+75
2011-01-21KEYS: Do some style cleanup in the key management code.David Howells1-18/+5
2010-10-28Fix install_process_keyring error handlingAndi Kleen1-1/+1
2010-08-02KEYS: Make /proc/keys check to see if a key is possessed before security checkDavid Howells1-21/+43
2010-05-27umh: creds: convert call_usermodehelper_keys() to use subprocess_info->init()Oleg Nesterov1-2/+1
2010-05-18KEYS: Return more accurate error codesDan Carpenter1-3/+3
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-1/+0
2009-09-02KEYS: Add a keyctl to install a process's session keyring on its parent [try #6]David Howells1-0/+49
2009-09-02KEYS: Deal with dead-type keys appropriately [try #6]David Howells1-5/+13
2009-07-17kernel: rename is_single_threaded(task) to current_is_single_threaded(void)Oleg Nesterov1-1/+1
2009-02-27keys: distinguish per-uid keys in different namespacesSerge E. Hallyn1-0/+2
2008-11-14CRED: Make execve() take advantage of copy-on-write credentialsDavid Howells1-42/+0
2008-11-14CRED: Inaugurate COW credentialsDavid Howells1-169/+164
2008-11-14CRED: Separate per-task-group keyrings from signal_structDavid Howells1-60/+40
2008-11-14CRED: Use RCU to access another task's creds and to release a task's own credsDavid Howells1-10/+14
2008-11-14CRED: Wrap current->cred and a few other accessorsDavid Howells1-1/+1
2008-11-14CRED: Separate task security context from task_structDavid Howells1-47/+51
2008-11-14KEYS: Alter use of key instantiation link-to-keyring argumentDavid Howells1-34/+54
2008-04-29keys: don't generate user and user session keyrings unless they're accessedDavid Howells1-59/+83
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-3/+13
2006-12-07[PATCH] lockdep: name some old style locksPeter Zijlstra1-1/+1
2006-06-26[PATCH] keys: sort out key quota systemDavid Howells1-7/+17
2006-06-22[PATCH] Keys: Fix race between two instantiators of a keyDavid Howells1-16/+26
2006-06-22[PATCH] selinux: add hooks for key subsystemMichael LeMay1-7/+8
2006-04-11[PATCH] Keys: Improve usage of memory barriers and remove IRQ disablementDavid Howells1-21/+20
2006-03-22[PATCH] sem2mutex: security/Ingo Molnar1-3/+4
2006-01-08[PATCH] keys: Permit running process to instantiate keysDavid Howells1-33/+38
2005-10-30[PATCH] Keys: Add LSM hooks for key management [try #3]David Howells1-5/+4
2005-09-28[PATCH] Keys: Add possessor permissions to keys [try #3]David Howells1-63/+101
2005-08-04[PATCH] Error during attempt to join key management session can leave semapho...David Howells1-1/+1
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-68/+111
2005-06-24[PATCH] Keys: Use RCU to manage session keyring pointerDavid Howells1-21/+21
2005-06-24[PATCH] keys: Discard key spinlock and use RCU for key payloadDavid Howells1-9/+3
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+665