From: Keir Fraser Date: Wed, 9 Jul 2008 14:58:20 +0000 (+0100) Subject: stubdom: add stub functions to reduce qemu patches X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14188^2~64 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5c53e82c3ff78b7e6c20af6d36faa781839bd78e;p=xen.git stubdom: add stub functions to reduce qemu patches Signed-off-by: Samuel Thibault --- diff --git a/extras/mini-os/lib/sys.c b/extras/mini-os/lib/sys.c index cae0ed4772..0a98d30143 100644 --- a/extras/mini-os/lib/sys.c +++ b/extras/mini-os/lib/sys.c @@ -1185,6 +1185,7 @@ void sparse(unsigned long data, size_t size) /* Not supported by FS yet. */ unsupported_function_crash(link); unsupported_function(int, readlink, -1); +unsupported_function_crash(umask); /* We could support that. */ unsupported_function_log(int, chdir, -1); @@ -1207,6 +1208,16 @@ unsupported_function(int, __sigsetjmp, 0); unsupported_function(int, sigaltstack, -1); unsupported_function_crash(kill); +/* Unsupported */ +unsupported_function_crash(pipe); +unsupported_function_crash(fork); +unsupported_function_crash(execv); +unsupported_function_crash(waitpid); +unsupported_function_crash(lockf); +unsupported_function_crash(sysconf); +unsupported_function(int, tcsetattr, -1); +unsupported_function(int, tcgetattr, 0); + /* Linuxish abi for the Caml runtime, don't support */ unsupported_function_log(struct dirent *, readdir64, NULL); unsupported_function_log(int, getrusage, -1);