| 131 | } |
| 132 | |
| 133 | int ff_hook_fcntl(int fd, int cmd, void *arg) |
| 134 | { |
| 135 | if (ff_fdisused(fd)) { |
| 136 | return ff_fcntl(fd, cmd, arg); |
| 137 | } else { |
| 138 | return mt_real_func(fcntl)(fd, cmd, arg); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | int ff_hook_listen(int fd, int backlog) |
| 143 | { |
no test coverage detected