mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-02 03:53:52 +08:00
kern_subr.c - Enable uiomove for rtems
This commit is contained in:
parent
5d21d7a2ff
commit
00ded52cbe
@ -139,6 +139,8 @@ retry:
|
||||
}
|
||||
#endif /* ZERO_COPY_SOCKETS */
|
||||
|
||||
#endif /* __rtems__ */
|
||||
|
||||
int
|
||||
uiomove(void *cp, int n, struct uio *uio)
|
||||
{
|
||||
@ -208,6 +210,7 @@ out:
|
||||
return (error);
|
||||
}
|
||||
|
||||
#ifndef __rtems__
|
||||
/*
|
||||
* Wrapper for uiomove() that validates the arguments against a known-good
|
||||
* kernel buffer. Currently, uiomove accepts a signed (n) argument, which
|
||||
|
Loading…
x
Reference in New Issue
Block a user