commit | d53c57dca2ccb540cceb0b1a228f11e1325cecde | [log] [tgz] |
---|---|---|
author | Kumar Amit Mehta <gmate.amit@gmail.com> | Fri Nov 23 01:16:35 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 26 16:07:01 2012 -0800 |
tree | 7313040ccf9000665d6a26c565754ea571e4682a | |
parent | 3ba89e96610b85b5a2f3a146f65342e38af27a79 [diff] |
staging: dgrp: dgrp_tty.c: Audit the return values of get/put_user() 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>