this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Release kqueues properly

+6
+6
src/kernel/emulation/linux/unistd/close.c
··· 3 3 #include "../errno.h" 4 4 #include <linux-syscalls/linux.h> 5 5 6 + __attribute__((weak)) 7 + __attribute__((visibility("default"))) 8 + int kqueue_close(int kq) { return -1; } 9 + 6 10 long sys_close(int fd) 7 11 { 8 12 return sys_close_nocancel(fd); ··· 15 19 ret = LINUX_SYSCALL1(__NR_close, fd); 16 20 if (ret < 0) 17 21 ret = errno_linux_to_bsd(ret); 22 + else 23 + kqueue_close(fd); 18 24 19 25 return ret; 20 26 }