- Original Message -
> From: chru...@suse.cz
> To: "Jan Stancek"
> Cc: ltp-list@lists.sourceforge.net
> Sent: Wednesday, 20 August, 2014 4:04:16 PM
> Subject: Re: [LTP] [PATCH] timerfd_settime01: initialise itimerspec new_value
>
> Hi!
> > Before
Hi!
> Before kernel validates that fd is valid, it checks itimerspec struct
> with timespec_valid(). This struct is currently not initialised in test,
> which can cause failures, for example:
>
> timerfd_settime011 TFAIL : timerfd_settime01.c:121: timerfd_settime()
>
On Wed, 2014-08-20 at 10:46 +0200, Jan Stancek wrote:
> Before kernel validates that fd is valid, it checks itimerspec struct
> with timespec_valid(). This struct is currently not initialised in test,
> which can cause failures, for example:
Thank you for pointing out this.
Best regards,
Zeng
>
On 08/20/2014 04:46 PM, Jan Stancek wrote:
> Before kernel validates that fd is valid, it checks itimerspec struct
> with timespec_valid(). This struct is currently not initialised in test,
> which can cause failures, for example:
>
> timerfd_settime011 TFAIL : timerfd_settime01.c:121: time