From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPW8v-00028k-Oa for qemu-devel@nongnu.org; Mon, 17 Mar 2014 07:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPW8r-0000uY-03 for qemu-devel@nongnu.org; Mon, 17 Mar 2014 07:55:45 -0400 Received: from afflict.kos.to ([92.243.29.197]:53354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPW8q-0000uI-PF for qemu-devel@nongnu.org; Mon, 17 Mar 2014 07:55:40 -0400 From: riku.voipio@linaro.org Date: Mon, 17 Mar 2014 13:55:31 +0200 Message-Id: <1395057331-12329-1-git-send-email-riku.voipio@linaro.org> Subject: [Qemu-devel] [PATCH] linux-user: don't warn on missing capget/capset List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Riku Voipio From: Riku Voipio some people get numerous unimplemented capget/capset warnings. Since qemu linux-user is not secure to begin with, just skip the system call warning for now. Proper capset/capget to be added in Qemu 2.1 Signed-off-by: Riku Voipio --- linux-user/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index e404a32..4bfa3db 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -7677,9 +7677,9 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, unlock_user(p, arg1, ret); break; case TARGET_NR_capget: - goto unimplemented; + goto unimplemented_nowarn; case TARGET_NR_capset: - goto unimplemented; + goto unimplemented_nowarn; case TARGET_NR_sigaltstack: #if defined(TARGET_I386) || defined(TARGET_ARM) || defined(TARGET_MIPS) || \ defined(TARGET_SPARC) || defined(TARGET_PPC) || defined(TARGET_ALPHA) || \ -- 1.8.5.3