The implementation of the clock_settime() system call emulation
is based on converting the timespec structure values from
target to host and then calling the clock_settime() syscall on
the host.
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.
Error handling was improved. host_to_target_itimerspec() was
invoked with arg2 passed instead of arg4.
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linu
and
now the syscall behaves appropriately in this situation.
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 03339ba..e6abfc5 100644
--- a
__get_user() and __put_user() have certain advantages over
tswapal(). There was also a previous commit for equivalent
change for converting structure timespec.
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.c | 39 +--
In this series the clock_gettime() was fixed to behave as intended when not
having valid arguments. The emulation for the system call clock_settime()
was added. Conversion of itimerspec structure and error handling in
timer_settime() syscall were corrected.
Dejan Jovicevic (4):
linux-user: fix
series the support for preadv and pwritev system call emulation
in linux-user mode is implemented.
Dejan Jovicevic (2):
linux-user: added support for preadv() system call.
linux-user: added support for pwritev() system call.
linux-user/syscall.c | 30 ++
1 file chang
. The input
arguments are converted to the appropriate host size when passed to
safe_preadv().
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
platforms. The input
arguments are converted to the appropriate host size when passed to
safe_pwritev().
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/sys
med.
This implementation is based on the existing writev implementation.
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index c7619f6..f34e255 100644
--
lls, as suggested.
As the result of these changes, the patch from the v1 that checks
the support of pwritev on the host is dropped.
In this series the support for preadv and pwritev system call emulation
in linux-user mode is implemented.
Dejan Jovicevic (2):
linux-user: added supp
med.
This implementation is based on the existing readv implementation.
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
linux-user/syscall.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 0815f30..c7619f6 100644
--- a/l
In this series the support for preadv and pwritev system call emulation
in linux-user mode is implemented. Also, the configure file is modified
to check if both of these system calls are supported on the host.
Dejan Jovicevic (3):
linux-user: detect pwritev support on configure
linux-user
This system call performs the same task as the readv system call,
with the exception of having the fourth argument, offset, which
specifes the file offset at which the input operation is to be performed.
This implementation is based on the existing readv implementation.
Signed-off-by: Dejan
This system call performs the same task as the writev system call,
with the exception of having the fourth argument, offset, which
specifes the file offset at which the input operation is to be performed.
This implementation is based on the existing writev implementation.
Signed-off-by: Dejan
Modified the configure file so that, during configuration, a check
is performed to determine if the system call pwritev is supported
by the host. The check for preadv support already exists.
Signed-off-by: Dejan Jovicevic <dejan.jovice...@rt-rk.com>
---
configur
15 matches
Mail list logo