Closed Bug 1536127 Opened 5 years ago Closed 5 years ago

RDD processes can use fcntl F_SETFD via FdWatcher::StartWatching

Categories

(Core :: Security: Process Sandboxing, defect, P1)

Unspecified
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: jld, Assigned: gcp)

References

(Regression)

Details

(Keywords: regression)

Crash Data

Attachments

(1 file)

Seen on automation and misfiled under bug 1527502: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=234448022&repo=mozilla-central&lineNumber=9909

fcntl is called with F_SETFD to set the close-on-exec flag (in a process that can't exec, but it doesn't know that) by FdWatcher::StartWatching, which has something to do with memory reporting.

I wasn't able to reproduce this locally; I'm guessing it's timing-sensitive, that normally the runnable that does this runs before sandbox startup, but it's possible for it to be delayed until after.

OS: Unspecified → Linux
Assignee: jld → gpascutto
Summary: RDD processes can use F_SETFD via FdWatcher::StartWatching → RDD processes can use fcntl F_SETFD via FdWatcher::StartWatching
Pushed by gpascutto@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6de4d77e6769
Add F_SETFD/CLOEXEC logic to RDD process. r=jld
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
No longer blocks: 1506291
Regressed by: 1506291
Keywords: regression
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: