public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] timer_migration interface accepts any number as input in 2.6.30-git9
@ 2009-06-17  9:12 poornima nayak
  2009-06-17 10:21 ` Arun R Bharadwaj
  2009-06-17 10:41 ` [BUG] timer_migration interface accepts any number as input in 2.6.30-git9 Jaswinder Singh Rajput
  0 siblings, 2 replies; 7+ messages in thread
From: poornima nayak @ 2009-06-17  9:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: arun

Hi

Timer migration interface /proc/sys/kernel/timer_migration in
2.6.30-git9 accepts any numerical value as input.
Steps to reproduce 
1. echo -6666666 > /proc/sys/kernel/timer_migration
2. cat /proc/sys/kernel/timer_migration
-6666666

1. echo 44444444444444444444444444444444444444444444444444444444444 > /proc/sys/kernel/timer_migration
2. cat /proc/sys/kernel/timer_migration
-1357789412

Expected behavior: Should 'echo: write error: Invalid argument' while
setting any value other then 0 & 1

Regards
Poornima


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-23  8:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-17  9:12 [BUG] timer_migration interface accepts any number as input in 2.6.30-git9 poornima nayak
2009-06-17 10:21 ` Arun R Bharadwaj
2009-06-17 10:41   ` Amerigo Wang
2009-06-22 11:22   ` poornima nayak
2009-06-23  4:30     ` Arun R Bharadwaj
2009-06-23  8:51       ` [tip:timers/urgent] timers: Fix timer_migration interface which accepts any number as input tip-bot for Arun R Bharadwaj
2009-06-17 10:41 ` [BUG] timer_migration interface accepts any number as input in 2.6.30-git9 Jaswinder Singh Rajput

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox