Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: 248646181d990cc8c2c99252976987c81553f291 ("x86/entry: Use generic syscall
entry function")
https://git.kernel.org/cgit/linux/kernel/git/tglx/devel.git timers/posixtimer
in testcase: ltp
with following parameters:
disk: 1HDD
fs: xfs
test: syscalls_part4
test-description: The LTP testsuite contains a collection of tools for testing the Linux
kernel and related features.
test-url:
http://linux-test-project.github.io/
on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
<<<test_start>>>
tag=prctl04 stime=1595326033
cmdline="prctl04"
contacts=""
analysis=exit
<<<test_output>>>
tst_test.c:1247: INFO: Timeout per run is 0h 05m 00s
prctl04.c:213: INFO: kernel support PR_GET/SET_SECCOMP
prctl04.c:125: PASS: prctl(PR_SET_SECCOMP) sets SECCOMP_MODE_STRICT succeed
prctl04.c:127: FAIL: prctl(PR_GET_SECCOMP) succeed unexpectedly
prctl04.c:133: PASS: SECCOMP_MODE_STRICT permits read(2) write(2) and _exit(2)
prctl04.c:138: FAIL: SECCOMP_MODE_STRICT permits close(2) unexpectdly
prctl04.c:165: PASS: prctl(PR_SET_SECCOMP) sets SECCOMP_MODE_FILTER succeed
prctl04.c:167: FAIL: prctl(PR_GET_SECCOMP) succeed unexpectedly
prctl04.c:171: PASS: SECCOMP_MODE_FILTER permits close(2)
prctl04.c:205: FAIL: SECCOMP_MODE_FILTER permits exit() unexpectedly
prctl04.c:95: PASS: SECCOMP_MODE_FILTER permits fork(2)
prctl04.c:105: FAIL: SECCOMP_MODE_FILTER isn't been inherited by child
Summary:
passed 5
failed 5
skipped 0
warnings 0
<<<execution_status>>>
initiation_status="ok"
duration=0 termination_type=exited termination_id=1 corefile=no
cutime=0 cstime=1
<<<test_end>>>
To reproduce:
# build kernel
cd linux
cp config-5.8.0-rc4-00015-g248646181d990 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
modules
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir>
modules_install
cd <mod-install-dir>
find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached
in this email
Thanks,
Rong Chen