Moved the user_memcpy()/strlcpy()/memset() calls to KernelExport.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9104 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fafe5b8bdb
commit
85f6117e32
@ -3,6 +3,7 @@
|
||||
#ifndef _SYSCALL_ARGS_H
|
||||
#define _SYSCALL_ARGS_H
|
||||
|
||||
#include <KernelExport.h>
|
||||
#include <vm.h>
|
||||
|
||||
// Hack to be able to use the IS_USER_ADDRESS macro when compiling for R5.
|
||||
|
@ -61,10 +61,6 @@ int vm_get_page_mapping(aspace_id aid, addr vaddr, addr *paddr);
|
||||
int vm_get_physical_page(addr paddr, addr *vaddr, int flags);
|
||||
int vm_put_physical_page(addr vaddr);
|
||||
|
||||
int user_memcpy(void *to, const void *from, size_t size);
|
||||
int user_strlcpy(char *to, const char *from, size_t size);
|
||||
int user_memset(void *s, char c, size_t count);
|
||||
|
||||
area_id _user_create_area(const char *name, void **address, uint32 addressSpec,
|
||||
size_t size, uint32 lock, uint32 protection);
|
||||
status_t _user_delete_area(area_id area);
|
||||
|
Loading…
Reference in New Issue
Block a user