]> xenbits.xensource.com Git - people/liuw/mini-os.git/commitdiff
stubdom: add stub functions to reduce qemu patches
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Jul 2008 14:58:20 +0000 (15:58 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 9 Jul 2008 14:58:20 +0000 (15:58 +0100)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
lib/sys.c

index cae0ed47723acd83fcce166edaa81cd4f724e948..0a98d30143b92e39d938a6daf7a4eb6c5bdf2080 100644 (file)
--- 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);