Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
34dded3b
Commit
34dded3b
authored
May 18, 2022
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix denylist on shared UID apps
parent
975b1a5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
utils.cpp
native/jni/zygisk/deny/utils.cpp
+0
-4
No files found.
native/jni/zygisk/deny/utils.cpp
View file @
34dded3b
...
@@ -53,10 +53,6 @@ static void rescan_apps() {
...
@@ -53,10 +53,6 @@ static void rescan_apps() {
struct
stat
st
{};
struct
stat
st
{};
xfstatat
(
dfd
,
entry
->
d_name
,
&
st
,
0
);
xfstatat
(
dfd
,
entry
->
d_name
,
&
st
,
0
);
int
app_id
=
to_app_id
(
st
.
st_uid
);
int
app_id
=
to_app_id
(
st
.
st_uid
);
if
(
app_id_to_pkgs
.
contains
(
app_id
))
{
// This app ID has been handled
continue
;
}
if
(
auto
it
=
pkg_to_procs
.
find
(
entry
->
d_name
);
it
!=
pkg_to_procs
.
end
())
{
if
(
auto
it
=
pkg_to_procs
.
find
(
entry
->
d_name
);
it
!=
pkg_to_procs
.
end
())
{
app_id_to_pkgs
[
app_id
].
insert
(
it
->
first
);
app_id_to_pkgs
[
app_id
].
insert
(
it
->
first
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment