aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorLibravatar Topi Miettinen <toiwoton@gmail.com>2023-08-26 21:46:49 +0300
committerLibravatar Topi Miettinen <toiwoton@gmail.com>2023-08-26 21:48:44 +0300
commit7e8ba3a8beae24c0e420be274ab14682a7851665 (patch)
tree4d068807e25f0a5647b89b942f91f4407582d2f3 /src/lib
parentprofiles: patch fixes (#5970) (diff)
downloadfirejail-7e8ba3a8beae24c0e420be274ab14682a7851665.tar.gz
firejail-7e8ba3a8beae24c0e420be274ab14682a7851665.tar.zst
firejail-7e8ba3a8beae24c0e420be274ab14682a7851665.zip
Fix wrong syscall names for s390_pci_mmio_{read,write}
Closes #5965
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/syscall.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/syscall.c b/src/lib/syscall.c
index ca7c61c8e..602f7218c 100644
--- a/src/lib/syscall.c
+++ b/src/lib/syscall.c
@@ -1104,13 +1104,13 @@ static const SyscallGroupList sysgroups[] = {
1104#ifdef SYS_pciconfig_write 1104#ifdef SYS_pciconfig_write
1105 "pciconfig_write," 1105 "pciconfig_write,"
1106#endif 1106#endif
1107#ifdef SYS_s390_mmio_read 1107#ifdef SYS_s390_pci_mmio_read
1108 "s390_mmio_read," 1108 "s390_pci_mmio_read,"
1109#endif 1109#endif
1110#ifdef SYS_s390_mmio_write 1110#ifdef SYS_s390_pci_mmio_write
1111 "s390_mmio_write" 1111 "s390_pci_mmio_write"
1112#endif 1112#endif
1113#if !defined(SYS_ioperm) && !defined(SYS_iopl) && !defined(SYS_pciconfig_iobase) && !defined(SYS_pciconfig_read) && !defined(SYS_pciconfig_write) && !defined(SYS_s390_mmio_read) && !defined(SYS_s390_mmio_write) 1113#if !defined(SYS_ioperm) && !defined(SYS_iopl) && !defined(SYS_pciconfig_iobase) && !defined(SYS_pciconfig_read) && !defined(SYS_pciconfig_write) && !defined(SYS_s390_pci_mmio_read) && !defined(SYS_s390_pci_mmio_write)
1114 "__dummy_syscall__" // workaround for s390x which doesn't have any of above defined and empty syscall lists are not allowed 1114 "__dummy_syscall__" // workaround for s390x which doesn't have any of above defined and empty syscall lists are not allowed
1115#endif 1115#endif
1116 }, 1116 },