# git rev-parse -q --verify f91e654474d413201ae578820fb63f8a811f6c4e^{commit} f91e654474d413201ae578820fb63f8a811f6c4e already have revision, skipping fetch # git checkout -q -f -B kisskb f91e654474d413201ae578820fb63f8a811f6c4e # git clean -qxdf # < git log -1 # commit f91e654474d413201ae578820fb63f8a811f6c4e # Merge: c715ebe 3dd0f18 # Author: Linus Torvalds # Date: Wed Aug 15 22:54:12 2018 -0700 # # Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security # # Pull integrity updates from James Morris: # "This adds support for EVM signatures based on larger digests, contains # a new audit record AUDIT_INTEGRITY_POLICY_RULE to differentiate the # IMA policy rules from the IMA-audit messages, addresses two deadlocks # due to either loading or searching for crypto algorithms, and cleans # up the audit messages" # # * 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: # EVM: fix return value check in evm_write_xattrs() # integrity: prevent deadlock during digsig verification. # evm: Allow non-SHA1 digital signatures # evm: Don't deadlock if a crypto algorithm is unavailable # integrity: silence warning when CONFIG_SECURITYFS is not enabled # ima: Differentiate auditing policy rules from "audit" actions # ima: Do not audit if CONFIG_INTEGRITY_AUDIT is not set # ima: Use audit_log_format() rather than audit_log_string() # ima: Call audit_log_string() rather than logging it untrusted # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < git log --format=%s --max-count=1 f91e654474d413201ae578820fb63f8a811f6c4e # < make -s -j 80 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0x3FC2625E # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # make -s -j 80 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 80 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- In function 'kernfs_get_target_path', inlined from 'kernfs_getlink.isra.0' at /kisskb/src/fs/kernfs/symlink.c:118:10, inlined from 'kernfs_iop_get_link' at /kisskb/src/fs/kernfs/symlink.c:136:10: /kisskb/src/fs/kernfs/symlink.c:100:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(s + len, kn->name, slen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/fs/kernfs/symlink.c: In function 'kernfs_iop_get_link': /kisskb/src/fs/kernfs/symlink.c:97:14: note: length computed here int slen = strlen(kn->name); ^~~~~~~~~~~~~~~~ /kisskb/src/drivers/devfreq/devfreq.c: In function 'devfreq_add_device': /kisskb/src/drivers/devfreq/devfreq.c:593:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(devfreq->governor_name, governor_name, DEVFREQ_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.constprop': /kisskb/src/lib/test_hexdump.c:98:3: warning: 'strncpy' output truncated copying between 0 and 32 bytes from a string of length 32 [-Wstringop-truncation] strncpy(p, data_a, l); ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c:84:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(p, q, amount); ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c:82:19: note: length computed here size_t amount = strlen(q); ^~~~~~~~~ /kisskb/src/drivers/misc/c2port/core.c: In function 'c2port_device_register': /kisskb/src/drivers/misc/c2port/core.c:929:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(c2dev->name, name, C2PORT_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/gpu/drm/drm_property.c: In function 'drm_property_create': /kisskb/src/drivers/gpu/drm/drm_property.c:125:2: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation] strncpy(property->name, name, DRM_PROP_NAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/hdmi.c: In function 'hdmi_spd_infoframe_init': /kisskb/src/drivers/video/hdmi.c:174:2: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] strncpy(frame->vendor, vendor, sizeof(frame->vendor)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/hdmi.c:175:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] strncpy(frame->product, product, sizeof(frame->product)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/uvesafb.c: In function 'uvesafb_vbe_getinfo': /kisskb/src/drivers/video/fbdev/uvesafb.c:425:2: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] strncpy(par->vbe_ib.vbe_signature, "VBE2", 4); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/video/fbdev/uvesafb.c: In function 'v86d_store': /kisskb/src/drivers/video/fbdev/uvesafb.c:1873:2: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] strncpy(v86d_path, buf, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'fill_kobj_path', inlined from 'kobject_get_path' at /kisskb/src/lib/kobject.c:174:2: /kisskb/src/lib/kobject.c:147:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(path + length, kobject_name(parent), cur); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kobject.c: In function 'kobject_get_path': /kisskb/src/lib/kobject.c:144:13: note: length computed here int cur = strlen(kobject_name(parent)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:01:51.807127