Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: lineage-18.1
Choose a base branch
from

Conversation

ChrysoliteAzalea
Copy link
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
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