[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 12/14] linux-user: syscall should use sanitized arg1
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 12/14] linux-user: syscall should use sanitized arg1 |
Date: |
Thu, 2 Jun 2011 13:53:47 +0200 |
Looking at the other architectures, we should be using "how" not "arg1".
Signed-off-by: Juan Quintela <address@hidden>
---
linux-user/syscall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f3d03b0..c90fcc2 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -7077,7 +7077,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
}
mask = arg2;
target_to_host_old_sigset(&set, &mask);
- sigprocmask(arg1, &set, &oldset);
+ sigprocmask(how, &set, &oldset);
host_to_target_old_sigset(&mask, &oldset);
ret = mask;
}
--
1.7.5.2
- Re: [Qemu-devel] [PATCH 05/14] linuxload: id_change was a write only variable, (continued)
- [Qemu-devel] [PATCH 07/14] alpha: fn2 was a write only variable, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 08/14] syscall: really return ret code, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 09/14] exec: last_first_tb was only used in !ONLY_USER case, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 11/14] linux-user: fpu_save_addr is not used, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 12/14] linux-user: syscall should use sanitized arg1,
Juan Quintela <=
- [Qemu-devel] [PATCH 14/14] lsi53c895a: current_dev is not used, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 13/14] alpha: disp12 is not used for USER emulation, Juan Quintela, 2011/06/02
- [Qemu-devel] [PATCH 10/14] mips: we really need the extra arguments, Juan Quintela, 2011/06/02
- Re: [Qemu-devel] [PATCH 00/14] More gcc 4.6 warnings fixes, Christophe Fergeau, 2011/06/02