History

mm: remove HARDENED_USERCOPY_FALLBACK

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.

Stephen Kitt committed 5 years ago

Commit 53944f11 parent 755804d6 files · +0 −52Browse files

Showing the changes to include (1 of 6 files). Show all

Unified · Split

include/linux/slab.h+0−2
@@ -142,8 +142,6 @@ struct mem_cgroup; · 141 unmodified lines
142142 void __init kmem_cache_init(void);
143143 bool slab_is_available(void);
144144
145−extern bool usercopy_fallback;
146−
147145 struct kmem_cache *kmem_cache_create(const char *name, unsigned int size,
148146 unsigned int align, slab_flags_t flags,
149147 void (*ctor)(void *));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t