chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build-sys: support setting path and service names from configure
[elogind.git]
/
execute.h
diff --git
a/execute.h
b/execute.h
index cafaf6b631c213226a76b99d2632c084424ebce3..be73542d4b02345d46244630d79f13d5272b110c 100644
(file)
--- a/
execute.h
+++ b/
execute.h
@@
-98,6
+98,7
@@
struct ExecContext {
int syslog_priority;
char *syslog_identifier;
int syslog_priority;
char *syslog_identifier;
+ bool syslog_no_prefix;
char *tty_path;
char *tty_path;
@@
-109,6
+110,9
@@
struct ExecContext {
char *group;
char **supplementary_groups;
char *group;
char **supplementary_groups;
+ char **read_write_dirs, **read_only_dirs, **inaccessible_dirs;
+ unsigned long mount_flags;
+
uint64_t capability_bounding_set_drop;
cap_t capabilities;
uint64_t capability_bounding_set_drop;
cap_t capabilities;
@@
-116,6
+120,7
@@
struct ExecContext {
bool cpu_sched_reset_on_fork;
bool non_blocking;
bool cpu_sched_reset_on_fork;
bool non_blocking;
+ bool private_tmp;
bool oom_adjust_set:1;
bool nice_set:1;
bool oom_adjust_set:1;
bool nice_set:1;
@@
-178,6
+183,7
@@
int exec_spawn(ExecCommand *command,
char **argv,
const ExecContext *context,
int fds[], unsigned n_fds,
char **argv,
const ExecContext *context,
int fds[], unsigned n_fds,
+ char **environment,
bool apply_permissions,
bool apply_chroot,
bool confirm_spawn,
bool apply_permissions,
bool apply_chroot,
bool confirm_spawn,