itimer: Schedule silent NULL pointer fixup in setitimer() for removal
authorSasikantha babu <sasikanth.v19@gmail.com>
Wed, 21 Mar 2012 14:40:54 +0000 (20:10 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 30 Mar 2012 13:43:33 +0000 (15:43 +0200)
commitaa2bf9bc6414b6972b9e51903c1ce7b1f057aee2
tree71bde0e8c10be9e425a5bba631a0fe033ba2245f
parentf52b69f86e27903d6896ed5fa7cd280fec8de532
itimer: Schedule silent NULL pointer fixup in setitimer() for removal

setitimer() should return -EFAULT if called with an invalid pointer
for value. The current code excludes a NULL pointer from this rule and
silently uses it to stop the timer. This violates the spec.

Warn about user space apps which rely on that feature and schedule it
for removal.

[ tglx: Massaged changelog, warn message and Doc entry ]

Signed-off-by: Sasikantha babu <sasikanth.v19@gmail.com>
Link: http://lkml.kernel.org/r/1332340854-26053-1-git-send-email-sasikanth.v19@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/feature-removal-schedule.txt
kernel/itimer.c