mount syscall and simple mount program

This commit is contained in:
Matheus
2023-07-26 00:19:51 -03:00
parent 755fd1a8d1
commit dcaa20ae9c
10 changed files with 199 additions and 12 deletions
+5 -3
View File
@@ -4,7 +4,7 @@
#ifdef SYSCALL_LOGGING
#define SYSCALL_COUNT 35
#define SYSCALL_COUNT 38
#define LOGSTR(x) arch_e9_puts(x)
static char *name[] = {
@@ -44,7 +44,8 @@ static char *name[] = {
"umask",
"poll",
"nanosleep",
"ftruncate"
"ftruncate",
"mount"
};
static char *args[] = {
@@ -84,7 +85,8 @@ static char *args[] = {
"mode %o", // umask
"fds %p nfds %d timeout %d", // poll
"time %p remaining %p", // nanosleep
"fd %d size %lu" // ftruncate
"fd %d size %lu", // ftruncate
"backing %s mountpoint %s fs %s flags %d data %p" // mount
};
#endif