SHA256
1
0
forked from pool/qemu
qemu/0013-linux-user-be-silent-about-capget-f.patch
Andreas Färber 49c99eebef Accepting request 184936 from home:a_faerber:branches:Virtualization
Update to v1.6.0-rc0, fixing build regression against latest Base:System dtc for SLE_11_SP2 ppc64 reported by k0da

OBS-URL: https://build.opensuse.org/request/show/184936
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=149
2013-07-30 12:36:48 +00:00

28 lines
963 B
Diff

From 93714be3c1587237bd68468da2c61c101fdc4439 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Sun, 11 Dec 2011 01:21:51 +0100
Subject: [PATCH] linux-user: be silent about capget failures
Complaining about capget doesn't buy us anything, but makes %check
fail in certain builds. So better not complain about its missing
implementation and go on with life :)
Signed-off-by: Alexander Graf <agraf@suse.de>
---
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 eda4455..628fe66 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -7609,7 +7609,7 @@ 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;
case TARGET_NR_sigaltstack: