Re: [PATCH] coccicheck: add a test for repeat copy_from_user

2016-12-27 Thread Julia Lawall
I totally dropped the ball on this. Many thanks to Vaishali for resurrecting it. Some changes are suggested below. On Tue, 26 Apr 2016, Kees Cook wrote: > This is usually a sign of a resized request. This adds a check for > potential races or confusions. The check isn't 100% accurate, so it > n

Re: [PATCH] coccicheck: add a test for repeat copy_from_user

2016-04-26 Thread Kees Cook
On Tue, Apr 26, 2016 at 3:24 PM, Kees Cook wrote: > This is usually a sign of a resized request. This adds a check for > potential races or confusions. The check isn't 100% accurate, so it > needs some manual review. > > Signed-off-by: Kees Cook > --- > scripts/coccinelle/tests/reusercopy.cocci