mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-22 11:11:33 +00:00
Do not filter uid == 1000 for process info
This commit is contained in:
parent
c921964938
commit
70415a396a
@ -332,7 +332,6 @@ static void get_process_info(int client, const sock_cred *cred) {
|
|||||||
// really want to cache the app ID value. inotify will invalidate the app ID
|
// really want to cache the app ID value. inotify will invalidate the app ID
|
||||||
// cache for us.
|
// cache for us.
|
||||||
|
|
||||||
if (uid != 1000) {
|
|
||||||
int manager_app_id = cached_manager_app_id;
|
int manager_app_id = cached_manager_app_id;
|
||||||
|
|
||||||
if (manager_app_id < 0) {
|
if (manager_app_id < 0) {
|
||||||
@ -352,7 +351,6 @@ static void get_process_info(int client, const sock_cred *cred) {
|
|||||||
if (uid_granted_root(uid)) {
|
if (uid_granted_root(uid)) {
|
||||||
flags |= PROCESS_GRANTED_ROOT;
|
flags |= PROCESS_GRANTED_ROOT;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
xwrite(client, &flags, sizeof(flags));
|
xwrite(client, &flags, sizeof(flags));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user