From fd0f684ee3b633ff140112515921bd04fc664cbe Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 13 Nov 2025 21:57:41 +0800 Subject: [PATCH] fix stale api in repl --- bao1x-boot/boot1/src/repl.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bao1x-boot/boot1/src/repl.rs b/bao1x-boot/boot1/src/repl.rs index 8dd2417c6..95837a700 100644 --- a/bao1x-boot/boot1/src/repl.rs +++ b/bao1x-boot/boot1/src/repl.rs @@ -479,7 +479,11 @@ impl Repl { crate::println!("Permissions (actual): {:x?}", acl); // attempt to clear the permissions, making the keys malleable slot_mgr - .set_acl(&mut rram, &key, &AccessSettings::Key(KeySlotAccess::new_with_raw_value(0))) + .set_acl( + &mut rram, + &key, + &AccessSettings::Data(DataSlotAccess::new_with_raw_value(0)), + ) .ok(); // if we can't clear, that's by design let acl = slot_mgr.get_acl(&key).unwrap();