summaryrefslogtreecommitdiff
path: root/src/core/manager.h
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@suse.com>2012-03-21 18:03:40 +0100
committerLennart Poettering <lennart@poettering.net>2012-05-21 21:13:27 +0200
commitc93ff2e913a6da516c83c0d3f8df73004acc6c8b (patch)
treefa28e761da28c82391792ec243f4b55d62219fc0 /src/core/manager.h
parent401cc72da8e59a1e49acafee69280f7ebaa52e74 (diff)
main: allow system wide limits for services
Diffstat (limited to 'src/core/manager.h')
-rw-r--r--src/core/manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/manager.h b/src/core/manager.h
index 046540d896..9b947c9530 100644
--- a/src/core/manager.h
+++ b/src/core/manager.h
@@ -226,6 +226,8 @@ struct Manager {
ExecOutput default_std_output, default_std_error;
+ struct rlimit *rlimit[RLIMIT_NLIMITS];
+
/* non-zero if we are reloading or reexecuting, */
int n_reloading;
@@ -268,6 +270,7 @@ unsigned manager_dispatch_run_queue(Manager *m);
unsigned manager_dispatch_dbus_queue(Manager *m);
int manager_set_default_controllers(Manager *m, char **controllers);
+int manager_set_default_rlimits(Manager *m, struct rlimit **default_rlimit);
int manager_loop(Manager *m);