.
Signed-off-by: Lena Djokic
---
configure| 20
linux-user/syscall.c | 126 +--
2 files changed, 142 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index fd6f898..56e6c98 100755
--- a/configure
+++ b/configure
Third argument represents lenght not second.
If second argument is NULL it should be passed without
using lock_user function which would, in that case, return
EFAULT, and system call supports passing NULL as second argument.
Signed-off-by: Lena Djokic
---
linux-user/syscall.c | 16
Mips64 uses generic flock structure.
See /arch/mips/include/uapi/asm/fcntl.h#L63 for reference.
Signed-off-by: Lena Djokic
---
linux-user/syscall_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 0b15466
Calculation of 64-bit offset was not correct for all cases.
Signed-off-by: Lena Djokic
---
linux-user/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 1b59a71..61c4126 100644
--- a/linux-user/syscall.c
+++ b/linux
v2: added 6 patches
This patch series contains implementation of support for
two new system calls, and fixes for 5 existing system calls,
and fix for a structure definition as well.
Lena Djokic (7):
linux-user: Add fanotify implementation
linux-user: Fix inotify_init1 support
linux-user
.
Signed-off-by: Lena Djokic
---
linux-user/syscall.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 41873ca..1b59a71 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -6544,14 +6544,18 @@ static abi_long
If fourth argument is NULL it should be passed without
using lock_user function which would, in that case, return
EFAULT, and system call supports passing NULL as fourth argument.
Signed-off-by: Lena Djokic
---
linux-user/syscall.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions
This commit adds necessary conversion of argument passed to inotify_init1.
inotify_init1 flags can be IN_NONBLOCK and IN_CLOEXEC which rely on O_NONBLOCK
and O_CLOEXEC and those can have different values on different platforms.
Signed-off-by: Lena Djokic
---
linux-user/syscall.c | 3 ++-
1 file
This commit adds necessary conversion of argument passed to inotify_init1().
inotify_init1() flags can be IN_NONBLOCK and IN_CLOEXEC which rely on O_NONBLOCK
and O_CLOEXEC and those can have different values on different platforms.
Signed-off-by: Lena Djokic
---
linux-user/syscall.c | 3 ++-
1