summaryrefslogtreecommitdiff
path: root/execute.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-28 02:53:56 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-28 02:53:56 +0100
commitfb33a393e21a15ce3b4ac8c16d947fd9b6e77206 (patch)
tree8e763555a776bf088384ed44145827e007ae8dfc /execute.h
parentd46de8a1a249e179687361dcaeba27e1c586253a (diff)
set nice/oom_adjust only when asked for
Diffstat (limited to 'execute.h')
-rw-r--r--execute.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/execute.h b/execute.h
index 3283e1f815..04b9f6ef8b 100644
--- 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;