uaccess.c 347 B

123456789101112131415
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <linux/uaccess.h>
  3. unsigned long rust_helper_copy_from_user(void *to, const void __user *from,
  4. unsigned long n)
  5. {
  6. return copy_from_user(to, from, n);
  7. }
  8. unsigned long rust_helper_copy_to_user(void __user *to, const void *from,
  9. unsigned long n)
  10. {
  11. return copy_to_user(to, from, n);
  12. }