# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 b1dba2473114588be3df916bf629a61bdcc83737 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2598:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1859:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1426:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/ext4/extents.c: In function 'ext4_convert_unwritten_io_end_vec': /kisskb/src/fs/ext4/extents.c:5054:23: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc8c6ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc7bf14) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065773 Bytes = 5923.61 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065958 Bytes = 5923.79 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065372 Bytes = 5923.21 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065741 Bytes = 5923.58 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6028217 Bytes = 5886.93 KiB = 5.75 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065753 Bytes = 5923.59 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6066439 Bytes = 5924.26 KiB = 5.79 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065354 Bytes = 5923.20 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065352 Bytes = 5923.20 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6066538 Bytes = 5924.35 KiB = 5.79 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065403 Bytes = 5923.25 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6067150 Bytes = 5924.95 KiB = 5.79 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065684 Bytes = 5923.52 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065689 Bytes = 5923.52 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6067224 Bytes = 5925.02 KiB = 5.79 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.5.0-gb1dba2473114 Created: Tue Jan 28 16:13:33 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6065409 Bytes = 5923.25 KiB = 5.78 MiB Load Address: 00d00000 Entry Point: 00d002a8 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:02:04.057485