# git rev-parse -q --verify b1dba2473114588be3df916bf629a61bdcc83737^{commit} b1dba2473114588be3df916bf629a61bdcc83737 already have revision, skipping fetch # git checkout -q -f -B kisskb b1dba2473114588be3df916bf629a61bdcc83737 # git clean -qxdf # < git log -1 # commit b1dba2473114588be3df916bf629a61bdcc83737 # Merge: 07e309a972ca 98aa00345de5 # Author: Linus Torvalds # Date: Mon Jan 27 15:38:15 2020 -0800 # # Merge tag 'selinux-pr-20200127' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux # # Pull SELinux update from Paul Moore: # "This is one of the bigger SELinux pull requests in recent years with # 28 patches. Everything is passing our test suite and the highlights # are below: # # - Mark CONFIG_SECURITY_SELINUX_DISABLE as deprecated. We're some time # away from actually attempting to remove this in the kernel, but the # only distro we know that still uses it (Fedora) is working on # moving away from this so we want to at least let people know we are # planning to remove it. # # - Reorder the SELinux hooks to help prevent bad things when SELinux # is disabled at runtime. The proper fix is to remove the # CONFIG_SECURITY_SELINUX_DISABLE functionality (see above) and just # take care of it at boot time (e.g. "selinux=0"). # # - Add SELinux controls for the kernel lockdown functionality, # introducing a new SELinux class/permissions: "lockdown { integrity # confidentiality }". # # - Add a SELinux control for move_mount(2) that reuses the "file { # mounton }" permission. # # - Improvements to the SELinux security label data store lookup # functions to speed up translations between our internal label # representations and the visible string labels (both directions). # # - Revisit a previous fix related to SELinux inode auditing and # permission caching and do it correctly this time. # # - Fix the SELinux access decision cache to cleanup properly on error. # In some extreme cases this could limit the cache size and result in # a decrease in performance. # # - Enable SELinux per-file labeling for binderfs. # # - The SELinux initialized and disabled flags were wrapped with # accessors to ensure they are accessed correctly. # # - Mark several key SELinux structures with __randomize_layout. # # - Changes to the LSM build configuration to only build # security/lsm_audit.c when needed. # # - Changes to the SELinux build configuration to only build the IB # object cache when CONFIG_SECURITY_INFINIBAND is enabled. # # - Move a number of single-caller functions into their callers. # # - Documentation fixes (/selinux -> /sys/fs/selinux). # # - A handful of cleanup patches that aren't worth mentioning on their # own, the individual descriptions have plenty of detail" # # * tag 'selinux-pr-20200127' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux: (28 commits) # selinux: fix regression introduced by move_mount(2) syscall # selinux: do not allocate ancillary buffer on first load # selinux: remove redundant allocation and helper functions # selinux: remove redundant selinux_nlmsg_perm # selinux: fix wrong buffer types in policydb.c # selinux: reorder hooks to make runtime disable less broken # selinux: treat atomic flags more carefully # selinux: make default_noexec read-only after init # selinux: move ibpkeys code under CONFIG_SECURITY_INFINIBAND. # selinux: remove redundant msg_msg_alloc_security # Documentation,selinux: fix references to old selinuxfs mount point # selinux: deprecate disabling SELinux and runtime # selinux: allow per-file labelling for binderfs # selinuxfs: use scnprintf to get real length for inode # selinux: remove set but not used variable 'sidtab' # selinux: ensure the policy has been loaded before reading the sidtab stats # selinux: ensure we cleanup the internal AVC counters on error in avc_update() # selinux: randomize layout of key structures # selinux: clean up selinux_enabled/disabled/enforcing_boot # selinux: remove unnecessary selinux cred request # ... # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 b1dba2473114588be3df916bf629a61bdcc83737 # < make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 allyesconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_KCOV=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 # Added to kconfig CONFIG_GCC_PLUGIN_STRUCTLEAK=n # Added to kconfig CONFIG_GCC_PLUGIN_RANDSTRUCT=n # Added to kconfig CONFIG_UML_NET=n # Added to kconfig CONFIG_UML_NET_ETHERTAP=n # Added to kconfig CONFIG_UML_NET_TUNTAP=n # Added to kconfig CONFIG_UML_NET_SLIP=n # Added to kconfig CONFIG_UML_NET_DAEMON=n # Added to kconfig CONFIG_UML_NET_VDE=n # Added to kconfig CONFIG_UML_NET_MCAST=n # Added to kconfig CONFIG_UML_NET_PCAP=n # Added to kconfig CONFIG_UML_NET_SLIRP=n # Added to kconfig CONFIG_GCOV_KERNEL=n # yes \n | make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 oldconfig yes: standard output: Broken pipe # make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 /kisskb/src/arch/um/os-Linux/signal.c: In function 'sig_handler_common': /kisskb/src/arch/um/os-Linux/signal.c:51:1: warning: the frame size of 2976 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/arch/um/os-Linux/signal.c: In function 'timer_real_alarm_handler': /kisskb/src/arch/um/os-Linux/signal.c:95:1: warning: the frame size of 2960 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/security/apparmor/policy_unpack.c: In function 'unpack_profile': /kisskb/src/security/apparmor/policy_unpack.c:526:9: warning: 'pos' may be used uninitialized in this function [-Wmaybe-uninitialized] str[pos] = ':'; ^ /kisskb/src/security/apparmor/policy_unpack.c:497:14: note: 'pos' was declared here int c, j, pos, size2 = unpack_strdup(e, &str, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zone_nr_conv_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:327:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zone_nr_conv, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_mbps_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:323:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(mbps, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_index_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:318:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(index, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_hw_queue_depth_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:317:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(hw_queue_depth, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_irqmode_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:316:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(irqmode, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_blocksize_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:315:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(blocksize, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_queue_mode_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:314:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(queue_mode, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_home_node_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:313:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(home_node, uint, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zone_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:326:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zone_size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_cache_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:324:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(cache_size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_completion_nsec_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:311:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(completion_nsec, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_size_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:310:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(size, ulong, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_zoned_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:325:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(zoned, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_discard_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:322:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(discard, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_memory_backed_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:321:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(memory_backed, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_use_per_node_hctx_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:320:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(use_per_node_hctx, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_blocking_store': /kisskb/src/drivers/block/null_blk_main.c:291:12: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] dev->NAME = new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:319:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(blocking, bool, NULL); ^ /kisskb/src/drivers/block/null_blk_main.c: In function 'nullb_device_submit_queues_store': /kisskb/src/drivers/block/null_blk_main.c:307:48: warning: 'new_value' may be used uninitialized in this function [-Wmaybe-uninitialized] return set->nr_hw_queues == submit_queues ? 0 : -ENOMEM; ^ /kisskb/src/drivers/block/null_blk_main.c:279:7: note: 'new_value' was declared here TYPE new_value; \ ^ /kisskb/src/drivers/block/null_blk_main.c:312:1: note: in expansion of macro 'NULLB_DEVICE_ATTR' NULLB_DEVICE_ATTR(submit_queues, uint, nullb_apply_submit_queues); ^ /kisskb/src/lib/lz4/lz4hc_compress.c: In function 'LZ4HC_compress_generic': /kisskb/src/lib/lz4/lz4hc_compress.c:579:1: warning: the frame size of 2144 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ Failed to generate BTF for vmlinux Try to disable CONFIG_DEBUG_INFO_BTF make[1]: *** [/kisskb/src/Makefile:1078: vmlinux] Error 1 make: *** [Makefile:179: sub-make] Error 2 Command 'make -s -j 24 ARCH=um O=/kisskb/build/linus_um-allyesconfig_um-x86_64 CROSS_COMPILE=/opt/cross/kisskb/fe-x86-64-core-i7-2017.05/bin/x86_64-linux- SUBARCH=x86_64 ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_um-allyesconfig_um-x86_64 # Build took: 0:06:39.965708