shared/async: prefix process name with sd-
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ int asynchronous_sync(pid_t *ret_pid) {
|
||||
static int close_func(void *p) {
|
||||
unsigned v = PTR_TO_UINT(p);
|
||||
|
||||
(void) prctl(PR_SET_NAME, (unsigned long*) "(close)");
|
||||
(void) prctl(PR_SET_NAME, (unsigned long*) "(sd-close)");
|
||||
|
||||
/* Note: 💣 This function is invoked in a child process created via glibc's clone() wrapper. In such
|
||||
* children memory allocation is not allowed, since glibc does not release malloc mutexes in
|
||||
|
||||
Reference in New Issue
Block a user