Searched refs:validate_fd (Results 1 – 2 of 2) sorted by relevance
706 pub fn validate_fd(fd: i32) -> bool { in validate_fd() method748 if !FileDescriptorVec::validate_fd(fd) { in get_file_by_fd()
1116 if !(FileDescriptorVec::validate_fd(oldfd) && FileDescriptorVec::validate_fd(newfd)) { in do_dup3()