chiark / gitweb /
set nice/oom_adjust only when asked for
[elogind.git] / execute.h
index 3283e1f81580b3b5ded9240838223e31f8ec7494..04b9f6ef8b945f7eb456755e5ea8a8af55056cd4 100644 (file)
--- a/execute.h
+++ b/execute.h
@@ -44,9 +44,12 @@ struct ExecContext {
         char **environment;
         mode_t umask;
         struct rlimit *rlimit[RLIMIT_NLIMITS];  /* FIXME: load-fragment parser missing */
+        char *directory;
         int oom_adjust;
         int nice;
-        char *directory;
+
+        bool oom_adjust_set:1;
+        bool nice_set:1;
 
         ExecOutput output;
         int syslog_priority;