From adc616eb5d3d5a10ef3d1fffb4bdbbf14d63597f Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 9 Jul 2008 15:58:20 +0100 Subject: [PATCH] stubdom: add stub functions to reduce qemu patches Signed-off-by: Samuel Thibault --- lib/sys.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/sys.c b/lib/sys.c index cae0ed4..0a98d30 100644 --- a/lib/sys.c +++ b/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); -- 2.39.5