kernel: resolving a handle now increments the refcount of the corresponding object

This commit is contained in:
2026-03-12 20:42:05 +00:00
parent 5a37b5e148
commit 6ba236b2fe
5 changed files with 7 additions and 39 deletions

View File

@@ -326,7 +326,7 @@ kern_status_t task_resolve_handle(
}
if (out_obj) {
*out_obj = handle_data->h_object;
*out_obj = object_ref(handle_data->h_object);
}
if (out_flags) {