Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Support abstract socket for USB connection #42

Merged
merged 1 commit into from
Jun 7, 2018

Conversation

makotokato
Copy link
Member

I would like to add abstract socket address support to support Android O. When target SDK is 26+, adb cannot connect UNIX domain socket due to no permission by new security feature of Android O (https://bugzilla.mozilla.org/show_bug.cgi?id=1462019). Although Fennec still uses 23 for it, new GeckoView application such as VR Browser and etc will use 26+.

Abstract socket address can still connect it even if Android O and Chrome uses it. So we should support it on adbhelper.

If using abstract socket address, /proc/net/address shows "@" prefix like the following.

0000000000000000: 00000002 00000000 00010000 0001 01 4075810 @firefox-debugger-socket

Copy link
Contributor

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, this looks good to me!

@jryans jryans merged commit f44386c into mozilla:master Jun 7, 2018
@jryans
Copy link
Contributor

jryans commented Jun 7, 2018

By the way, when you are ready to deploy a new version of this add-on, please contact either Alexandre Poirot apoirot@mozilla.com, Julian Descottes jdescottes@mozilla.com on the team. They are the ones that currently have access.

@makotokato makotokato deleted the abstract-socket branch August 2, 2018 06:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants