HomeSort by relevance Sort by last modified time
    Searched defs:VERIFY_READ (Results 1 - 4 of 4) sorted by null

  /development/ndk/platforms/android-3/header-patches/include/asm/
uaccess.h 9 #define VERIFY_READ 0
  /development/ndk/platforms/android-3/arch-arm/include/asm/
uaccess.h 21 #define VERIFY_READ 0
  /development/ndk/platforms/android-9/arch-x86/include/asm/
uaccess_32.h 27 #define VERIFY_READ 0
  /development/ndk/platforms/android-9/arch-mips/include/asm/
uaccess.h 36 #define VERIFY_READ 0
60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __user * __gu_ptr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) __get_user_common((x), size, __gu_ptr); __gu_err; })
87 #define copy_from_user(to, from, n) ({ void *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (access_ok(VERIFY_READ, __cu_from, __cu_len)) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })
90 #define copy_in_user(to, from, n) ({ void __user *__cu_to; const void __user *__cu_from; long __cu_len; might_sleep(); __cu_to = (to); __cu_from = (from); __cu_len = (n); if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && access_ok(VERIFY_WRITE, __cu_to, __cu_len))) __cu_len = __invoke_copy_from_user(__cu_to, __cu_from, __cu_len); __cu_len; })

Completed in 190 milliseconds