Skip to content

Introducing a patch that lifts some run-as restrictions#24

Open
ChrysoliteAzalea wants to merge 2 commits intowaydroid:lineage-18.1from
ChrysoliteAzalea:runas
Open

Introducing a patch that lifts some run-as restrictions#24
ChrysoliteAzalea wants to merge 2 commits intowaydroid:lineage-18.1from
ChrysoliteAzalea:runas

Conversation

@ChrysoliteAzalea
Copy link
Copy Markdown
Contributor

Hello everyone! I propose patching run-as to remove some restrictions (specifically, allows running as system apps and non-debuggable apps).

Removing restrictions in the run-as utility by patching the utility itself is also a far cleaner way to enhance its usefulness than tampering with the package list, and is less likely to introduce problems.

@ChrysoliteAzalea
Copy link
Copy Markdown
Contributor Author

I've decided to keep the "reject system apps" restriction, because run-as is accessible not only to root, but to shell (ADB), and lifting the UID restriction can potentially allow running commands under privileged users (such as root or system) with ADB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant