syscalls: Add a bunch of missing system calls.

readlink, umask, truncate, ftruncate, mkdir, and getcwd.
This commit is contained in:
Michael Adler
2008-07-23 14:41:33 -07:00
parent 8c4f18f6f5
commit 2cd04fd6da
8 changed files with 121 additions and 20 deletions

View File

@@ -303,6 +303,8 @@ class LiveProcess : public Process
return full + filename;
}
std::string getcwd() const { return cwd; }
virtual void syscall(int64_t callnum, ThreadContext *tc);
virtual SyscallDesc* getDesc(int callnum) = 0;