URL: https://github.com/SSSD/sssd/pull/426 Title: #426: nss-idmap: add nss like calls with timeout and flags
sumit-bose commented: """ Thank you for the review, I squashed the patch in.
About the type of the timeout. I made the timeout in the public calls unsigned because a negative timeout makes not sense imo at this level. But poll() uses int so there must be a switch at some point. But you are right that it should not be when calling sss_nss_getyyybyxxx().
I change the type in sss_nss_getyyybyxxx() and changed sss_nss_timedlock() to make sure there is no overrun. """
See the full comment at https://github.com/SSSD/sssd/pull/426#issuecomment-342099839