Re: [PATCH 2/4] KEYS: Check starting keyring as part of search

2008-02-13 Thread David Howells
Andrew Morton <[EMAIL PROTECTED]> wrote: > > + (keyring->expiry && now.tv_sec >= keyring->expiry)) > > time_after()? Possibly. tv_sec oughtn't to wrap, though. I thought time_after() is really for comparing jiffies which might wrap. David -- To unsubscribe from this list: send the line

Re: [PATCH 2/4] KEYS: Check starting keyring as part of search

2008-02-12 Thread Andrew Morton
On Fri, 08 Feb 2008 16:04:29 + David Howells <[EMAIL PROTECTED]> wrote: > Check the starting keyring as part of the search to (a) see if that is what > we're searching for, and (b) to check it is still valid for searching. > > The scenario: User in process A does things that cause things to