[PATCH 0/2] fix pulseaudio for sandbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



- Problem:
One of the sandbox layer can be Seccomp-BPF.
When a process is in this mode, it currently
cannot use pulseaudio.

- Cause:
During startup, pulseaudio will crash the first time
it calls open from the thread that runs its main loop.
In thread-mainloop.c::thread, it blocks all signals.
But SIGSYS is actually the signal used by Seccomp-BPF.
So it has to be unblocked.
Otherwise pulseaudio crashes on the open.
(It is actually killed by the kernel)

Julien Isorce (2):
  pa_make_secure_dir: avoid calling fchmod if already right mode
  thread-mainloop: unblock SIGSYS on sandbox

 src/pulse/thread-mainloop.c | 10 ++++++++++
 src/pulsecore/core-util.c   |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

-- 
1.9.1



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux