debuggers.hg
changeset 18050:3669f358e62e
stubdom: add stub functions to reduce qemu patches
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Wed Jul 09 15:58:20 2008 +0100 (2008-07-09) |
parents | e10f43449463 |
children | 2d100fe81044 |
files | extras/mini-os/lib/sys.c |
line diff
1.1 --- a/extras/mini-os/lib/sys.c Wed Jul 09 14:21:42 2008 +0100 1.2 +++ b/extras/mini-os/lib/sys.c Wed Jul 09 15:58:20 2008 +0100 1.3 @@ -1185,6 +1185,7 @@ void sparse(unsigned long data, size_t s 1.4 /* Not supported by FS yet. */ 1.5 unsupported_function_crash(link); 1.6 unsupported_function(int, readlink, -1); 1.7 +unsupported_function_crash(umask); 1.8 1.9 /* We could support that. */ 1.10 unsupported_function_log(int, chdir, -1); 1.11 @@ -1207,6 +1208,16 @@ unsupported_function(int, __sigsetjmp, 0 1.12 unsupported_function(int, sigaltstack, -1); 1.13 unsupported_function_crash(kill); 1.14 1.15 +/* Unsupported */ 1.16 +unsupported_function_crash(pipe); 1.17 +unsupported_function_crash(fork); 1.18 +unsupported_function_crash(execv); 1.19 +unsupported_function_crash(waitpid); 1.20 +unsupported_function_crash(lockf); 1.21 +unsupported_function_crash(sysconf); 1.22 +unsupported_function(int, tcsetattr, -1); 1.23 +unsupported_function(int, tcgetattr, 0); 1.24 + 1.25 /* Linuxish abi for the Caml runtime, don't support */ 1.26 unsupported_function_log(struct dirent *, readdir64, NULL); 1.27 unsupported_function_log(int, getrusage, -1);