You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Update su to match Linux's implementation
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ int socket_create_temp(char *path, size_t len) {
|
||||
|
||||
// Set attributes so requester can access it
|
||||
setfilecon(path, "u:object_r:su_file:s0");
|
||||
chown(path, su_ctx->st.st_uid, su_ctx->st.st_gid);
|
||||
chown(path, su_ctx->info->st.st_uid, su_ctx->info->st.st_gid);
|
||||
|
||||
return fd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user