]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/execute.h
core: add ':' prefix to ExecXYZ= skip env var substitution
[thirdparty/systemd.git] / src / core / execute.h
index 0f1bf56744bb5d5d4d3defda249cfc279a49d9a0..4b5b2d98cef1287dbbe3f40ccb0d6c49b0520273 100644 (file)
@@ -91,6 +91,7 @@ typedef enum ExecCommandFlags {
         EXEC_COMMAND_FULLY_PRIVILEGED = 1 << 1,
         EXEC_COMMAND_NO_SETUID        = 1 << 2,
         EXEC_COMMAND_AMBIENT_MAGIC    = 1 << 3,
+        EXEC_COMMAND_NO_ENV_EXPAND    = 1 << 4,
 } ExecCommandFlags;
 
 /* Stores information about commands we execute. Covers both configuration settings as well as runtime data. */
@@ -272,6 +273,7 @@ struct ExecContext {
 
         bool memory_deny_write_execute;
         bool restrict_realtime;
+        bool protect_hostname;
 
         bool oom_score_adjust_set:1;
         bool nice_set:1;