From 964755c0d2232944aea933fb21edad6cbeb8fbfa Mon Sep 17 00:00:00 2001 From: Kotaro Inoue Date: Sun, 29 Sep 2024 17:16:35 +0900 Subject: [PATCH] fixup! Support feature subcommand Signed-off-by: Kotaro Inoue --- crates/youki/src/commands/features.rs | 28 ++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/crates/youki/src/commands/features.rs b/crates/youki/src/commands/features.rs index 2c01d6c5d..374e9970d 100644 --- a/crates/youki/src/commands/features.rs +++ b/crates/youki/src/commands/features.rs @@ -64,29 +64,51 @@ fn known_hooks() -> Vec { fn known_mount_options() -> Vec { [ - "acl", "async", "atime", - "auto", "bind", "defaults", "dev", + "diratime", "dirsync", "exec", "mand", - "noacl", "noatime", "nodev", + "nodiratime", "noexec", "nomand", "norelatime", "nosuid", + "nostrictatime", "private", "rbind", + "rdev", "relatime", "remount", + "rnoatime", + "rnodev", + "rnodiratime", + "rnoexec", + "rnorelatime", + "rnosuid", + "rnostrictatime", "ro", "rprivate", + "rrw", + "rshared", + "rsuid", + "rsymfollow", + "rslave", + "rstrictatime", + "runbindable", + "rw", + "shared", + "slave", + "strictatime", + "suid", + "sync", + "unbindable", ] .iter() .map(|s| s.to_string())