itimer: Schedule silent NULL pointer fixup in setitimer() for removal
authorSasikantha babu <sasikanth.v19@gmail.com>
Wed, 18 Apr 2012 14:33:40 +0000 (19:33 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 14:33:40 +0000 (19:33 +0530)
commit936e9974baa74b661a90ebcc19b0dedb2672e5b5
tree7fe4058d9dc3b05ac1c273b7345ba0a07d4684e3
parent9e8172218b26784fb862af4b4cc1409164187af5
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>

Conflicts:

Documentation/feature-removal-schedule.txt

Change-Id: Id0920441c09d32cf8375e58afb955add51325df9
Documentation/feature-removal-schedule.txt
kernel/itimer.c