summaryrefslogtreecommitdiffstats
path: root/security/keys
AgeCommit message (Expand)AuthorFilesLines
2015-09-25KEYS: Fix race between key destruction and finding a keyring by nameDavid Howells1-4/+4
2015-09-04capabilities: ambient capabilitiesAndy Lutomirski1-0/+1
2015-07-28KEYS: ensure we free the assoc array edit if edit is validColin Ian King1-3/+5
2015-04-11switch keyctl_instantiate_key_common() to iov_iterAl Viro3-72/+40
2015-02-16Don't leak a key reference if request_key() tries to use a revoked keyringDavid Jeffery1-0/+1
2015-01-22KEYS: Make /proc/keys unconditional if CONFIG_KEYS=yDavid Howells2-26/+0
2015-01-05KEYS: close race between key lookup and freeingSasha Levin1-2/+2
2014-12-16KEYS: remove a bogus NULL checkDan Carpenter1-6/+4
2014-12-16Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/li...James Morris1-1/+4
2014-12-06KEYS: Fix stale key registration at error pathTakashi Iwai1-1/+4
2014-12-01KEYS: request_key() should reget expired keys rather than give EKEYEXPIREDDavid Howells3-2/+5
2014-12-01KEYS: Simplify KEYRING_SEARCH_{NO,DO}_STATE_CHECK flagsDavid Howells3-3/+6
2014-12-01KEYS: Fix the size of the key description passed to/from userspaceDavid Howells1-30/+26
2014-11-19Merge commit 'v3.17' into nextJames Morris3-33/+5
2014-10-12Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds12-71/+82
2014-09-16KEYS: Make the key matching functions return boolDavid Howells3-8/+8
2014-09-16KEYS: Remove key_type::match in favour of overriding default by match_preparseDavid Howells9-23/+15
2014-09-16KEYS: Remove key_type::def_lookup_typeDavid Howells3-9/+5
2014-09-16KEYS: Preparse match dataDavid Howells7-44/+65
2014-09-16Merge tag 'keys-next-fixes-20140916' into keys-nextDavid Howells1-2/+2
2014-09-16KEYS: Reinstate EPERM for a key type name beginning with a '.'David Howells1-0/+2
2014-09-16KEYS: Fix missing staticsDavid Howells1-2/+2
2014-09-03KEYS: Increase root_maxkeys and root_maxbytes sizesSteve Dickson1-2/+2
2014-08-06Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds6-54/+145
2014-07-28KEYS: revert encrypted key changeMimi Zohar1-1/+1
2014-07-22Merge branch 'keys-fixes' into keys-nextDavid Howells1-1/+14
2014-07-22Merge remote-tracking branch 'integrity/next-with-keys' into keys-nextDavid Howells1-2/+4
2014-07-22KEYS: request_key_auth: Provide key preparsingDavid Howells1-0/+13
2014-07-22KEYS: keyring: Provide key preparsingDavid Howells1-11/+23
2014-07-22KEYS: big_key: Use key preparsingDavid Howells1-16/+25
2014-07-22KEYS: user: Use key preparsingDavid Howells1-19/+22
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 Howells2-3/+5
2014-07-18KEYS: Provide a generic instantiation functionDavid Howells1-0/+30
2014-07-17KEYS: Allow special keys (eg. DNS results) to be invalidated by CAP_SYS_ADMINDavid Howells1-1/+14
2014-07-17KEYS: special dot prefixed keyring name bug fixMimi Zohar1-2/+4
2014-07-16sched: Remove proliferation of wait_on_bit() action functionsNeilBrown2-31/+3
2014-06-24Merge commit 'v3.15' into nextJames Morris1-2/+2
2014-06-10Merge branch 'serge-next-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds8-45/+36
2014-04-15security: Convert use of typedef ctl_table to struct ctl_tableJoe Perches1-1/+1
2014-04-14Merge tag 'keys-20140314' of git://git.kernel.org/pub/scm/linux/kernel/git/dh...James Morris7-44/+35
2014-04-14Merge commit 'v3.14' into nextJames Morris1-1/+5
2014-04-03Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds2-4/+4
2014-03-31Merge branch 'compat' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/l...Linus Torvalds1-2/+2
2014-03-14KEYS: Move the flags representing required permission to linux/key.hDavid Howells7-44/+35
2014-03-09KEYS: Make the keyring cycle detector ignore other keyrings of the same nameDavid Howells1-1/+5
2014-03-06security/compat: convert to COMPAT_SYSCALL_DEFINEHeiko Carstens1-2/+2
2014-02-06security: replace strict_strto*() with kstrto*()Jingoo Han2-4/+4
2013-12-02security: shmem: implement kernel private shmem inodesEric Paris1-1/+1
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-12-02KEYS: Pre-clear struct key on allocationDavid Howells1-7/+1
2013-11-14KEYS: Fix keyring content gc scannerDavid Howells2-51/+36
2013-11-13KEYS: Fix error handling in big_key instantiationDavid Howells1-0/+1
2013-11-06KEYS: Fix UID check in keyctl_get_persistent()David Howells1-4/+2
2013-10-30KEYS: fix error return code in big_key_instantiate()Wei Yongjun1-1/+3
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 Howells3-2/+6
2013-10-30KEYS: Make BIG_KEYS booleanJosh Boyer1-1/+1
2013-09-25KEYS: initialize root uid and session keyrings earlyMimi Zohar1-0/+10
2013-09-25KEYS: Add a 'trusted' flag and a 'trusted only' flagDavid Howells2-0/+12
2013-09-24KEYS: Add per-user_namespace registers for persistent per-UID kerberos cachesDavid Howells7-0/+213
2013-09-24KEYS: Implement a big key type that can save to tmpfsDavid Howells3-0/+216
2013-09-24KEYS: Expand the capacity of a keyringDavid Howells6-742/+792
2013-09-24KEYS: Drop the permissions argument from __keyring_search_one()David Howells3-9/+5
2013-09-24KEYS: Define a __key_get() wrapper to use rather than atomic_inc()David Howells3-12/+12
2013-09-24KEYS: Search for auth-key by name rather than target key IDDavid Howells1-14/+7
2013-09-24KEYS: Introduce a search context structureDavid Howells7-158/+174
2013-09-24KEYS: Consolidate the concept of an 'index key' for key accessDavid Howells4-62/+67
2013-09-24KEYS: key_is_dead() should take a const key pointer argumentDavid Howells1-1/+1
2013-09-24KEYS: Use bool in make_key_ref() and is_key_possessed()David Howells1-2/+3
2013-09-24KEYS: Skip key state checks when checking for possessionDavid Howells4-6/+11
2013-05-07aio: don't include aio.h in sched.hKent Overstreet2-0/+3
2013-04-30KEYS: split call to call_usermodehelper_fns()Lucas De Marchi1-3/+10
2013-03-12Fix: compat_rw_copy_check_uvector() misuse in aio, readv, writev, and securit...Mathieu Desnoyers1-2/+2
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 Torvalds5-75/+69
2012-10-28Merge branch 'master' into for-nextJiri Kosina13-195/+225
2012-10-25keys: Fix unreachable codeAlan Cox1-2/+0
2012-10-14Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds7-63/+129
2012-10-08KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells7-63/+129
2012-10-02Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-42/+12
2012-10-02Merge branch 'modsign-keys-devel' into security-next-keysDavid Howells7-63/+129
2012-10-02KEYS: Use keyring_alloc() to create special keyringsDavid Howells1-0/+1
2012-10-02KEYS: Reduce initial permissions on keysDavid Howells4-19/+33
2012-10-02KEYS: Make the session and process keyrings per-threadDavid Howells3-54/+33
2012-10-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds8-83/+79
2012-10-02Merge branch 'for-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wqLinus Torvalds2-5/+5
2012-09-28key: Fix resource leakAlan Cox1-2/+2
2012-09-28keys: Fix unreachable codeAlan Cox1-2/+0
2012-09-13userns: Convert security/keys to the new userns infrastructureEric W. Biederman8-83/+79
2012-09-13task_work: Revert "hold task_lock around checks in keyctl"Oleg Nesterov1-2/+0
2012-09-13KEYS: Add payload preparsing opportunity prior to key instantiate or updateDavid Howells7-63/+129
2012-08-22tpm: Move tpm_get_random api into the TPM device driverKent Yoder1-42/+12
2012-08-20workqueue: deprecate system_nrt[_freezable]_wqTejun Heo2-5/+5
2012-07-23Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds4-4/+6
2012-07-22hold task_lock around checks in keyctlAl Viro1-0/+2
2012-07-22merge task_work and rcu_head, get rid of separate allocation for keyring caseAl Viro3-28/+12
2012-07-22trimming task_work: kill ->dataAl Viro3-8/+15
2012-06-10Merge commit 'v3.5-rc2' into nextJames Morris7-68/+55
2012-05-31Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds3-51/+44
2012-05-31aio/vfs: cleanup of rw_copy_check_uvector() and compat_rw_copy_check_uvector()Christopher Yeoh2-2/+2
2012-05-31kmod: convert two call sites to call_usermodehelper_fns()Boaz Harrosh1-10/+3
2012-05-31security/keys/keyctl.c: suppress memory allocation failure warningAndrew Morton1-1/+1
2012-05-25KEYS: Fix some sparse warningsDavid Howells4-4/+6
2012-05-23keys: change keyctl_session_to_parent() to use task_work_add()Oleg Nesterov3-41/+44
2012-05-23TIF_NOTIFY_RESUME is defined on all targets nowAl Viro1-10/+0
2012-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds3-4/+5
2012-05-16KEYS: Don't check for NULL key pointer in key_validate()David Howells1-24/+16
2012-05-11KEYS: Add invalidation supportDavid Howells8-28/+110
2012-05-11KEYS: Do LRU discard in full keyringsDavid Howells2-7/+42
2012-05-11KEYS: Permit in-place link replacement in keyring listDavid Howells2-40/+57
2012-05-11KEYS: Perform RCU synchronisation on keys prior to key destructionDavid Howells1-29/+44
2012-05-11KEYS: Announce key type (un)registrationDavid Howells1-0/+3
2012-05-11KEYS: Reorganise keys MakefileDavid Howells1-3/+9
2012-05-11KEYS: Move the key config into security/keys/KconfigDavid Howells1-0/+71
2012-05-03userns: Convert group_info values from gid_t to kgid_t.Eric W. Biederman1-1/+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. Biederman3-3/+3
2012-03-23usermodehelper: kill umh_wait, renumber UMH_* constantsOleg Nesterov1-1/+1
2012-03-23Merge tag 'nfs-for-3.4-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds2-16/+22
2012-03-07KEYS: testing wrong bit for KEY_FLAG_REVOKEDDan Carpenter1-1/+2
2012-03-01Created a function for setting timeouts on keysBryan Schumaker2-16/+22
2012-02-09Merge branch 'next-queue' into nextJames Morris1-1/+14
2012-01-23Merge git://git.samba.org/sfrench/cifs-2.6Linus Torvalds3-0/+39
2012-01-19keys: fix user_defined key sparse messagesMimi Zohar1-3/+3
2012-01-19KEYS: Allow special keyrings to be clearedDavid Howells1-1/+14
2012-01-17keys: add a "logon" key typeJeff Layton3-0/+39
2012-01-18encrypted-keys: fix rcu and sparse messagesMimi Zohar2-2/+2
2012-01-18keys: fix trusted/encrypted keys sparse rcu_assign_pointer messagesMimi Zohar3-4/+6
2012-01-18KEYS: Add missing smp_rmb() primitives to the keyring search codeDavid Howells2-8/+18
2012-01-09Merge branch 'next' into for-linusJames Morris1-0/+3
2011-11-17KEYS: Give key types their own lockdep class for key->semDavid Howells1-0/+3
2011-11-16encrypted-keys: module build fixesMimi Zohar2-3/+8
2011-11-16encrypted-keys: fix error return codeMimi Zohar1-1/+1
2011-11-15KEYS: Fix a NULL pointer deref in the user-defined key typeDavid Howells1-1/+2
2011-10-31security: follow rename pack_hex_byte() to hex_byte_pack()Andy Shevchenko2-2/+2
2011-10-31Cross Memory AttachChristopher Yeoh2-2/+2
2011-09-20encrypted-keys: check hex2bin resultMimi Zohar1-3/+11
2011-09-20trusted-keys: check hex2bin resultMimi Zohar1-4/+15
2011-09-15encrypted-keys: IS_ERR need include/err.hStephen Rothwell1-0/+1
2011-09-14encrypted-keys: remove trusted-keys dependencyMimi Zohar4-27/+64
2011-09-14encrypted-keys: create encrypted-keys directoryMimi Zohar6-1/+6
2011-08-23KEYS: Correctly destroy key payloads when their keytype is removedDavid Howells3-208/+258
2011-08-23KEYS: The dead key link reaper should be non-reentrantDavid Howells1-3/+3
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 Howells3-76/+85
2011-08-23KEYS: __key_link() should use the RCU deref wrapper for keyring payloadsDavid Howells1-2/+1
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-07-27Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo...Linus Torvalds5-53/+313
2011-07-11Merge branch 'master' into for-nextJiri Kosina1-3/+3
2011-07-08rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_checkMichal Hocko1-1/+0
2011-06-30Merge branch 'linus' into nextJames Morris1-3/+3
2011-06-27encrypted-keys: add ecryptfs format supportRoberto Sassu4-8/+180
2011-06-27encrypted-keys: add key format supportRoberto Sassu1-40/+101
2011-06-27encrypted-keys: added additional debug messagesRoberto Sassu1-11/+34
2011-06-27encrypted-keys: fixed valid_master_desc() function descriptionRoberto Sassu1-1/+1
2011-06-27encrypted_keys: avoid dumping the master key if the request failsRoberto Sassu1-3/+5
2011-06-21KEYS: Fix error handling in construct_key_and_link()David Howells1-1/+2
2011-06-17KEYS/DNS: Fix ____call_usermodehelper() to not lose the session keyringDavid Howells1-2/+1
2011-06-14KEYS: Don't return EAGAIN to keyctl_assume_authority()David Howells1-0/+2
2011-05-27Merge branch 'docs-move' of git://git.kernel.org/pub/scm/linux/kernel/git/rdu...Linus Torvalds4-4/+4
2011-05-26Set cred->user_ns in key_replace_session_keyringSerge E. Hallyn1-0/+1
2011-05-24Merge branch 'next' into for-linusJames Morris8-25/+46
2011-05-19Create Documentation/security/,Randy Dunlap4-4/+4
2011-05-07security,rcu: convert call_rcu(user_update_rcu_disposal) to kfree_rcu()Lai Jiangshan1-14/+2
2011-03-17KEYS: Make request_key() and co. return an error for a negative keyDavid Howells1-0/+6
2011-03-17KEYS: Improve /proc/keysDavid Howells7-25/+40
2011-03-08KEYS: Add an iovec version of KEYCTL_INSTANTIATEDavid Howells3-7/+150
2011-03-08KEYS: Add a new keyctl op to reject a key with a specified error codeDavid Howells6-13/+56
2011-03-08KEYS: Add a key type op to permit the key description to be vettedDavid Howells1-0/+8
2011-03-08KEYS: Add an RCU payload dereference macroDavid Howells3-6/+3
2011-01-26KEYS: Fix __key_link_end() quota fixup on errorDavid Howells4-20/+27
2011-01-24trusted keys: Fix a memory leak in trusted_update().Jesper Juhl1-0/+1
2011-01-24encrypted-keys: rename encrypted_defined files to encryptedMimi Zohar3-2/+3
2011-01-24trusted-keys: rename trusted_defined files to trustedMimi Zohar3-2/+2
2011-01-21KEYS: Fix up comments in key management codeDavid Howells11-366/+777
2011-01-21KEYS: Do some style cleanup in the key management code.David Howells10-248/+80
2011-01-19trusted-keys: avoid scattring va_end()Tetsuo Handa1-17/+13
2011-01-19trusted-keys: check for NULL before using itTetsuo Handa1-0/+5
2011-01-19trusted-keys: another free memory bugfixTetsuo Handa1-3/+5
2011-01-14trusted-keys: free memory bugfixMimi Zohar1-5/+7
2011-01-10Merge branch 'master' into nextJames Morris1-1/+0
2010-12-23KEYS: Don't call up_write() if __key_link_begin() returns an errorDavid Howells1-1/+0
2010-12-15encrypted-keys: style and other cleanupMimi Zohar2-37/+29
2010-12-15encrypted-keys: verify datablob size before converting to binaryMimi Zohar1-14/+15
2010-12-15trusted-keys: kzalloc and other cleanupMimi Zohar1-18/+16
2010-12-15trusted-keys: additional TSS return code and other error handlingMimi Zohar1-62/+87
2010-11-30keys: add missing include file for trusted and encrypted keysMimi Zohar2-0/+2
2010-11-29keys: add new key-type encryptedMimi Zohar3-0/+964
2010-11-29keys: add new trusted key-typeMimi Zohar3-0/+1286
2010-10-28Fix install_process_keyring error handlingAndi Kleen1-1/+1
2010-09-10KEYS: Fix bug in keyctl_session_to_parent() if parent has no session keyringDavid Howells1-1/+2
2010-09-10KEYS: Fix RCU no-lock warning in keyctl_session_to_parent()David Howells1-0/+3