Bug 1783584

Summary: arch/s390/include/asm/syscall.h:syscall_get_nr() returns 0 for out-of-range syscall numbers
Product: [Fedora] Fedora Reporter: Dmitry V. Levin <ldv>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, bskeggs, bugproxy, dan, esyr, hannsj_uhl, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, masami256, mchehab, mjg59, steved, tstaudt
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-24 08:35:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765, 1788636, 1790052, 1790053, 1790054, 1790057, 1790058    

Description Dmitry V. Levin 2019-12-13 23:11:29 UTC
This bug report is cloned from https://pagure.io/fedora-infrastructure/issue/8449

Please fix s390x builders regression.
These builders used to work OK when I submitted strace 5.3 to Fedora at the end of September (see https://koji.fedoraproject.org/koji/buildinfo?buildID=1390111).
At the end of November, however, when I submitted strace 5.4,
the strace test suite complained that on s390x out-of-range syscalls do not generate ptrace syscall stops any longer.
See strace build log for details
(e.g. https://koji.fedoraproject.org/koji/taskinfo?taskID=39456442).

This looks like a seccomp+kernel issue specific to s390x.

This regression blocks build of strace package.

Comment 1 Dmitry V. Levin 2020-01-08 19:58:41 UTC
Apparently, arch/s390/include/asm/syscall.h:syscall_get_nr() returns 0 for out-of-range syscall numbers.
This bug is exposed via PTRACE_GET_SYSCALL_INFO interface and breaks strace.

Comment 2 Hanns-Joachim Uhl 2020-06-24 08:35:51 UTC
Hello Dmitry,
... with Fedora 32 now generally available I am closing this Fedora bugzilla as CURRENTRELEASE ...
... please reopen if required ...
Thanks for your support.