Closed
Bug 948779
Opened 12 years ago
Closed 12 years ago
B2G with Nuwa starts sandbox before uid/gid privs are dropped
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 967967
People
(Reporter: jld, Unassigned)
Details
The fix for bug 921817 isn't quite right with Nuwa enabled — we seem to reach that code with mOSPrivileges == base::PRIVILEGES_DEFAULT while the process has uid 0, even for a preallocated process (which is supposed to have uid 0 at that point). This results in enabling the sandbox before calling setuid/setgid, which aren't in the whitelist.
We appear to bypass Nuwa if a preallocated grandchild process isn't available, so I don't know what should happen in the non-prealloc-Nuwa case.
Also, the app crash seems to make the homescreen completely unusable and requires a Gecko restart or reboot, but that may be a separate bug.
No longer blocks: b2g-seccomp
Blocks: 1.4-seccomp
Reporter | ||
Comment 1•12 years ago
|
||
Oops. Bug 967967 is the same issue. I *thought* it seemed familiar when I was investigating it. Dup'ing onto the newer bug because it has more up-to-date discussion and, more importantly, the fix.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Updated•12 years ago
|
No longer blocks: 1.4-seccomp
You need to log in
before you can comment on or make changes to this bug.
Description
•