This has served its purpose and is no longer used. All usercopy violations appear to have been handled by now, any remaining instances (or new bugs) will cause copies to be rejected. This isn't a direct revert of commit 2d891fbc3bb6 ("usercopy: Allow strict enforcement of whitelists"); since usercopy_fallback is effectively 0, the fallback handling is removed too. This also removes the usercopy_fallback module parameter on slab_common.
Showing the changes to include (1 of 6 files). Show all
Unified · Split
| @@ -142,8 +142,6 @@ struct mem_cgroup; · 141 unmodified lines | ||
| 142 | 142 | void __init kmem_cache_init(void); |
| 143 | 143 | bool slab_is_available(void); |
| 144 | 144 | |
| 145 | −extern bool usercopy_fallback; | |
| 146 | − | |
| 147 | 145 | struct kmem_cache *kmem_cache_create(const char *name, unsigned int size, |
| 148 | 146 | unsigned int align, slab_flags_t flags, |
| 149 | 147 | void (*ctor)(void *)); |