summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2023-07-11 06:06:14 +0200
committerMike Yuan <me@yhndnzj.com>2023-07-11 06:08:09 +0200
commitf7b1d37c779ac0ae2314d25c8c88db409a425c9d (patch)
treea13214d5398fbb05faa9c0421278f208795a45cc /src/shared
parentMerge pull request #28343 from poettering/daemon-reload-common (diff)
downloadsystemd-f7b1d37c779ac0ae2314d25c8c88db409a425c9d.tar.xz
systemd-f7b1d37c779ac0ae2314d25c8c88db409a425c9d.zip
shared/async: prefix process name with sd-
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/async.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/async.c b/src/shared/async.c
index b7ecb9c4b7..1cf1936d4b 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