chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
logind: enforce a limit on inhibitors we hand out
[elogind.git]
/
src
/
login
/
logind.h
diff --git
a/src/login/logind.h
b/src/login/logind.h
index 986f98ccc849cc1c18600d6b2daecee5b7ee4bf4..752d4e399e86b2d3522f5a4174ffee28fb9160c0 100644
(file)
--- a/
src/login/logind.h
+++ b/
src/login/logind.h
@@
-162,6
+162,8
@@
struct Manager {
size_t runtime_dir_size;
uint64_t user_tasks_max;
+ uint64_t sessions_max;
+ uint64_t inhibitors_max;
};
int manager_add_device(Manager *m, const char *sysfs, bool master, Device **_device);