From: Luca Boccassi Date: Tue, 16 Sep 2025 14:51:08 +0000 (+0100) Subject: machine: add a comment to clarify that root_directory is informational only X-Git-Tag: v258~2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F38911%2Fhead;p=thirdparty%2Fsystemd.git machine: add a comment to clarify that root_directory is informational only To avoid any possible mistakes in the future, add a comment in the object declaration --- diff --git a/src/machine/machine.h b/src/machine/machine.h index 8f1a044f7a0..4bdb049c5fb 100644 --- a/src/machine/machine.h +++ b/src/machine/machine.h @@ -45,6 +45,8 @@ typedef struct Machine { char *state_file; char *service; + /* Note that the root directory is accepted as-is from the caller, including unprivileged users, so + * do not use it for anything but informational purposes. */ char *root_directory; char *unit;