kernel: Add sulog records for susfs

This commit is contained in:
ShirkNeko
2025-11-16 14:50:04 +08:00
parent be63a062ad
commit e2bcec1ee2
2 changed files with 16 additions and 6 deletions

View File

@@ -248,6 +248,10 @@ int ksu_handle_setresuid(uid_t ruid, uid_t euid, uid_t suid){
return 0;
}
#if __SULOG_GATE
ksu_sulog_report_syscall(new_uid, NULL, "setuid", NULL);
#endif
// Check if spawned process is isolated service first, and force to do umount if so
if (is_zygote_isolated_service_uid(new_uid) && susfs_is_umount_for_zygote_iso_service_enabled) {
goto do_umount;