X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/bef232aebeabbef525faa7d7f5b08cf7a1427f95..2ccd8a1d12b29b9942b8db2e7d528a2dae0e6fc2:/regress/hsyscalls.i4 diff --git a/regress/hsyscalls.i4 b/regress/hsyscalls.i4 index d5a57b7..cf9f958 100644 --- a/regress/hsyscalls.i4 +++ b/regress/hsyscalls.i4 @@ -89,6 +89,18 @@ hm_syscall( ') hm_syscall( + bind, `hm_rv_succfail', ` + hm_arg_fd(fd) hm_na + hm_arg_addr_in(addr,addrlen) hm_na +') + +hm_syscall( + listen, `hm_rv_succfail', ` + hm_arg_fd(fd) hm_na + hm_arg_int(backlog) hm_na +') + +hm_syscall( close, `hm_rv_succfail', ` hm_arg_fd(fd) hm_na ') @@ -123,6 +135,7 @@ hm_syscall( hm_specsyscall(int, writev, `int fd, const struct iovec *vector, size_t count') hm_specsyscall(int, gettimeofday, `struct timeval *tv, struct timezone *tz') +hm_specsyscall(pid_t, getpid, `void') hm_specsyscall(void*, malloc, `size_t sz') hm_specsyscall(void, free, `void *ptr')