this repo has no description
1
fork

Configure Feed

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

Add special close() variant for libkqueue to avoid deadlocks

+13
+13
src/kernel/emulation/linux/unistd/close.c
··· 25 25 return ret; 26 26 } 27 27 28 + // Special variant for libkqueue to avoid recursion into kqueue_close() 29 + __attribute__((visibility("default"))) 30 + long __close_for_kqueue(int fd) 31 + { 32 + int ret; 33 + 34 + ret = LINUX_SYSCALL1(__NR_close, fd); 35 + if (ret < 0) 36 + ret = errno_linux_to_bsd(ret); 37 + 38 + return ret; 39 + } 40 +