History

mm: remove usercopy_warn()

Users of usercopy_warn() were removed by commit 53944f171a89 ("mm: remove HARDENED_USERCOPY_FALLBACK") Remove it.

Christophe Leroy committed 4 years ago

Commit 6eada261 parent cb325dd2 files · +0 −13Browse files

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

Unified · Split

include/linux/uaccess.h+0−2
@@ -401,8 +401,6 @@ static inline void user_access_restore(unsigned long flags) { } · 400 unmodified lines
401401 #endif
402402
403403 #ifdef CONFIG_HARDENED_USERCOPY
404−void usercopy_warn(const char *name, const char *detail, bool to_user,
405− unsigned long offset, unsigned long len);
406404 void __noreturn usercopy_abort(const char *name, const char *detail,
407405 bool to_user, unsigned long offset,
408406 unsigned long len);

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