Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-70557

QFileSystemEngine should cope with statx(2) returning EPERM

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.11.1
    • Core: I/O
    • None
    • This applies to all GNU/Linux systems. It was first noticed on Ubuntu
    • Linux/X11

    Description

      The `statx(2)` system call may be blocked by seccomp based filter, such as the one used by the snap application sandbox. Qt already supports a trivial fallback in case the system call is not available and that fallback should be used when `statx` is implemented by the kernel but blocked by a sandbox system.

       

      I have prepared a patch for `corelib/io/qfilesystemengine_unix.cpp` that I will refer to shortly.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            zyga Zygmunt Krynicki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes