From: colbyt <colby@colbyt.com>
To: devel@spectrum-os.org
Cc: colbyt <colby@colbyt.com>
Subject: [PATCH 4/5] vm: enable IPE in sub-VM kernels
Date: Thu, 25 Jun 2026 13:20:12 -0700 [thread overview]
Message-ID: <20260625202013.1417254-5-colby@colbyt.com> (raw)
In-Reply-To: <20260625202013.1417254-1-colby@colbyt.com>
Enable the IPE LSM in the app VM and net VM kernels.
The generated kernel config already enables audit, audit syscall support,
securityfs, and an LSM order containing ipe. Enabling SECURITY_IPE also
selects the dm-verity root-hash provider, which lets later policy work
match files that come from the verified root.
This does not install an IPE policy yet.
Signed-off-by: colbyt <colby@colbyt.com>
---
img/app/default.nix | 1 +
vm/sys/net/default.nix | 1 +
2 files changed, 2 insertions(+)
diff --git a/img/app/default.nix b/img/app/default.nix
index 23487e3..8496755 100644
--- a/img/app/default.nix
+++ b/img/app/default.nix
@@ -33,6 +33,7 @@ let
FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER = lib.mkForce unset;
FRAMEBUFFER_CONSOLE_DETECT_PRIMARY = lib.mkForce unset;
FRAMEBUFFER_CONSOLE_ROTATION = lib.mkForce unset;
+ SECURITY_IPE = yes;
RC_CORE = lib.mkForce unset;
VIRTIO = yes;
VIRTIO_BLK = yes;
diff --git a/vm/sys/net/default.nix b/vm/sys/net/default.nix
index 7f077a9..2f7e31d 100644
--- a/vm/sys/net/default.nix
+++ b/vm/sys/net/default.nix
@@ -39,6 +39,7 @@ let
FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER = lib.mkForce unset;
FRAMEBUFFER_CONSOLE_DETECT_PRIMARY = lib.mkForce unset;
FRAMEBUFFER_CONSOLE_ROTATION = lib.mkForce unset;
+ SECURITY_IPE = yes;
RC_CORE = lib.mkForce unset;
VIRTIO = yes;
VIRTIO_BLK = yes;
--
2.54.0
next prev parent reply other threads:[~2026-06-25 20:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-25 20:20 [PATCH 0/5] vm: boot sub-VMs from dm-verity roots and enable IPE colbyt
2026-06-25 20:20 ` [PATCH 1/5] vm: generate dm-verity metadata for sub-VM roots colbyt
2026-06-25 20:20 ` [PATCH 2/5] vm: add shared initramfs for verified roots colbyt
2026-06-25 20:20 ` [PATCH 3/5] vm: boot sub-VMs through " colbyt
2026-06-25 20:20 ` colbyt [this message]
2026-06-25 20:20 ` [PATCH 5/5] host/rootfs: enable IPE in the host kernel colbyt
2026-07-02 13:44 ` Alyssa Ross
2026-06-26 15:14 ` [PATCH 0/5] vm: boot sub-VMs from dm-verity roots and enable IPE Alyssa Ross
2026-06-26 19:12 ` colby
2026-07-02 13:43 ` Alyssa Ross
2026-07-02 23:16 ` colby
2026-07-03 14:06 ` Alyssa Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260625202013.1417254-5-colby@colbyt.com \
--to=colby@colbyt.com \
--cc=devel@spectrum-os.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).