44bce8debe
- add fixes for reserved_va mmap(NULL) case, fixes git build on arm OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=59
28 lines
969 B
Diff
28 lines
969 B
Diff
From 853112747ffa9a9747c670d36508b8f51fbaf798 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 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
|
index fd6ff1f..9ba51bf 100644
|
|
--- a/linux-user/syscall.c
|
|
+++ b/linux-user/syscall.c
|
|
@@ -7165,7 +7165,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:
|