History

maccess: remove strncpy_from_unsafe

All users are gone now.

Christoph Hellwig committed 6 years ago

Commit 7676fbf1 parent 9de1fec2 files · +1 −39Browse files

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

Unified · Split

include/linux/uaccess.h+0−1
@@ -311,7 +311,6 @@ extern long probe_user_read(void *dst, const void __user *src, size_t size); · 310 unmodified lines
311311 extern long notrace probe_kernel_write(void *dst, const void *src, size_t size);
312312 extern long notrace probe_user_write(void __user *dst, const void *src, size_t size);
313313
314−extern long strncpy_from_unsafe(char *dst, const void *unsafe_addr, long count);
315314 long strncpy_from_kernel_nofault(char *dst, const void *unsafe_addr,
316315 long count);
317316