2013-02-10 19:32:29 +01:00
|
|
|
From b65e49823eb767fd392eedc5fa4ba181f4760e66 Mon Sep 17 00:00:00 2001
|
2011-12-11 03:42:09 +01:00
|
|
|
From: Alexander Graf <agraf@suse.de>
|
|
|
|
Date: Sun, 11 Dec 2011 01:21:51 +0100
|
2012-02-01 00:10:40 +01:00
|
|
|
Subject: [PATCH] linux-user: be silent about capget failures
|
2011-12-11 03:42:09 +01:00
|
|
|
|
|
|
|
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 +-
|
2013-02-10 19:32:29 +01:00
|
|
|
1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
|
2011-12-11 03:42:09 +01:00
|
|
|
|
|
|
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
|
2013-02-10 19:32:29 +01:00
|
|
|
index 03b9f69..3db4e89 100644
|
2011-12-11 03:42:09 +01:00
|
|
|
--- a/linux-user/syscall.c
|
|
|
|
+++ b/linux-user/syscall.c
|
2013-02-10 19:32:29 +01:00
|
|
|
@@ -7616,7 +7616,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
2011-12-11 03:42:09 +01:00
|
|
|
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:
|