Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
5.10.0 Beta 4
-
None
-
Linux 4.13.11, glibc 2.26, systemd 235
-
8eb3944dac81b8c51d7bac7784204d457551b50c
Description
Even if one passes -no-feature-statx, the code in https://github.com/qt/qtbase/blob/5.10/src/corelib/io/qfilesystemengine_unix.cpp#L98 makes Qt use the statx syscall whenever the kernel of the system it's being built on supports it. This causes serious issues: for instance, in systemd 235 there is a whitelist for allowed syscalls in containers and syscalls not known by libseccomp (such as statx) are blocked. This makes it impossible to build Qt (or most Qt applications) in a systemd container with systemd 235 and kernel >=4.11.
This can also potentially cause issues when trying to run Qt libraries compiled on a system with kernel >=4.11 on another system with an older kernel (such as the current LTS series)
Attachments
Issue Links
- relates to
-
QTBUG-66930 configure fails with missing qmakespec for qtbase on Ubuntu 18.04
- Closed
For Gerrit Dashboard: QTBUG-64490 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
215961,6 | Disable statx(2) and renameat2(2) system calls on Android | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |
243029,3 | Re-disable statx() on Android | 5.11 | qt/qtbase | Status: MERGED | +2 | 0 |