<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-security.git, branch gatesgarth</title>
<subtitle>Mirror of git.yoctoproject.org/meta-security.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-security.git/atom?h=gatesgarth</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-security.git/atom?h=gatesgarth'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/'/>
<updated>2021-03-04T21:09:24+00:00</updated>
<entry>
<title>ima-policy-hashed: add CGROUP2_SUPER_MAGIC fsmagic</title>
<updated>2021-03-04T21:09:24+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-03-01T12:35:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=3daf99fd138b0eebe864bbe1b9c71241d97c4512'/>
<id>urn:sha1:3daf99fd138b0eebe864bbe1b9c71241d97c4512</id>
<content type='text'>
This fixes following systemd boot issues:
[    7.455580] systemd[1]: Failed to create /init.scope control group: Permission denied
[    7.457677] systemd[1]: Failed to allocate manager object: Permission denied
[!!!!!!] Failed to allocate manager object.
[    7.459270] systemd[1]: Freezing execution.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>ima-evm-rootfs.bbclass: avoid generating /etc/fstab for wic</title>
<updated>2021-03-04T21:09:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=bf83dca254c70901ac08a818cb0c36e30891f1e4'/>
<id>urn:sha1:bf83dca254c70901ac08a818cb0c36e30891f1e4</id>
<content type='text'>
Or else wic will fail without "--no-fstab-update" option.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>initramfs-framework-ima: let ima_enabled return 0</title>
<updated>2021-03-04T21:09:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=b263e0a19b2791fd901e5d86482a4d07862cec1c'/>
<id>urn:sha1:b263e0a19b2791fd901e5d86482a4d07862cec1c</id>
<content type='text'>
Otherwise, ima script would not run as intended.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>README.md: update according to the refactoring in ima-evm-rootfs.bbclass</title>
<updated>2021-03-04T21:09:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=5195ccdea10108485f7c6463766956fa3d8daf43'/>
<id>urn:sha1:5195ccdea10108485f7c6463766956fa3d8daf43</id>
<content type='text'>
Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta: refactor IMA/EVM sign rootfs</title>
<updated>2021-03-04T21:09:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=23928ef425f942558583a8b56f49042e6f2bf25c'/>
<id>urn:sha1:23928ef425f942558583a8b56f49042e6f2bf25c</id>
<content type='text'>
The current logic in ima-evm-rootfs.bbclass does not guarantee
ima_evm_sign_rootfs is the last function in IMAGE_PREPROCESS_COMMAND
by appending to it, for instance, if there are other "_append" being
used as it's the case in openembedded-core/meta/classes/image.bbclass:

| IMAGE_PREPROCESS_COMMAND_append = " ${@ 'systemd_preset_all;' \
| if bb.utils.contains('DISTRO_FEATURES', 'systemd', True, False, d) \
| and not bb.utils.contains('IMAGE_FEATURES', 'stateless-rootfs', True,
| False, d) else ''} reproducible_final_image_task; "

and ima-evm-rootfs should be in IMAGE_CLASSES instead of in INHERIT
since that would impact all recipes but not only image recipes.

To fix the above issues, we introduce a ima_evm_sign_handler setting
IMA/EVM rootfs signing requirements/dependencies in event
bb.event.RecipePreFinalise, it checks 'ima' distro feature to decide if
IMA/EVM rootfs signing logic should be applied or not.

Also add ima-evm-keys to IMAGE_INSTALL.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>initramfs-framework-ima: RDEPENDS on ima-evm-keys</title>
<updated>2021-03-04T21:09:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=ea2aef0a1b792b9fe2bf3bfcf204b6050e4c5f6a'/>
<id>urn:sha1:ea2aef0a1b792b9fe2bf3bfcf204b6050e4c5f6a</id>
<content type='text'>
Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>ima-evm-keys: add recipe</title>
<updated>2021-03-04T21:09:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=1ed3654327ef087a86916a4f01b0fc43abfc847b'/>
<id>urn:sha1:1ed3654327ef087a86916a4f01b0fc43abfc847b</id>
<content type='text'>
Create a recipe to package IMA/EMV public keys.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>initramfs-framework-ima: fix a wrong path</title>
<updated>2021-03-04T21:09:03+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=6608a190154af1140ea32e6da39935552a5ae7d8'/>
<id>urn:sha1:6608a190154af1140ea32e6da39935552a5ae7d8</id>
<content type='text'>
/etc/ima-policy &gt; /etc/ima/ima-policy.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>ima-evm-utils: set native REQUIRED_DISTRO_FEATURES to empty</title>
<updated>2021-03-04T21:08:50+00:00</updated>
<author>
<name>Ming Liu</name>
<email>liu.ming50@gmail.com</email>
</author>
<published>2021-02-20T12:18:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=e25975dcb90075ca67d30758c72b57d270ed3f6f'/>
<id>urn:sha1:e25975dcb90075ca67d30758c72b57d270ed3f6f</id>
<content type='text'>
'ima' does not have to be in native DISTRO_FEATURES, unset it to avoid
sanity check for ima-evm-utils-native.

Signed-off-by: Ming Liu &lt;liu.ming50@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>kas-security-base: use gatesgarth name</title>
<updated>2021-02-25T05:22:22+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-02-25T05:14:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=0a7814bab3457ec06622c775b035576e04a1b69f'/>
<id>urn:sha1:0a7814bab3457ec06622c775b035576e04a1b69f</id>
<content type='text'>
drop DL_DIR

Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
</feed>
