[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] b9a0be: linux-user: remove ifdef __USER_MISC
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] b9a0be: linux-user: remove ifdef __USER_MISC |
Date: |
Thu, 16 Feb 2017 08:15:10 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: b9a0be9239ef58630c6b436ac7ed2cf0bc3a028d
https://github.com/qemu/qemu/commit/b9a0be9239ef58630c6b436ac7ed2cf0bc3a028d
Author: Riku Voipio <address@hidden>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M linux-user/strace.c
Log Message:
-----------
linux-user: remove ifdef __USER_MISC
This preprocessor macro isn't set anywhere. Remove
the check so -strace can show these options.
Signed-off-by: Riku Voipio <address@hidden>
Commit: 5fbf66e6a12314655f341d1b0b482215a68e2842
https://github.com/qemu/qemu/commit/5fbf66e6a12314655f341d1b0b482215a68e2842
Author: Riku Voipio <address@hidden>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M linux-user/mmap.c
Log Message:
-----------
linux-user: drop __cygwin__ ifdef
linux-user doesn't work on cygwin anyways.
Cc: Richard Henderson <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Commit: 6cde51769e75d41cade0a5b3755da0c20a96309a
https://github.com/qemu/qemu/commit/6cde51769e75d41cade0a5b3755da0c20a96309a
Author: Richard Henderson <address@hidden>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M linux-user/host/s390x/safe-syscall.inc.S
Log Message:
-----------
linux-user: Fix s390x safe-syscall for z900
The LT instruction was added in the extended immediate facility
introduced with the z9-109 processor.
Cc: Riku Voipio <address@hidden>
Reported-by: Michael Tokarev <address@hidden>
Fixes: c9bc3437a905b660561a26cd4ecc64579843267b
Suggested-by: Aurelien Jarno <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Commit: fea243e90a3647d8616317a5834497fa30a63700
https://github.com/qemu/qemu/commit/fea243e90a3647d8616317a5834497fa30a63700
Author: Lena Djokic <address@hidden>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user: Fix inotify_init1 support
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 <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Commit: 77c6850fd7412289122bc21f3b01310c014d98d4
https://github.com/qemu/qemu/commit/77c6850fd7412289122bc21f3b01310c014d98d4
Author: Lena Djokic <address@hidden>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user: Fix readahead
Calculation of 64-bit offset was not correct for all cases.
Signed-off-by: Lena Djokic <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Commit: 2640077527aef6f799215b336e1ed212843d3753
https://github.com/qemu/qemu/commit/2640077527aef6f799215b336e1ed212843d3753
Author: Lena Djokic <address@hidden>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user: Fix mq_open
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 <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Commit: a1488b8661a26a44ef132d973cbd11baa840a2dc
https://github.com/qemu/qemu/commit/a1488b8661a26a44ef132d973cbd11baa840a2dc
Author: Laurent Vivier <address@hidden>
Date: 2017-02-14 (Tue, 14 Feb 2017)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user: manage two new IFLA host message types
Add QEMU_IFLA_GSO_MAX_SEGS and QEMU_IFLA_GSO_MAX_SIZE
in host_to_target_data_link_rtattr().
These two messages are sent by the host kernel when
we use "sudo".
Found with qemu-m68k and Debian etch-m68k (sudo 1.6.8p12-4) and
host kernel 4.7.6-200.fc24.x86_64
Signed-off-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Commit: 3148ff84044bd909c10b9ffe511157b774fc709b
https://github.com/qemu/qemu/commit/3148ff84044bd909c10b9ffe511157b774fc709b
Author: John Paul Adrian Glaubitz <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/sh4/syscall_nr.h
Log Message:
-----------
linux-user: Update sh4 syscall definitions to match Linux 4.8
Signed-off-by: John Paul Adrian Glaubitz <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 23d208ce6da11679e8fa9ef69bae21d77bdc026e
https://github.com/qemu/qemu/commit/23d208ce6da11679e8fa9ef69bae21d77bdc026e
Author: John Paul Adrian Glaubitz <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/m68k/syscall_nr.h
Log Message:
-----------
linux-user: Update m68k syscall definitions to match Linux 4.6
Signed-off-by: John Paul Adrian Glaubitz <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 40c80b5e9e44dcf89a672ff02952368c75a3b07b
https://github.com/qemu/qemu/commit/40c80b5e9e44dcf89a672ff02952368c75a3b07b
Author: Marc-André Lureau <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/syscall.c
Log Message:
-----------
linux-user: fix settime old value location
old_value is the 4th argument of timer_settime(), not the 2nd.
Signed-off-by: Marc-André Lureau <address@hidden>
Signed-off-by: Pranith Kumar <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 35f2fd04ce8bd3eaad4b7790abb19fa2a56d7314
https://github.com/qemu/qemu/commit/35f2fd04ce8bd3eaad4b7790abb19fa2a56d7314
Author: Marc-André Lureau <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/mmap.c
Log Message:
-----------
linux-user: fix tcg/mmap test
tests/tcg/mmap test fails with values other than default target page
size. When creating a map beyond EOF, extra anonymous pages are added up
to the target page boundary. Currently, this operation is performed only
when qemu_real_host_page_size < TARGET_PAGE_SIZE, but it should be
performed if the configured page size (qemu -p) is larger than
qemu_real_host_page_size too.
Signed-off-by: Marc-André Lureau <address@hidden>
[pranith: dropped checkpatch changes]
Signed-off-by: Pranith Kumar <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 26920a2961f7cc86bfbdb2184c0ec261d5629c2f
https://github.com/qemu/qemu/commit/26920a2961f7cc86bfbdb2184c0ec261d5629c2f
Author: Jose Ricardo Ziviani <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/signal.c
Log Message:
-----------
linux-user: fill target sigcontext struct accordingly
A segfault is noticed when an emulated program uses any of ucontext
regs fields. Risu detected this issue in the following operation when
handling a signal:
ucontext_t *uc = (ucontext_t*)uc;
uc->uc_mcontext.regs->nip += 4;
but this works fine:
uc->uc_mcontext.gp_regs[PT_NIP] += 4;
This patch set regs to a valid location as well as other sigcontext
fields.
Signed-off-by: Jose Ricardo Ziviani <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 1e06262da615fcc0ddd658f96c5673a73b856fb6
https://github.com/qemu/qemu/commit/1e06262da615fcc0ddd658f96c5673a73b856fb6
Author: Peter Maydell <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/elfload.c
Log Message:
-----------
linux-user: Use correct types in load_symbols()
Coverity doesn't like the code in load_symbols() which assumes
it can use 'int' for a variable that might hold an offset into
the guest ELF file, because in a 64-bit guest that could
overflow. Guest binaries with 2GB sections aren't very likely
and this isn't a security issue because we fully trust the
guest linux-user binary anyway, but we might as well use the
right types, which will placate Coverity. Use uint64_t to
hold section sizes, and bail out if the symbol table is too
large rather than just overflowing an int.
(Coverity issue CID1005776)
Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 21992cb6794a5f8edb0cee01bdfe0b03d0438dac
https://github.com/qemu/qemu/commit/21992cb6794a5f8edb0cee01bdfe0b03d0438dac
Author: Helge Deller <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/ioctls.h
M linux-user/syscall_defs.h
M linux-user/syscall_types.h
Log Message:
-----------
linux-user: Add FICLONE and FICLONERANGE ioctls
Add missing FICLONE and FICLONERANGE ioctls.
Signed-off-by: Helge Deller <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
Commit: 7a37b59f1d28e4b4c0f99f49aa305a59986f6643
https://github.com/qemu/qemu/commit/7a37b59f1d28e4b4c0f99f49aa305a59986f6643
Author: Peter Maydell <address@hidden>
Date: 2017-02-16 (Thu, 16 Feb 2017)
Changed paths:
M linux-user/elfload.c
M linux-user/host/s390x/safe-syscall.inc.S
M linux-user/ioctls.h
M linux-user/m68k/syscall_nr.h
M linux-user/mmap.c
M linux-user/sh4/syscall_nr.h
M linux-user/signal.c
M linux-user/strace.c
M linux-user/syscall.c
M linux-user/syscall_defs.h
M linux-user/syscall_types.h
Log Message:
-----------
Merge remote-tracking branch
'remotes/vivier2/tags/linux-user-for-upstream-pull-request' into staging
# gpg: Signature made Thu 16 Feb 2017 14:35:46 GMT
# gpg: using RSA key 0xF30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <address@hidden>"
# gpg: aka "Laurent Vivier <address@hidden>"
# gpg: aka "Laurent Vivier (Red Hat) <address@hidden>"
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F 5173 F30C 38BD 3F2F BE3C
* remotes/vivier2/tags/linux-user-for-upstream-pull-request:
linux-user: Add FICLONE and FICLONERANGE ioctls
linux-user: Use correct types in load_symbols()
linux-user: fill target sigcontext struct accordingly
linux-user: fix tcg/mmap test
linux-user: fix settime old value location
linux-user: Update m68k syscall definitions to match Linux 4.6
linux-user: Update sh4 syscall definitions to match Linux 4.8
linux-user: manage two new IFLA host message types
linux-user: Fix mq_open
linux-user: Fix readahead
linux-user: Fix inotify_init1 support
linux-user: Fix s390x safe-syscall for z900
linux-user: drop __cygwin__ ifdef
linux-user: remove ifdef __USER_MISC
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/ca5266de6cde...7a37b59f1d28
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] b9a0be: linux-user: remove ifdef __USER_MISC,
GitHub <=