portabled: validate SYSEXT_LEVEL when attaching
authorLuca Boccassi <luca.boccassi@microsoft.com>
Wed, 4 Aug 2021 14:00:06 +0000 (15:00 +0100)
committerLuca Boccassi <luca.boccassi@microsoft.com>
Mon, 6 Sep 2021 11:14:50 +0000 (12:14 +0100)
commit239ac0c7f72c30cab2e84d395d064c3b7384ff84
tree64fc7e0a00ba5e98cba2ae54b417e1aab42746e2
parent7bf5ec4538cd4c77979dd9d09d9e9429a0a3535c
portabled: validate SYSEXT_LEVEL when attaching

When attaching a portable service with extensions, immediately validate
that the os-release and extension-release metadata values match, rather
than letting it fail when the units are started
src/portable/portable.c
src/portable/portable.h