diff options
author | Daniel Morante <daniel@morante.net> | 2020-08-09 21:58:37 -0400 |
---|---|---|
committer | Amar Tumballi <amar@kadalu.io> | 2020-08-20 09:30:17 +0000 |
commit | dc515feae51e247270bb440e40b8346eb3af7b46 (patch) | |
tree | 47a040ede1dda6563bfcf0ab5095fd5b4acee427 /libglusterfs/src/glusterfs/syscall.h | |
parent | 097db13c11390174c5b9f11aa0fd87eca1735871 (diff) |
Remove need for /proc on FreeBSD
Change-Id: Ieebd9a54307813954011ac8833824831dce6da10
Fixes: #1376
Diffstat (limited to 'libglusterfs/src/glusterfs/syscall.h')
-rw-r--r-- | libglusterfs/src/glusterfs/syscall.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/syscall.h b/libglusterfs/src/glusterfs/syscall.h index 91e921aea50..b6d3ab4f2ad 100644 --- a/libglusterfs/src/glusterfs/syscall.h +++ b/libglusterfs/src/glusterfs/syscall.h @@ -266,4 +266,13 @@ ssize_t sys_copy_file_range(int fd_in, off64_t *off_in, int fd_out, off64_t *off_out, size_t len, unsigned int flags); +int +sys_kill(pid_t pid, int sig); + +#ifdef __FreeBSD__ +int +sys_sysctl(const int *name, u_int namelen, void *oldp, size_t *oldlenp, + const void *newp, size_t newlen); +#endif + #endif /* __SYSCALL_H__ */ |