Re: [Y2038] [PATCH] security: keys: convert uses of time_t to time64_t

2015-11-27 Thread Arnd Bergmann
On Friday 27 November 2015 18:55:43 Aya Mahfouz wrote: > > > > My first idea would be to split the key_preparsed_payload changes from > > the struct key changes. Have you tried that? What problems did you run into? > > > Yes, the problem is that the assignments to key->expiry come from > key_prep

Re: [Y2038] [PATCH 2/3] input: evdev: add new ioctl EVIOCSIFTYPE / EVIOCGIFTYPE

2015-11-27 Thread Arnd Bergmann
On Friday 27 November 2015 18:00:31 WEN Pingbo wrote: > This patch depends on 'introduce new evdev interface'. > > Userspace cat set / get evdev interface type via the two ioctl > commands. And default interface type is EV_IF_LEGACY, so the old binary > will work normal with new kernel. Maybe we s

Re: [Y2038] [PATCH 0/3] introduce new evdev interface type

2015-11-27 Thread Arnd Bergmann
On Friday 27 November 2015 18:00:29 WEN Pingbo wrote: > To solve the y2038 problem in input_event, I had some attempts before [1], > and this is the second one. > > We can force userspace to use monotonic time in event timestamp, so the > 'struct timeval' is enough to keep y2038-safe, as Arnd sugg

Re: [Y2038] [PATCH] security: keys: convert uses of time_t to time64_t

2015-11-27 Thread Aya Mahfouz
On Fri, Nov 27, 2015 at 04:22:24PM +0100, Arnd Bergmann wrote: > On Friday 27 November 2015 16:42:54 Aya Mahfouz wrote: > > On Wed, Nov 18, 2015 at 04:35:58PM +0100, Arnd Bergmann wrote: > > > On Wednesday 18 November 2015 17:33:38 Aya Mahfouz wrote: > > > > > > --- > > > > > > Changelog: > > > > >

Re: [Y2038] [PATCH] security: keys: convert uses of time_t to time64_t

2015-11-27 Thread Arnd Bergmann
On Friday 27 November 2015 16:42:54 Aya Mahfouz wrote: > On Wed, Nov 18, 2015 at 04:35:58PM +0100, Arnd Bergmann wrote: > > On Wednesday 18 November 2015 17:33:38 Aya Mahfouz wrote: > > > > > --- > > > > > Changelog: > > > > > v1: The changes were originally made by Arnd Bergmann in > > > > > relat

Re: [Y2038] [PATCH] security: keys: convert uses of time_t to time64_t

2015-11-27 Thread Aya Mahfouz
On Wed, Nov 18, 2015 at 04:35:58PM +0100, Arnd Bergmann wrote: > On Wednesday 18 November 2015 17:33:38 Aya Mahfouz wrote: > > > > --- > > > > Changelog: > > > > v1: The changes were originally made by Arnd Bergmann in > > > > relation to time_t. I've broken down a patch sent to me > > > > into tw