Closed
Bug 971128
Opened 10 years ago
Closed 10 years ago
[Gonk][seccomp] seccomp violation: __NR_sched_yield
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rfletcher, Assigned: jld)
References
Details
Attachments
(1 file)
823 bytes,
patch
|
kang
:
review+
|
Details | Diff | Splinter Review |
When using the Camera app to take a video, we get the following seccomp violation: E/Sandbox ( 7722): seccomp sandbox violation: pid 7722, syscall 158, args 1 129 1 3030679552 3018134368 4294967295. Killing process. syscall 158 appears to be __NR_sched_yield Device: Nexus 4 Branch: 1.4.0.0-prerelease Git commit info: a504e2e0 gecko: 893735910eb5db1d9b69575160d0e53d3be7402a gaia: a504e2e01335167275e47f35ddc5b89bb858a892
Comment 1•10 years ago
|
||
Just FYI, camera operation does not trigger a violation on Keon or Peak.
Comment 2•10 years ago
|
||
I've got the same error when trying to capture a video on a buri device.
Comment 3•10 years ago
|
||
Here is at least one place that calls sched_yield(): https://www.codeaurora.org/cgit/quic/la/platform/frameworks/base/tree/media/libstagefright/OMXCodec.cpp?h=b2g_ics_1.2#n3303
i would say whitelist it - it doesn't take argument and also doesn't cause any sec issue
Assignee | ||
Comment 5•10 years ago
|
||
Tested on Nexus 4.
Assignee: nobody → jld
Attachment #8380066 -
Flags: review?(gdestuynder)
Attachment #8380066 -
Flags: review?(gdestuynder) → review+
Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/0500e2d9eb7e
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0500e2d9eb7e
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•