Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so only allow this flag in the original code. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Michal Marek <mmarek@suse.com> |
||
|---|---|---|
| .. | ||
| alloc | ||
| debugfs | ||
| d_find_alias.cocci | ||
| err_cast.cocci | ||
| kstrdup.cocci | ||
| memdup.cocci | ||
| memdup_user.cocci | ||
| platform_no_drv_owner.cocci | ||
| pm_runtime.cocci | ||
| ptr_ret.cocci | ||
| resource_size.cocci | ||
| setup_timer.cocci | ||
| simple_open.cocci | ||
| vma_pages.cocci | ||