]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hostname-setup: prefix helper process name with "sd-"
authorMike Yuan <me@yhndnzj.com>
Mon, 10 Nov 2025 01:55:40 +0000 (02:55 +0100)
committerMike Yuan <me@yhndnzj.com>
Mon, 10 Nov 2025 01:55:40 +0000 (02:55 +0100)
src/shared/hostname-setup.c

index 4e977eed125901f51c85481e9ba78231ab1fe593..9e83445040eb2e0a805776ab608eb85984987cc3 100644 (file)
@@ -377,7 +377,7 @@ int pidref_gethostname_full(PidRef *pidref, GetHostnameFlags flags, char **ret)
                 return -errno;
 
         _cleanup_(pidref_done_sigkill_wait) PidRef child = PIDREF_NULL;
-        r = pidref_safe_fork("(gethostname)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGKILL, &child);
+        r = pidref_safe_fork("(sd-gethostname)", FORK_RESET_SIGNALS|FORK_DEATHSIG_SIGKILL, &child);
         if (r < 0)
                 return r;
         if (r == 0) {