summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/user/app/shell/shell.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/user/app/shell/shell.c b/src/user/app/shell/shell.c
index f47dc8d..35450a8 100644
--- a/src/user/app/shell/shell.c
+++ b/src/user/app/shell/shell.c
@@ -7,6 +7,7 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
+#include <user/lib/fs/misc.h>
int main();
@@ -49,6 +50,11 @@ static void run(char *cmd) {
// TODO process groups
_syscall_mount(-1, argv[1], strlen(argv[1]));
return;
+ } else if (!strcmp(argv[0], "whitelist")) {
+ MOUNT_AT("/") {
+ fs_whitelist(&argv[1]);
+ }
+ return;
} else if (!strcmp(argv[0], "exit")) {
exit(0);
}