Closed
Bug 1698174
Opened 5 years ago
Closed 5 years ago
GeckoThread.getProcessName is not compatible with isolatedProcess
Categories
(GeckoView Graveyard :: Sandboxing, enhancement, P1)
Tracking
(firefox89 fixed)
RESOLVED
FIXED
89 Branch
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: bugzilla, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
(Whiteboard: [geckoview:m89][sandboxing])
Attachments
(1 file)
This breaks our MOZ_DEBUG_CHILD_WAIT_FOR_JAVA_DEBUGGER environment variable.
Stack:
java.lang.SecurityException: Isolated process not allowed to call getRunningAppProcesses
at android.os.Parcel.readException(Parcel.java:1683)
at android.os.Parcel.readException(Parcel.java:1636)
at android.app.ActivityManagerProxy.getRunningAppProcesses(ActivityManagerNative.java:3818)
at android.app.ActivityManager.getRunningAppProcesses(ActivityManager.java:3053)
at org.mozilla.gecko.GeckoThread.getProcessName(GeckoThread.java:584)
at org.mozilla.gecko.GeckoThread.maybeWaitForJavaDebugger(GeckoThread.java:498)
at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:426)
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → aklotz
Status: NEW → ASSIGNED
Updated•5 years ago
|
Whiteboard: [geckoview:m89] → [geckoview:m89][sandboxing]
Updated•5 years ago
|
Severity: -- → S3
Priority: -- → P1
| Assignee | ||
Comment 1•5 years ago
|
||
We observe that, while we don't have proper access to the ActivityManager,
we can figure out the name of our own process just by using details about the
name of our GeckoServiceChildProcess class, plus the app's package name.
Updated•5 years ago
|
Attachment #9210078 -
Attachment description: Bug 1698174: Content services should derive their process name from properties of their own Service; r=#geckoview-reviewers → Bug 1698174: Send a newly created child process's name using IChildProcess.start; r=#geckoview-reviewers
Updated•5 years ago
|
Attachment #9210078 -
Attachment description: Bug 1698174: Send a newly created child process's name using IChildProcess.start; r=#geckoview-reviewers → Bug 1698174: Remove support for MOZ_DEBUG_*_WAIT_FOR_JAVA_DEBUGGER environment variables; r=#geckoview-reviewers
Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/16e354847fa2
Remove support for MOZ_DEBUG_*_WAIT_FOR_JAVA_DEBUGGER environment variables; r=geckoview-reviewers,agi
Comment 3•5 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Comment 4•3 years ago
|
||
Moving isolated process bugs to the new GeckoView::Sandboxing component.
Component: General → Sandboxing
Updated•1 year ago
|
Product: GeckoView → GeckoView Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•