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
This commit is contained in:
Luca Boccassi
2025-09-16 15:58:28 +01:00
parent e80394e193
commit 8324f9351c
+2
View File
@@ -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;