From: Mike Yuan Date: Tue, 11 Jul 2023 04:06:14 +0000 (+0800) Subject: shared/async: prefix process name with sd- X-Git-Tag: v254-rc2~47^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7b1d37c779ac0ae2314d25c8c88db409a425c9d;p=thirdparty%2Fsystemd.git shared/async: prefix process name with sd- --- diff --git a/src/shared/async.c b/src/shared/async.c index b7ecb9c4b76..1cf1936d4b1 100644 --- a/src/shared/async.c +++ b/src/shared/async.c @@ -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