diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-01-17 15:31:23 +0100 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-05-30 07:50:16 +0200 |
commit | 21487b2180e5df4b09a0797770e06e2579f7f698 (patch) | |
tree | 168850b0f6ec3bf189dee313a75d0662d4df1f0e /src/test/test-procfs-util.c | |
parent | edd34a52a3bb28d7f7eebedf45d24fa1f51a9b06 (diff) |
util: introduce more accurate definitions of TASKS_MAX
The maximum number of processes a tasks on the system is usually lower
than what pid_t would allow, and is compiled into the kernel (and
documented in proc(5)). Let's add proper defines for that, so that
we can adjust the pid_max sysctl without fearing invalid accesses.
Diffstat (limited to 'src/test/test-procfs-util.c')
0 files changed, 0 insertions, 0 deletions