staging: dgrp: dgrp_tty.c: Audit the return values of get/put_user()
authorKumar Amit Mehta <gmate.amit@gmail.com>
Thu, 22 Nov 2012 19:46:35 +0000 (01:16 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Nov 2012 00:07:01 +0000 (16:07 -0800)
fix for missing audits for return values of get_user() and put_user().
Inspecting the return values of get/put_user() would make the access_ok()
redundant, hence removing calls to access_ok() in such scenarios.

Signed-off-by: Kumar Amit Mehta <gmate.amit@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found