1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/test/fuzz/fuzz-unit-file
Ryan Wilson 63d4c4271c cgroup: Add ManagedOOMMemoryPressureDurationSec= override setting for units
This will allow units (scopes/slices/services) to override the default
systemd-oomd setting DefaultMemoryPressureDurationSec=.

The semantics of ManagedOOMMemoryPressureDurationSec= are:
- If >= 1 second, overrides DefaultMemoryPressureDurationSec= from oomd.conf
- If is empty, uses DefaultMemoryPressureDurationSec= from oomd.conf
- Ignored if ManagedOOMMemoryPressure= is not "kill"
- Disallowed if < 1 second

Note the corresponding dbus property is DefaultMemoryPressureDurationUSec
which is in microseconds. This is consistent with other time-based
dbus properties.
2024-10-16 20:12:38 -07:00
..
ask-password-console.path test: shorten sample names, drop numerical prefixes 2023-09-02 17:32:19 +03:00
binfmt_misc.automount man: update links to "API File Systems" 2024-05-28 14:48:56 +02:00
directives-all.service cgroup: Add ManagedOOMMemoryPressureDurationSec= override setting for units 2024-10-16 20:12:38 -07:00
dm-back\x2dslash.swap fuzz: rename long samples 2023-05-18 15:23:27 +02:00
empty.scope
github-19178 fuzzer: add a test case for #19178 2021-04-03 10:38:06 +01:00
machine.slice license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
oss-fuzz-6884
oss-fuzz-6885
oss-fuzz-6886
oss-fuzz-6892
oss-fuzz-6897
oss-fuzz-6897-evverx
oss-fuzz-6908
oss-fuzz-6917
oss-fuzz-6977
oss-fuzz-6977-unminimized
oss-fuzz-7004
oss-fuzz-8064
oss-fuzz-8827
oss-fuzz-10007
oss-fuzz-11569 fuzz-unit-file: add one more test case 2018-12-10 11:57:26 +01:00
oss-fuzz-13125 shared/calendarspec: do not allocate a big string on stack 2019-02-16 23:31:07 +01:00
oss-fuzz-32991 core: fix memleak of ipc_namespace_path 2021-04-07 22:12:50 +01:00
oss-fuzz-33270 core: fix crash in BPFProgram parsing 2021-05-05 17:15:04 +02:00
oss-fuzz-33876 core: fix crash in parsing of SocketBind{Allow,Deny}= 2021-05-05 17:14:58 +02:00
syslog.socket core/socket: allow MPTCP protocol 2024-06-12 00:14:08 +01:00
systemd-machined.service tree-wide: replace obsolete wiki links with systemd.io/manpages 2022-05-21 14:29:14 +02:00
systemd-resolved.service various: update links to more wiki pages 2024-05-28 14:48:53 +02:00
timers.target license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00
tmpfiles-clean.timer timer: introduce DeferReactivation setting 2024-10-11 22:54:16 +02:00
var-lib-machines.mount license: LGPL-2.1+ -> LGPL-2.1-or-later 2020-11-09 13:23:58 +09:00