summaryrefslogtreecommitdiffhomepage
path: root/fuzz-wrapfd.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-01-29 21:47:56 +0800
committerMatt Johnston <matt@ucc.asn.au>2021-01-29 21:47:56 +0800
commite8640bdca3caab1d7249291993e418f88247fdd2 (patch)
tree23d3f6ebbda7aa6c53a607104e53bd49cfacee6d /fuzz-wrapfd.h
parent49177312fb96b32cd0ee70302eeffc520a051b32 (diff)
fuzz: wrap kill()
Diffstat (limited to 'fuzz-wrapfd.h')
-rw-r--r--fuzz-wrapfd.h2
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