Lines Matching refs:to_user
72 void usercopy_warn(const char *name, const char *detail, bool to_user,
76 to_user ? "exposure" : "overwrite",
77 to_user ? "from" : "to",
84 bool to_user, unsigned long offset,
88 to_user ? "exposure" : "overwrite",
89 to_user ? "from" : "to",
118 unsigned long n, bool to_user)
125 usercopy_abort("kernel text", NULL, to_user, ptr - textlow, n);
143 usercopy_abort("linear kernel text", NULL, to_user,
148 bool to_user)
152 usercopy_abort("wrapped address", NULL, to_user, 0, ptr + n);
156 usercopy_abort("null address", NULL, to_user, ptr, n);
161 struct page *page, bool to_user)
177 if (!to_user)
178 usercopy_abort("rodata", NULL, to_user, 0, n);
209 usercopy_abort("spans multiple pages", NULL, to_user, 0, n);
215 NULL, to_user, 0, n);
218 to_user, 0, n);
224 bool to_user)
240 __check_heap_object(ptr, n, page, to_user);
243 check_page_span(ptr, n, page, to_user);
256 void __check_object_size(const void *ptr, unsigned long n, bool to_user)
266 check_bogus_address((const unsigned long)ptr, n, to_user);
282 usercopy_abort("process stack", NULL, to_user, 0, n);
286 check_heap_object(ptr, n, to_user);
289 check_kernel_text_object((const unsigned long)ptr, n, to_user);