kravietz / pam_tacplus

TACACS+ protocol client library and PAM module in C. This PAM module support authentication, authorization (account management) and accounting (session management)performed using TACACS+ protocol designed by Cisco.
GNU Lesser General Public License v3.0
132 stars 102 forks source link

connect.c: Replace select with poll #181

Closed nafmo closed 2 years ago

nafmo commented 2 years ago

If the file descriptor we get is above FD_SETSIZE, we cannot use select() to monitor it for changes. Replace select() with poll().