aboutsummaryrefslogtreecommitdiffstats
path: root/security
AgeCommit message (Expand)AuthorFilesLines
2017-11-02Merge tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds49-0/+49
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman49-0/+49
2017-11-02KEYS: trusted: fix writing past end of buffer in trusted_read()Eric Biggers1-11/+12
2017-11-02KEYS: return full count in keyring_read() if buffer is too smallEric Biggers1-20/+19
2017-10-26Revert "apparmor: add base infastructure for socket mediation"Linus Torvalds12-840/+16
2017-10-19commoncap: move assignment of fs_ns to avoid null pointer dereferenceColin Ian King1-1/+2
2017-10-19Merge commit 'tags/keys-fixes-20171018' into fixes-v4.14-rc5James Morris14-53/+88
2017-10-18KEYS: load key flags and expiry time atomically in proc_keys_show()Eric Biggers1-10/+14
2017-10-18KEYS: Load key expiry time atomically in keyring_search_iterator()Eric Biggers1-1/+3
2017-10-18KEYS: load key flags and expiry time atomically in key_validate()Eric Biggers1-3/+4
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 Howells12-39/+49
2017-10-18security/keys: BIG_KEY requires CONFIG_CRYPTOArnd Bergmann1-0/+1
2017-10-12KEYS: encrypted: fix dereference of NULL user_key_payloadEric Biggers1-0/+7
2017-10-04lsm: fix smack_inode_removexattr and xattr_getsecurity memleakCasey Schaufler1-30/+25
2017-09-28Merge commit 'keys-fixes-20170927' into fixes-v4.14-rc3James Morris9-152/+137
2017-09-25security/keys: rewrite all of big_key cryptoJason A. Donenfeld2-71/+60
2017-09-25security/keys: properly zero out sensitive key material in big_keyJason A. Donenfeld1-6/+6
2017-09-25KEYS: use kmemdup() in request_key_auth_new()Eric Biggers1-3/+2
2017-09-25KEYS: restrict /proc/keys by credentials at open timeEric Biggers1-6/+2
2017-09-25KEYS: reset parent each time before searching key_user_treeEric Biggers1-2/+2
2017-09-25KEYS: prevent KEYCTL_READ on negative keyEric Biggers1-0/+5
2017-09-25KEYS: prevent creating a different user's keyringsEric Biggers4-12/+21
2017-09-25KEYS: fix writing past end of user-supplied buffer in keyring_read()Eric Biggers1-9/+5
2017-09-25KEYS: fix key refcount leak in keyctl_read_key()Eric Biggers1-1/+1
2017-09-25KEYS: fix key refcount leak in keyctl_assume_authority()Eric Biggers1-4/+2
2017-09-25KEYS: don't revoke uninstantiated key in request_key_auth_new()Eric Biggers1-1/+0
2017-09-25KEYS: fix cred refcount leak in request_key_auth_new()Eric Biggers1-37/+31
2017-09-24Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+3
2017-09-23security: fix description of values returned by cap_inode_need_killprivStefan Berger1-3/+3
2017-09-23Merge tag 'apparmor-pr-2017-09-22' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds24-137/+2088
2017-09-22apparmor: fix apparmorfs DAC access permissionsJohn Johansen1-4/+4
2017-09-22apparmor: fix build failure on sparc caused by undeclared signalsJohn Johansen1-1/+4
2017-09-22apparmor: fix incorrect type assignment when freeing proxiesJohn Johansen1-1/+1
2017-09-22apparmor: ensure unconfined profiles have dfas initializedJohn Johansen1-0/+2
2017-09-22apparmor: fix race condition in null profile creationJohn Johansen1-3/+11
2017-09-22apparmor: move new_null_profile to after profile lookup fns()John Johansen1-79/+79
2017-09-22apparmor: add base infastructure for socket mediationJohn Johansen12-16/+840
2017-09-22apparmor: add more debug asserts to apparmorfsJohn Johansen1-0/+17
2017-09-22apparmor: make policy_unpack able to audit different info messagesJohn Johansen2-16/+40
2017-09-22apparmor: add support for absolute root view based labelsJohn Johansen2-1/+10
2017-09-22apparmor: cleanup conditional check for label in label_printJohn Johansen1-14/+8
2017-09-22apparmor: add mount mediationJohn Johansen9-4/+841
2017-09-22apparmor: add the ability to mediate signalsJohn Johansen7-0/+231
2017-09-22apparmor: Redundant condition: prev_ns. in [label.c:1498]John Johansen1-1/+1
2017-09-22apparmor: Fix an error code in aafs_create()Dan Carpenter1-1/+3
2017-09-22apparmor: Fix logical error in verify_header()Christos Gkekas1-1/+1
2017-09-22apparmor: Fix shadowed local variable in unpack_trans_table()Geert Uytterhoeven1-2/+2
2017-09-14Merge branch 'work.set_fs' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-2/+4
2017-09-12Merge tag 'selinux-pr-20170831' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds28-56/+78
2017-09-11Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-21/+256
2017-09-07Merge tag 'audit-pr-20170907' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+0
2017-09-07Merge tag 'secureexec-v4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds9-120/+23
2017-09-05selinux: remove AVC init audit log messageRichard Guy Briggs1-2/+0
2017-09-04fs: fix kernel_write prototypeChristoph Hellwig1-1/+2
2017-09-04fs: fix kernel_read prototypeChristoph Hellwig1-1/+2
2017-09-01Introduce v3 namespaced file capabilitiesSerge E. Hallyn1-19/+251
2017-08-28selinux: constify nf_hook_opsArvind Yadav1-1/+1
2017-08-22selinux: allow per-file labeling for cgroupfsAntonio Murdaca1-1/+3
2017-08-17lsm_audit: update my email addressStephen Smalley1-1/+1
2017-08-17selinux: update my email addressStephen Smalley25-25/+25
2017-08-08selinux: use GFP_NOWAIT in the AVC kmem_cachesMichal Hocko1-8/+6
2017-08-02selinux: Generalize support for NNP/nosuid SELinux domain transitionsStephen Smalley4-16/+42
2017-08-01smack: Remove redundant pdeath_signal clearingKees Cook1-15/+0
2017-08-01LSM: drop bprm_secureexec hookKees Cook1-5/+0
2017-08-01commoncap: Move cap_elevated calculation into bprm_set_credsKees Cook1-42/+10
2017-08-01commoncap: Refactor to remove bprm_secureexec hookKees Cook1-4/+8
2017-08-01smack: Refactor to remove bprm_secureexec hookKees Cook1-17/+4
2017-08-01selinux: Refactor to remove bprm_secureexec hookKees Cook1-19/+5
2017-08-01apparmor: Refactor to remove bprm_secureexec hookKees Cook4-23/+1
2017-08-01exec: Rename bprm->cred_prepared to called_set_credsKees Cook4-4/+4
2017-07-31netfilter: nf_hook_ops structs can be constFlorian Westphal2-2/+2
2017-07-25selinux: Assign proper class to PF_UNIX/SOCK_RAW socketsLuis Ressel1-0/+1
2017-07-25sync to Linus v4.13-rc2 for subsystem developers to work againstJames Morris24-334/+365
2017-07-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller4-1/+15
2017-07-20security: Use user_namespace::level to avoid redundant iterations in cap_capa...Kirill Tkhai1-2/+5
2017-07-19Merge tag 'gcc-plugins-v4.13-rc2' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2017-07-18xfrm: remove flow cacheFlorian Westphal1-3/+1
2017-07-18LSM: Remove security_task_create() hook.Tetsuo Handa1-5/+0
2017-07-14KEYS: DH: validate __spare fieldEric Biggers2-0/+7
2017-07-12include/linux/string.h: add the option of fortified string.h functionsDaniel Micay1-0/+7
2017-07-05Merge branch 'work.memdup_user' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-7/+5
2017-07-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+2
2017-07-05Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds68-2111/+8342
2017-07-03Merge tag 'docs-4.13' of git://git.lwn.net/linuxLinus Torvalds8-8/+9
2017-07-03Merge branch 'sched-core-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+1
2017-07-03Merge tag 'uuid-for-4.13' of git://git.infradead.org/users/hch/uuidLinus Torvalds2-8/+6
2017-06-30randstruct: Mark various structs for randomizationKees Cook1-1/+1
2017-06-30ima_write_policy(): don't open-code memdup_user_nul()Al Viro1-9/+4
2017-06-28apparmor: put back designators in struct initialisersStephen Rothwell1-2/+2
2017-06-23Merge branch 'stable-4.13' of git://git.infradead.org/users/pcmoore/selinux i...James Morris17-108/+821
2017-06-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+2
2017-06-21ima: Log the same audit cause whenever a file has no signatureThiago Jung Bauermann1-1/+2
2017-06-21ima: Simplify policy_func_show.Thiago Jung Bauermann2-62/+21
2017-06-21integrity: Small code improvementsThiago Jung Bauermann6-9/+11
2017-06-21ima: fix get_binary_runtime_size()Roberto Sassu1-1/+1
2017-06-21ima: use ima_parse_buf() to parse template dataRoberto Sassu1-31/+13
2017-06-21ima: use ima_parse_buf() to parse measurements headersRoberto Sassu1-52/+28
2017-06-21ima: introduce ima_parse_buf()Roberto Sassu2-0/+67
2017-06-21ima: Add cgroups2 to the defaults listLaura Abbott1-0/+3
2017-06-21ima: use memdup_user_nulGeliang Tang1-9/+4
2017-06-21ima: fix up #endif commentsTycho Andersen1-2/+2
2017-06-21IMA: Correct Kconfig dependencies for hash selectionBen Hutchings1-4/+4
2017-06-21ima: define is_ima_appraise_enabled()Mimi Zohar1-0/+10
2017-06-21ima: define Kconfig IMA_APPRAISE_BOOTPARAM optionMimi Zohar2-0/+10
2017-06-21ima: define a set of appraisal rules requiring file signaturesMimi Zohar1-1/+25
2017-06-21ima: extend the "ima_policy" boot command line to support multiple policiesMimi Zohar1-5/+10
2017-06-21rtnetlink: add NEWCACHEREPORT message typeJulien Gomes1-1/+2
2017-06-21Merge branch 'smack-for-4.13' of git://github.com/cschaufler/smack-next into ...James Morris4-18/+31
2017-06-20selinux: enable genfscon labeling for tracefsJeff Vander Stoep1-0/+1
2017-06-20sched/wait: Split out the wait_bit*() APIs from <linux/wait.h> into <linux/wa...Ingo Molnar1-0/+1
2017-06-13selinux: fix double free in selinux_parse_opts_str()Paul Moore1-3/+2
2017-06-10apparmor: export that basic profile namespaces are supportedJohn Johansen1-0/+7
2017-06-10apparmor: add stacked domain labels interfaceJohn Johansen2-0/+8
2017-06-10apparmor: add domain label stacking info to apparmorfsJohn Johansen3-0/+39
2017-06-10apparmor: move change_profile mediation to using labelsJohn Johansen1-68/+123
2017-06-10apparmor: move change_hat mediation to using labelsJohn Johansen1-102/+201
2017-06-10apparmor: move exec domain mediation to using labelsJohn Johansen2-259/+678
2017-06-10apparmor: support v7 transition format compatible with label_parseJohn Johansen2-7/+15
2017-06-10apparmor: mediate files when they are receivedJohn Johansen2-0/+7
2017-06-10apparmor: rework file permission to cache file access in file->ctxJohn Johansen1-6/+76
2017-06-10apparmor: move path_link mediation to using labelsJohn Johansen3-47/+59
2017-06-10apparmor: refactor path name lookup and permission checks around labelsJohn Johansen3-45/+85
2017-06-10apparmor: update aa_audit_file() to use labelsJohn Johansen3-9/+18
2017-06-10apparmor: move aa_file_perm() to use labelsJohn Johansen3-37/+64
2017-06-10apparmor: allow ptrace checks to be finer grained than just capabilityJohn Johansen3-0/+68
2017-06-10apparmor: move ptrace checks to using labelsJohn Johansen5-80/+58
2017-06-10apparmor: add cross check permission helper macrosJohn Johansen1-1/+41
2017-06-10apparmor: move resource checks to using labelsJohn Johansen3-42/+80
2017-06-10apparmor: move capability checks to using labelsJohn Johansen5-29/+58
2017-06-10apparmor: update query interface to support label queriesJohn Johansen1-7/+39
2017-06-10apparmor: switch getprocattr to using label_print fns()John Johansen3-37/+27
2017-06-10apparmor: switch from profiles to using labels on contextsJohn Johansen20-529/+686
2017-06-10apparmor: add the base fns() for domain labelsJohn Johansen2-0/+2561
2017-06-10apparmor: revalidate files during execJohn Johansen4-0/+81
2017-06-10apparmor: cleanup rename XXX_file_context() to XXX_file_ctx()John Johansen2-11/+16
2017-06-10apparmor: convert aa_change_XXX bool parameters to flagsJohn Johansen5-32/+29
2017-06-10apparmor: cleanup remove unused and not fully implemented profile renameJohn Johansen1-37/+2
2017-06-10apparmor: refactor updating profiles to the newest parentJohn Johansen1-4/+31
2017-06-10apparmor: share profile name on replacementJohn Johansen3-9/+72
2017-06-10apparmor: convert to profile block critical sectionsJohn Johansen8-56/+162
2017-06-10apparmor: move bprm_committing_creds/committed_creds to lsm.cJohn Johansen3-32/+30
2017-06-10apparmor: fix display of ns nameJohn Johansen1-1/+1
2017-06-10apparmor: fix apparmor_query dataJohn Johansen1-2/+6
2017-06-10apparmor: fix policy load/remove semanticsJohn Johansen2-15/+13
2017-06-10apparmor: add namespace lookup fns()John Johansen3-4/+73
2017-06-10apparmor: cleanup __find_child()John Johansen1-8/+8
2017-06-10apparmor: provide information about path buffer size at bootJohn Johansen1-2/+9
2017-06-10apparmor: add profile permission query abilityJohn Johansen1-1/+102
2017-06-10apparmor: switch from file_perms to aa_permsJohn Johansen5-48/+29
2017-06-10apparmor: add gerneric permissions struct and support fnsJohn Johansen4-17/+153
2017-06-10apparmor: add fn to test if profile supports a given mediation classJohn Johansen1-0/+10
2017-06-10apparmor: speed up transactional queriesJohn Johansen1-11/+114
2017-06-10apparmor: add label data availability to the feature setJohn Johansen1-0/+10
2017-06-10apparmor: add mkdir/rmdir interface to manage policy namespacesJohn Johansen1-1/+94
2017-06-10apparmor: add policy revision file interfaceJohn Johansen4-1/+116
2017-06-10apparmor: provide finer control over policy managementJohn Johansen3-23/+35
2017-06-09security/selinux: allow security_sb_clone_mnt_opts to enable/disable native l...Scott Mayhew2-4/+38
2017-06-09selinux: use kmem_cache for ebitmapJunil Lee3-6/+27
2017-06-09apparmor: rework perm mapping to a slightly broader setJohn Johansen5-53/+133
2017-06-09KEYS: fix refcount_inc() on zeroMark Rutland1-7/+4
2017-06-09KEYS: Convert KEYCTL_DH_COMPUTE to use the crypto KPP APIMat Martineau2-103/+171
2017-06-09KEYS: DH: ensure the KDF counter is properly alignedEric Biggers1-13/+3
2017-06-09KEYS: DH: don't feed uninitialized "otherinfo" into KDFEric Biggers1-1/+1
2017-06-09KEYS: DH: forbid using digest_null as the KDF hashEric Biggers1-1/+11
2017-06-09KEYS: sanitize key structs before freeingEric Biggers1-3/+1
2017-06-09KEYS: trusted: sanitize all key materialEric Biggers1-28/+22
2017-06-09KEYS: encrypted: sanitize all key materialEric Biggers1-18/+13
2017-06-09KEYS: user_defined: sanitize key payloadsEric Biggers1-4/+12
2017-06-09KEYS: sanitize add_key() and keyctl() key payloadsEric Biggers1-3/+9
2017-06-09KEYS: fix freeing uninitialized memory in key_update()Eric Biggers1-3/+2
2017-06-09KEYS: fix dereferencing NULL payload with nonzero lengthEric Biggers1-2/+2
2017-06-09KEYS: encrypted: use constant-time HMAC comparisonEric Biggers1-2/+3
2017-06-09KEYS: encrypted: fix race causing incorrect HMAC calculationsEric Biggers1-83/+32
2017-06-09KEYS: encrypted: fix buffer overread in valid_master_desc()Eric Biggers1-16/+15
2017-06-09KEYS: encrypted: avoid encrypting/decrypting stack buffersEric Biggers1-8/+9
2017-06-09KEYS: put keyring if install_session_keyring_to_cred() failsEric Biggers1-3/+4
2017-06-09KEYS: Delete an error message for a failed memory allocation in get_derived_k...Markus Elfring1-3/+2
2017-06-09security: use READ_ONCE instead of deprecated ACCESS_ONCEDavidlohr Bueso1-6/+6
2017-06-09security/keys: add CONFIG_KEYS_COMPAT to KconfigBilal Amarni1-0/+4
2017-06-08apparmor: move permissions into their own file to be more easily sharedJohn Johansen4-19/+43
2017-06-08apparmor: convert from securityfs to apparmorfs for policy ns filesJohn Johansen1-26/+37
2017-06-08apparmor: allow specifying an already created dir to create ns entries inJohn Johansen3-7/+8
2017-06-08apparmor: rename apparmor file fns and data to indicate useJohn Johansen9-127/+172
2017-06-08apparmor: add custom apparmorfs that will be used by policy namespace filesJohn Johansen1-17/+336
2017-06-08apparmor: use macro template to simplify namespace seq_filesJohn Johansen1-29/+24
2017-06-08apparmor: use macro template to simplify profile seq_filesJohn Johansen1-61/+36
2017-06-08apparmor: move to per loaddata files, instead of replicating in profilesJohn Johansen7-69/+409
2017-06-08securityfs: add the ability to support symlinksJohn Johansen1-21/+123
2017-06-08apparmor: Move path lookup to using preallocated buffersJohn Johansen4-86/+53
2017-06-08apparmor: allow profiles to provide info to disconnected pathsJohn Johansen6-17/+34
2017-06-08apparmor: make internal lib fn skipn_spaces available to the rest of apparmorJohn Johansen2-1/+2
2017-06-08apparmor: move file context into file.hJohn Johansen2-32/+32
2017-06-08security/apparmor: Use POSIX-compatible "printf '%s'"Thomas Schneider1-2/+2
2017-06-08apparmor: Fix error cod in __aa_fs_profile_mkdir()Dan Carpenter1-2/+4
2017-06-08apparmorfs: Use seq_putc() in two functionsMarkus Elfring1-2/+2
2017-06-08apparmorfs: Combine two function calls into one in aa_fs_seq_raw_abi_show()Markus Elfring1-4/+3
2017-06-05fs: switch ->s_uuid to uuid_tChristoph Hellwig2-2/+2
2017-06-05ima/policy: switch to use uuid_tChristoph Hellwig1-6/+5
2017-06-05block: remove blk_part_pack_uuidChristoph Hellwig1-2/+1