Better nice name

This commit is contained in:
topjohnwu
2019-02-15 04:31:39 -05:00
parent 8b84039f1f
commit a19c7215d2
5 changed files with 18 additions and 7 deletions

View File

@ -132,7 +132,7 @@ static void main_daemon() {
xlisten(fd, 10);
// Change process name
strcpy(argv0, "magiskd");
set_nice_name("magiskd");
// Block all signals
sigset_t block_set;