cgroup: Mark memory protections as explicitly set in transient units
authorChris Down <chris@chrisdown.name>
Mon, 30 Sep 2019 17:36:13 +0000 (18:36 +0100)
committerMichael Biebl <biebl@debian.org>
Fri, 15 Nov 2019 21:01:17 +0000 (21:01 +0000)
commit7cbf451031018ced571d37b6b4eb26a8646139cd
treeb40e07a8e2db73367c287e89a0ab0e3a81f3f297
parentff940bb2e2dc7ab3ef23fcaa26361c871313e7cd
cgroup: Mark memory protections as explicitly set in transient units

A later version of the DefaultMemory{Low,Min} patch changed these to
require explicitly setting memory_foo_set, but we only set that in
load-fragment, not dbus-cgroup.

Without these, we may fall back to either DefaultMemoryFoo or
CGROUP_LIMIT_MIN when we really shouldn't.

(cherry picked from commit 184e989d7da4648bd36511ffa28a9f2b469589d1)
(cherry picked from commit b5df1037a0c02ff04886fda7c11868be65c54bd6)

Gbp-Pq: Name cgroup-Mark-memory-protections-as-explicitly-set-in-trans.patch
src/core/dbus-cgroup.c