10 lines
320 B
C
10 lines
320 B
C
#pragma once
|
|
|
|
#include <kernel/compiler.h>
|
|
#include <stddef.h>
|
|
#include <stdint.h>
|
|
|
|
bool arch_usercopy_read(uint8_t* dst, const __user uint8_t* src, size_t len);
|
|
bool arch_usercopy_write(__user uint8_t* dst, const uint8_t* src, size_t len);
|
|
bool arch_usercopy_strlen(const __user uint8_t* str, size_t max, size_t* len);
|