Buildresult: mpe/mpc5200_defconfig/powerpc-gcc4.6 built on Apr 19 2019, 22:50
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Apr 19 2019, 22:50
Duration:
0:00:38.420413
Builder:
ka4
Revision:
powerpc/32s: Implement Kernel Userspace Access Protection (
cb42033f5d172b5779b6c8301c65693ff6a0a778)
Target:
mpe/mpc5200_defconfig/powerpc-gcc4.6
Branch:
mpe
Compiler:
powerpc-gcc4.6
(powerpc-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
mpc5200_defconfig
(
download
)
Log:
Download original
Possible warnings (12)
<stdin>:1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] <stdin>:1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] <stdin>:1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] <stdin>:1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] kernel/futex.c:1658:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o(.text+0x112d4): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuep() WARNING: vmlinux.o(.text+0x112dc): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuap()
Full Log
# git rev-parse -q --verify cb42033f5d172b5779b6c8301c65693ff6a0a778^{commit} cb42033f5d172b5779b6c8301c65693ff6a0a778 already have revision, skipping fetch # git checkout -q -f -B kisskb cb42033f5d172b5779b6c8301c65693ff6a0a778 # git clean -qxdf # < git log -1 # commit cb42033f5d172b5779b6c8301c65693ff6a0a778 # Author: Christophe Leroy <christophe.leroy@c-s.fr> # Date: Mon Mar 11 08:30:38 2019 +0000 # # powerpc/32s: Implement Kernel Userspace Access Protection # # This patch implements Kernel Userspace Access Protection for # book3s/32. # # Due to limitations of the processor page protection capabilities, # the protection is only against writing. read protection cannot be # achieved using page protection. # # The previous patch modifies the page protection so that RW user # pages are RW for Key 0 and RO for Key 1, and it sets Key 0 for # both user and kernel. # # This patch changes userspace segment registers are set to Ku 0 # and Ks 1. When kernel needs to write to RW pages, the associated # segment register is then changed to Ks 0 in order to allow write # access to the kernel. # # In order to avoid having the read all segment registers when # locking/unlocking the access, some data is kept in the thread_struct # and saved on stack on exceptions. The field identifies both the # first unlocked segment and the first segment following the last # unlocked one. When no segment is unlocked, it contains value 0. # # As the hash_page() function is not able to easily determine if a # protfault is due to a bad kernel access to userspace, protfaults # need to be handled by handle_page_fault when KUAP is set. # # Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> # [mpe: Drop allow_read/write_to/from_user() as they're now in kup.h, # and adapt allow_user_access() to do nothing when to == NULL] # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /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 cb42033f5d172b5779b6c8301c65693ff6a0a778 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/mpe_mpc5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc5200_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/mpe_mpc5200_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- <stdin>:1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] <stdin>:1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] <stdin>:1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] <stdin>:1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] /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:337:21: note: 'pdeo' was declared here /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594: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:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] WARNING: vmlinux.o(.text+0x112d4): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuep() The function setup_kup() references the function __init setup_kuep(). This is often because setup_kup lacks a __init annotation or the annotation of setup_kuep is wrong. WARNING: vmlinux.o(.text+0x112dc): Section mismatch in reference from the function setup_kup() to the function .init.text:setup_kuap() The function setup_kup() references the function __init setup_kuap(). This is often because setup_kup lacks a __init annotation or the annotation of setup_kuap is wrong. INFO: Uncompressed kernel (size 0x6e4154) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6e4154) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6e4154) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6d3ad8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.1.0-rc3-gcb42033f5d17 Created: Fri Apr 19 22:51:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3483727 Bytes = 3402.08 KiB = 3.32 MiB Load Address: 00700000 Entry Point: 00700278 Image Name: Linux-5.1.0-rc3-gcb42033f5d17 Created: Fri Apr 19 22:51:37 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3483745 Bytes = 3402.09 KiB = 3.32 MiB Load Address: 00700000 Entry Point: 00700278 Image Name: Linux-5.1.0-rc3-gcb42033f5d17 Created: Fri Apr 19 22:51:38 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3453856 Bytes = 3372.91 KiB = 3.29 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.1.0-rc3-gcb42033f5d17 Created: Fri Apr 19 22:51:38 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3483331 Bytes = 3401.69 KiB = 3.32 MiB Load Address: 00700000 Entry Point: 00700278 Completed OK # rm -rf /kisskb/build/mpe_mpc5200_defconfig_powerpc-gcc4.6 # Build took: 0:00:38.420413
© Michael Ellerman 2006-2018.