Closed Bug 971514 Opened 10 years ago Closed 10 years ago

Add epoll_ctl to seccomp sandbox whitelist

Categories

(Core :: Security, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 969040

People

(Reporter: jld, Assigned: jld)

References

Details

STR isn't quite clear — I deleted a bunch of unwanted photos from the SD card from the command line (with `rm`) while the Gallery app was trying to make thumbnails for them.  This was also with an experimental patch for bug 969040, which might or might not be relevant.

E/Sandbox (  528): seccomp sandbox violation: pid 528, syscall 251, args 10 2 3 1077189064 10 1077189064.  Killing process.

The epoll fd is 10, the op is EPOLL_CTL_DEL, and the fd being removed is 3 — is that the main IPC socket?  (I know fd 4 is the crash reporter socket.)  Maybe the process was trying to exit?
Thanks to my new friend `adb lolcat -v threadtime`:

02-11 20:25:59.645   382   383 E Sandbox : seccomp sandbox violation: pid 382, syscall 251, args 10 3 3 1077189216 10 1077189216.  Killing process.

That's the I/O thread.  Folding this into the bigger bug; sorry for the noise.
No longer blocks: 1.4-seccomp
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.