Re: [PATCH] staging: dgrp: dgrp_tty.c: Audit the return values ofget/put_user()

From: Dan Carpenter
Date: Mon Nov 19 2012 - 06:16:12 EST


On Mon, Nov 19, 2012 at 04:25:31PM +0530, Kumar Amit Mehta wrote:
> -- fix for missing audits for return values of get_user() and put_user().
> -- Remove the TIOCSSOFTCAR ioctl handling from dgrp driver.

These should be done in separate commits.

Are the calls to access_ok() still needed if we check get_user() and
put_user()?

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/