Skip to content
Snippets Groups Projects
Commit 0c68cb6a authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Gerrit Code Review
Browse files

Merge "grant CAP_WAKE_ALARM to AID_NETWORK_STACK" into main

parents 44a679e5 ebc0e20d
No related branches found
No related tags found
No related merge requests found
......@@ -2050,6 +2050,7 @@ static jlong CalculateCapabilities(JNIEnv* env, jint uid, jint gid, jintArray gi
}
if (multiuser_get_app_id(uid) == AID_NETWORK_STACK) {
capabilities |= (1LL << CAP_WAKE_ALARM);
capabilities |= (1LL << CAP_NET_ADMIN);
capabilities |= (1LL << CAP_NET_BROADCAST);
capabilities |= (1LL << CAP_NET_BIND_SERVICE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment