t0300-credentials: poll failed: invalid argument
- From
Brian Gernhardt <benji@silverinsanity.com>
- Date
- Aug 28, 2011, 04:40 UTC
- Message-ID
- <5C993C44-D045-4344-95C1-94D3E6DB0316@silverinsanity.com>
The only usage of poll I see in the credentials system is:
credentials-cache--daemon.c 177: if (poll(&pfd, 1, 1000 * wakeup) < 0) {
My guess is that (1000 * wakeup) is more than INT_MAX and is becoming negative as the man page for poll seems to indicate that it will fail if timeout < -1.
Does anyone familiar with the credentials daemon want to try to figure out a reasonable fix?
~~ Brian