mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user