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>
Tue, 19 Nov 2019 08:17:12 +0000 (08:17 +0000)
commitb36053866892d8894a1dbbd4eb528c76b40709f6
treee27aacc470c2eef5e5954f3757d2bb04f4cbb92a
parent0b03c84cb093b3942e531eb35e65bc364d4a3be6
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