diff options
author | Matt Johnston <matt@ucc.asn.au> | 2021-01-29 21:47:56 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2021-01-29 21:47:56 +0800 |
commit | e8640bdca3caab1d7249291993e418f88247fdd2 (patch) | |
tree | 23d3f6ebbda7aa6c53a607104e53bd49cfacee6d /fuzz-wrapfd.h | |
parent | 49177312fb96b32cd0ee70302eeffc520a051b32 (diff) |
fuzz: wrap kill()
Diffstat (limited to 'fuzz-wrapfd.h')
-rw-r--r-- | fuzz-wrapfd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzz-wrapfd.h b/fuzz-wrapfd.h index 6677e62..d0dea88 100644 --- a/fuzz-wrapfd.h +++ b/fuzz-wrapfd.h @@ -1,6 +1,7 @@ #ifndef FUZZ_WRAPFD_H #define FUZZ_WRAPFD_H +#include "includes.h" #include "buffer.h" enum wrapfd_mode { @@ -21,5 +22,6 @@ int wrapfd_write(int fd, const void* in, size_t count); int wrapfd_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); int wrapfd_close(int fd); +int fuzz_kill(pid_t pid, int sig); #endif // FUZZ_WRAPFD_H |