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
3798d504
Commit
3798d504
authored
Apr 26, 2021
by
Wang Han
Committed by
John Wu
May 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill processes with SIGKILL rather than SIGTERM
parent
95e1e574
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
hide_utils.cpp
native/jni/magiskhide/hide_utils.cpp
+1
-1
No files found.
native/jni/magiskhide/hide_utils.cpp
View file @
3798d504
...
@@ -92,7 +92,7 @@ static void kill_process(const char *name, bool multi = false,
...
@@ -92,7 +92,7 @@ static void kill_process(const char *name, bool multi = false,
bool
(
*
filter
)(
int
,
const
char
*
)
=
proc_name_match
<&
str_eql
>
)
{
bool
(
*
filter
)(
int
,
const
char
*
)
=
proc_name_match
<&
str_eql
>
)
{
crawl_procfs
([
=
](
int
pid
)
->
bool
{
crawl_procfs
([
=
](
int
pid
)
->
bool
{
if
(
filter
(
pid
,
name
))
{
if
(
filter
(
pid
,
name
))
{
kill
(
pid
,
SIG
TERM
);
kill
(
pid
,
SIG
KILL
);
return
multi
;
return
multi
;
}
}
return
true
;
return
true
;
...
...
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