Messages in this thread | | | From | Denis Efremov <> | Subject | [PATCH v2 0/4] Update memdup_user.cocci | Date | Mon, 8 Jun 2020 18:00:34 +0300 |
| |
Add GFP_USER to the allocation flags and handle vmemdup_user(). The third patch supresses memdup_user(), vmemdup_user() functions detection. Last patch is a proof of concept for the rule selfchecking. Gives the ability to detect that an open-coded pattern in a function definition that we search for in the kernel sources changed.
Denis Efremov (4): coccinelle: api: extend memdup_user transformation with GFP_USER coccinelle: api: extend memdup_user rule with vmemdup_user() coccinelle: api: filter out memdup_user definitions coccinelle: api: add selfcheck for memdup_user rule
scripts/coccinelle/api/memdup_user.cocci | 106 ++++++++++++++++++++++- 1 file changed, 103 insertions(+), 3 deletions(-)
-- 2.26.2
| |