Skip to content

Commit

Permalink
c18n: Use path of obj_main as the name of the main compartment
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgao authored and bsdjhb committed Apr 23, 2024
1 parent a948d4e commit 541044d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libexec/rtld-elf/rtld.c
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ _rtld(Elf_Addr *sp, func_ptr_type *exit_proc, Obj_Entry **objp)
/*
* Manually register the main object after the policy is loaded.
*/
object_add_name(obj_main, "[main]");
object_add_name(obj_main, obj_main->path);
}
#endif

Expand Down

0 comments on commit 541044d

Please sign in to comment.