Comment 0 for bug 1661265

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

2.22 added stricter mediation of sched_setscheduler which requires use of 'process-control' with certain invocations of sched_setsceduler. Testing and code searches for sched_setscheduler showed that this was not an issue for most applications, but after 2.22 was released it was found that qtbase-opensource-src uses sched_setscheduler indirectly as part of QThread::Priority, and QThread::Priority is used extensively under the hood by the libraries to support (at least) QML applications.

The fix is simple, adjust interfaces/seccomp/template.go from this:
  sched_setscheduler 0 - -

back to:
  sched_setscheduler