https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194985
Mateusz Guzik <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Mateusz Guzik <[email protected]> --- What rationale is behind this? If such syscall is really needed, it may be it will be fast enough to count bits set in the map. Also what's up with this: + p = td->td_proc; + PROC_LOCK(p); + td->td_retval[0] = p->p_fd->fd_openfd; + PROC_UNLOCK(p); proc lock does not protect file table nor fd_openfd. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
