Messages in this thread | | | From | Denis Efremov <> | Subject | [PATCH v3 0/3] Update memdup_user.cocci | Date | Mon, 20 Jul 2020 19:22:13 +0300 |
| |
Add GFP_USER to the allocation flags and handle vmemdup_user().
Changes in v2: - memdup_user/vmemdup_user matching suppressed - PoC for selfcheck virtual rule Changes in v3: - add missing '-' for patch rule in kmalloc/kzalloc call args - selfcheck rule dropped from patchset
Denis Efremov (3): 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
scripts/coccinelle/api/memdup_user.cocci | 64 ++++++++++++++++++++++-- 1 file changed, 61 insertions(+), 3 deletions(-)
-- 2.26.2
| |