Re: [patch 1/2] Validate itimer timeval from userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Jesper Juhl" <[email protected]> wrote:
>
> > It would be strange to set an alarm for 0xffffffff seconds in the future
>  > but yeah, unless we can point at a reason why nobody could have ever been
>  > doing that, we should turn this into permanent, documented behaviour of
>  > Linux 2.6 and earlier, I'm afraid.
>  >
> 
>  How about 0xffffffff seconds into the future being the same as 136
>  years (unless I botched the math)... That means that if any Linux
>  application ever did that it's still waiting for the alarm and will be
>  for at least another century...
>  I'd say that makes it pretty certain that noone are doing or have been
>  doing that without spotting the problem somehow - apps with such a bug
>  are unlikely to be in production and actually working correctly.

We just don't know.  People do all sorts of things.

How about this?

	$ cat /etc/my-expensive-app.conf
	#
	# Interval polling timer.  Set this to -1 to disable
	#
	interval_polling_timer=-1

We just don't know.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux