From nobody Fri Apr 19 19:35:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528801423266579.8399900592392; Tue, 12 Jun 2018 04:03:43 -0700 (PDT) Received: from localhost ([::1]:54489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh5M-00072L-BE for importer@patchew.org; Tue, 12 Jun 2018 07:03:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh0l-0003Ru-Q0 for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh0i-0007B9-VJ for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:51 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:45725) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh0i-0007AC-MC for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:48 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M5c8C-1gCqZQ3oXg-00xam1; Tue, 12 Jun 2018 12:58:37 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:24 +0200 Message-Id: <20180612105831.25703-2-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:sGO6qf86zbJiNFp0f5+VbsbMG6wqZxFU8XiT7Rzz6lswiwtznym jajogc4CgfV0EVDSFbZ823zszR2F+ZKOb5V1WHRACsVWTLD2miuGqISyRQpt9gp0JWCRVFE Fxa+QUfmyTSw5iA9T8OP4NhzXpFLS9TrJaoxd5owvJcsA6K8dUA6Wd90f+d3QNyR6HBhfMc AxiGNhbp7n4Rfh7mePu0Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:i9sOSL0NMxc=:osK7gzNgRyFQHZpG+gUpYy XL7doHuSN2t0SO9dWet+ILQxExMYyFQRcQ2WYQf5X3XILnG3LVPFdBIWm4vsvkw24oQ4/n/7S kTi7LZs9IcMRVANmAnPKjOvf9oxYfLu7WifC5ems2OSpNBkmYZIump4m0Iq97amezG3ykWtct q3qkjhNKK7kWLbX+0Nzr6GOxsQk99DimdYqwiV3ZyGrsW8gyuJBc1kutMh/D/f7VfFUI17Dtu gF4niB8Tf9F3twvF6utI3rgi4DTFzLDo2GSkuXWBieAP2C2hWIrM+9Y8scP+lK7dhCbOb+D/b 92Da0wEVt9O9NOKn89ef5Iw9Us7xtWcseNjpu8DeJq47GZkBERcp7fcioi3BpWL1k6vUTyyrd k9GI9BXrFmdK+m9eMog2HY5K3nCnodUbdTHLOjda+ZXoix7yBhMMAaDmsmCDxspup9sdgNc25 8w2qe4Ci6IQl14fNY6oD5qc7fYQVR3gMOvPA7wGTDAqV0NJBVCGtS1dzE311vQTsEdOtjYmrI T4NtooJe6LvC8ppboGSK78GTW2yncAcG+6mul3beVkutevZwGJl8t/Vc5teu5v+olzHNf9NRW ESgKVm6poj6G3vBR6Jv4+a1D5jTZU7URou6TWahEgFYsGwSLmIfoJWSI65LKmFDH224tAkGA/ a44ytmIO+FpTbj269Cv5c5pVzGGbwUU8FtPWVEysN2LFQX9sV32Ip9175GzMmICYv6/khAyDL h7wNZOvx1dtCKzcG X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 1/8] linux-user: Export use is_error(), use it to avoid warnings X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 From: Philippe Mathieu-Daud=C3=A9 This fixes: linux-user/flatload.c:740:9: warning: Loss of sign in implicit conversion if (res > (unsigned long)-4096) ^~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Message-Id: <20180604153722.24956-2-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- linux-user/qemu.h | 5 +++++ linux-user/syscall.c | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 6fa1e968db..793cd4df04 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -618,6 +618,11 @@ static inline void *lock_user_string(abi_ulong guest_a= ddr) =20 #include =20 +static inline int is_error(abi_long ret) +{ + return (abi_ulong)ret >=3D (abi_ulong)(-4096); +} + /* Include target-specific struct and function definitions; * they may need access to the target-independent structures * above, so include them last. diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 7b9ac3b408..2117fb13b4 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -906,11 +906,6 @@ static inline abi_long get_errno(abi_long ret) return ret; } =20 -static inline int is_error(abi_long ret) -{ - return (abi_ulong)ret >=3D (abi_ulong)(-4096); -} - const char *target_strerror(int err) { if (err =3D=3D TARGET_ERESTARTSYS) { --=20 2.14.4 From nobody Fri Apr 19 19:35:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528801282415359.1129414998063; Tue, 12 Jun 2018 04:01:22 -0700 (PDT) Received: from localhost ([::1]:54476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh3B-0005EP-Ef for importer@patchew.org; Tue, 12 Jun 2018 07:01:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh1E-0003q5-VS for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh1A-0007Nq-4z for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:21 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:37433) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh19-0007NK-RO for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:16 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MP3gp-1fMNTe1r9T-006S9e; Tue, 12 Jun 2018 12:58:37 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:25 +0200 Message-Id: <20180612105831.25703-3-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:UTRBZyPvnCS5BAg/NReWI7PgjUtHTgbGFj3pjBZhxyigQRYU/cD /UupPFZOVlfL8dTg4r9GKtD6xZcc7VQF3z2KJqmBi1JmOYoPD+I1D1AXbHS9bOyQXePrAE2 rYLxEfFB6bHg32Hl/UMSQ0o6soQ/IWu9zAcBSNHq7xEyTHCAeDOUra91+tOOZNpY9ag+Rqy 7YurYCxhClQHJYb3iJRjg== X-UI-Out-Filterresults: notjunk:1;V01:K0:zBh+JfGeNTE=:ja3ERJsFAte9TKsQLfHEWD XtwpaFWEUTEPqgnp9fuI8W0M7gPZnpr/WyAk+cAOFRPv5IJsVBr/nMlOMFfryolV5XDbV+B0i TsKEYzZJqMaT5alHt5kOKHg1Jqm1UUGuPqzxGwoIy8Ow/BjlYCA7R7KiPxlJNa9p2qZOEgtu9 OrHqTIw6doq59AvjeTLm2S3HrMjzOrxQIuGLmx9SaD7/1cteL32RM/XeVSR9LpnhLxM3aXqjq 8hxVMgDG9WV8k2HVl8IyJLyEth7LgPNPV95ZMFNcL6PpedUgDf/slR+FTidurzLbKk2l9bGJy u/5RoD32ogXnYJ51j238Wmtyx6kok4CzmwQyLCcTp2WcvpfO4S/O/HwQk4s0JG2ns3w72SH57 hgcbo4MQBN/q4bXooOarxWz3kPMgR5tSupq+rr+43/saLnFkCoTSsxuFU986ZIvI902eRT3Xe 4omZqDy7OtRV2HGlffjJeC3ZWMS6zoayZIkd1gu2akmT8MtGpc6t+VOl1KEzXSMHrvyf6Fydw A1DDmX4rJs4Vgua9WM6Kpqj0m72NLzK9PdNk3655oYG93oqvgoodgeUMlyg+1araTz4WR5v2D YdctPqlQbvK0cGqrvMz9Kk8zLicHBxSIhYQ1eceKxH4H9gjQ8O+wf304kqKmKri7btncc7Cjm d5dWM0kGEqsux/QwCWaNAClNv29h8Zgju/S04cKEPadanNo5/OwQivsLp91AEqIGC0zsQkHv4 Aaa3qLOE/pQlAOlv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 2/8] linux-user: Use is_error() to avoid warnings and make the code clearer X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 From: Philippe Mathieu-Daud=C3=A9 This fixes: linux-user/flatload.c:740:9: warning: Loss of sign in implicit conversion if (res > (unsigned long)-4096) ^~~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Message-Id: <20180604153722.24956-3-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- linux-user/flatload.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/linux-user/flatload.c b/linux-user/flatload.c index a35a560904..10c529910f 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c @@ -224,8 +224,9 @@ static int decompress_exec( ret =3D bprm->file->f_op->read(bprm->file, buf, LBUFSIZE, &fpos); if (ret <=3D 0) break; - if (ret >=3D (unsigned long) -4096) + if (is_error(ret)) { break; + } len -=3D ret; =20 strm.next_in =3D buf; @@ -283,8 +284,7 @@ calc_reloc(abi_ulong r, struct lib_info *p, int curid, = int internalp) "in same module (%d !=3D %d)\n", (unsigned) r, curid, id); goto failed; - } else if ( ! p[id].loaded && - load_flat_shared_library(id, p) > (unsigned long) -409= 6) { + } else if (!p[id].loaded && is_error(load_flat_shared_library(id, = p))) { fprintf(stderr, "BINFMT_FLAT: failed to load library %d\n", id= ); goto failed; } @@ -523,9 +523,10 @@ static int load_flat_file(struct linux_binprm * bprm, fpos =3D 0; result =3D bprm->file->f_op->read(bprm->file, (char *) textpos, text_len, &fpos); - if (result < (unsigned long) -4096) + if (!is_error(result)) { result =3D decompress_exec(bprm, text_len, (char *= ) datapos, data_len + (relocs * sizeof(unsig= ned long)), 0); + } } else #endif @@ -693,8 +694,9 @@ static int load_flat_shared_library(int id, struct lib_= info *libs) =20 res =3D prepare_binprm(&bprm); =20 - if (res <=3D (unsigned long)-4096) + if (!is_error(res)) { res =3D load_flat_file(&bprm, libs, id, NULL); + } if (bprm.file) { allow_write_access(bprm.file); fput(bprm.file); @@ -737,8 +739,9 @@ int load_flt_binary(struct linux_binprm *bprm, struct i= mage_info *info) =20 =20 res =3D load_flat_file(bprm, libinfo, 0, &stack_len); - if (res > (unsigned long)-4096) + if (is_error(res)) { return res; + } =20 /* Update data segment pointers for all libraries */ for (i=3D0; i Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528801244256389.0436796816981; Tue, 12 Jun 2018 04:00:44 -0700 (PDT) Received: from localhost ([::1]:54469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh2S-0004aX-HQ for importer@patchew.org; Tue, 12 Jun 2018 07:00:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh0l-0003Rt-PS for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh0i-0007Az-QG for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:51 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:36967) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh0i-0007A6-FB for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:48 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MJYS7-1fPfni3ixf-0038EU; Tue, 12 Jun 2018 12:58:38 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:26 +0200 Message-Id: <20180612105831.25703-4-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> X-Provags-ID: V03:K1:Lnumqric8o/8llRfLfz8TiILCkZiqzildNpoMziBYC11GUTYNcD KFZFoaE+rHkKiO+7ckQK4YPZljpmGnzWgznANgMKCqLXCXzGFZYXG/35YgwolOJC9SM1DQh zgQeqbyZVrqwijPORh9SRahT0QdOXrYAK6wSlN613HEwd3R8p/zhg3HIgDUY7E3xqn+LgTd NQ//Mk5Mc4VLqds8jtPQA== X-UI-Out-Filterresults: notjunk:1;V01:K0:KNynux5wjQg=:L8J0hwF/SJKrhwWhsTdA8Q RZRRlSvA9sNrU9c6RDw31UAG3tYsS+ag5MYMzFlhb0GImOPnKwuaIbSw1i60f9S41gGgKa8Kn ze449ylmo/0nCISC/G5LzFoRkziioJDU/GajQhteZtJ/x+GcHJeLKEpOeTTi0Jms2DG3q3TJG /m/Xa9bsbKIDo0t4LPOe84Ziq92x2JzznovCSlhzoCNW9xR+Ziccb+yeIqoSc6V7ZB39Vc186 OFcUnQ8XmYG5zG183r3TU+76ex8dh+lcPX6yrEElYkukOUAVp6lB1gGlNfwDbXRSH9SvrS2kH w2L+Th1eGNmV89ZuVz6+uU79OPU4PwEf8cls6IdnSQqDL0P+OLa248GPUxetVgabaMyWTn7hM kNvqAoVzJdGxiOSgseNA7XWr00fvDe17Hx3LcF0DZUtNuJ+zMF3IiD/XtF7EFgIL0FMTMZhZ/ JwOpB7R4vGzTJpI7hJ+VvYuoRU4NMFw9o3Bj4VihUR7OYB5ECskoyYAp6No7MpOwojaz7KK40 7fohEAeMWBm3KiuhEZpAoW0ZUAFKvQYSyPtDGy1Kjk6L3N4b8UFlrEoXaI9F0IZcclfUO9nU0 QWR5GwEjQHFF3lauGkJIkCFE3r2H85wZj8RTzTpRASdny4F9pWT0VU8dC2MQuB0R0/ro/h4NO Ywa7b6tXsigomj2JRieyuVWgW9z1bbADP7+Xc8M97DlQDcD0yGyNNwfad9VGVWc9m6Fs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 3/8] linux-user: disable qemu-bridge-helper and socket_scm_helper build X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" linux-user targets don't need them, and if we ask to build statically linked binaries, some static libraries they need are not available. Signed-off-by: Laurent Vivier Reviewed-by: Peter Maydell Message-Id: <20180605160958.5434-1-laurent@vivier.eu> --- Makefile | 2 +- tests/Makefile.include | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 023b3437ec..e4bc34a1cb 100644 --- a/Makefile +++ b/Makefile @@ -351,7 +351,7 @@ $(call set-vpath, $(SRC_PATH)) =20 LIBS+=3D-lz $(LIBS_TOOLS) =20 -HELPERS-$(CONFIG_LINUX) =3D qemu-bridge-helper$(EXESUF) +HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) =3D qemu-bridge-hel= per$(EXESUF) =20 ifdef BUILD_DOCS DOCS=3Dqemu-doc.html qemu-doc.txt qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8 diff --git a/tests/Makefile.include b/tests/Makefile.include index d098a104bb..10397ed159 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -930,7 +930,7 @@ check-report.html: check-report.xml =20 # Other tests =20 -QEMU_IOTESTS_HELPERS-$(CONFIG_LINUX) =3D tests/qemu-iotests/socket_scm_hel= per$(EXESUF) +QEMU_IOTESTS_HELPERS-$(call land,$(CONFIG_SOFTMMU),$(CONFIG_LINUX)) =3D te= sts/qemu-iotests/socket_scm_helper$(EXESUF) =20 .PHONY: check-tests/qemu-iotests-quick.sh check-tests/qemu-iotests-quick.sh: tests/qemu-iotests-quick.sh qemu-img$(E= XESUF) qemu-io$(EXESUF) $(QEMU_IOTESTS_HELPERS-y) --=20 2.14.4 From nobody Fri Apr 19 19:35:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528801246575996.8358676503085; Tue, 12 Jun 2018 04:00:46 -0700 (PDT) Received: from localhost ([::1]:54472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh2W-0004du-Dh for importer@patchew.org; Tue, 12 Jun 2018 07:00:40 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh0n-0003S8-61 for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh0l-0007Cy-UO for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:53 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:53633) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh0l-0007CH-K8 for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:51 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MaoDm-1fhcI81Lzu-00KO8R; Tue, 12 Jun 2018 12:58:38 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:27 +0200 Message-Id: <20180612105831.25703-5-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> X-Provags-ID: V03:K1:Z5fg4M3lfpTf+JWo9cLez2X+aiGgh6+E90m4yg3GSP9Oik8Miav rVgpQ/MWFUSnoo6Nbk7//NZQmhr6oGDfhfkb5B+dbjvadL6hKbem/JOnzhdnADpmEI//OCg 6UtecMb2qKw19uXOEM2QAhy02n6nAGlMrLKV9vpw6YvIyrIwSQtAHvpyppw2SZ4aLTEroH/ JJEKsQ+BzDgIEurRd8weA== X-UI-Out-Filterresults: notjunk:1;V01:K0:7CXteKjbjE8=:R0qC/QWcHxGaPHVx3/KzDW /LcQmvi6mPsvqDEDxzcRbNPlpD0GLwCGzyzpDOiAE8OUzfGAEZI0kG0TJZGVBW+xSNGQ+Iw0T APNQl+JI3lkQe6WJRX/YighHhHB3Zk9tB9gc1S/P0mThHgkOKyMs+SKpBmuMZwZqqpCzMAXsF YfX8aVHPBn72sSqy149n9fDzy5nVZwrDByWzAJpefxVQeyqAmX4VfTlJYm+B0rIFmgIP8yqaW SRWWeT8UNr9VUwMD74wBJWQxlI/BkvjzVKUhcOkczaOCPLXJbIq6k6WYNu1ty5kastYncxXFx sNzTHuel/rESK1QClHpfQCZSl2DUozS5UDM3ydciujO5+n5s59auj9e00+QEFPVpT3/ASUsuc nm12q39XGX+d9x4EtBz7YtItlqMnujKhh1jNYSrcjnZvwrH89R7vaVXHaieGmqVDaeIoQ6e5M jrf4fyWMRZK49rZkV1AWkVXgB6DBo0AonySPiSVkwAUyJGo9l4CtVabYT1AZJovvRJaH1UiyL zhVKcDY0GWp4z/+6bRsDBS0P9lkXS00B6FvTgij3abFpci1/WC77Y+1ZUEBbn2lKlUYvqviXv Q2dut/4h3IJR13evBmKWnc0BaclYNcQoO3JGCNA51+Eu2rT6IuqwbETnWgQQx0j6vnRctN+nK HSs1LTvoGpoPh/ExhErU5TPxx6Qo4L30pZiW3dj0twrRhLObLjp/4/6YCKNf/UADnu/Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 4/8] qemu-binfmt-conf.sh: ignore the OS/ABI field X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Most of the binaries have a value of "UNIX - System V" for the OS/ABI. But cc1 has a value of "UNIX - GNU", and if we don't update the binfmt mask to ignore the OS/ABI field, gcc fails to execute it: gcc: error trying to exec '/usr/lib/gcc/m68k-linux-gnu/7/cc1': execv: Exec = format error Signed-off-by: Laurent Vivier Reviewed-by: Richard Henderson Message-Id: <20180605194725.8585-1-laurent@vivier.eu> --- scripts/qemu-binfmt-conf.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index 7ab7435fbd..d7eefda0b8 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -7,15 +7,15 @@ mips mipsel mipsn32 mipsn32el mips64 mips64el \ sh4 sh4eb s390x aarch64 aarch64_be hppa riscv32 riscv64 xtensa xtensaeb mi= croblaze microblazeel" =20 i386_magic=3D'\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\= x00\x03\x00' -i386_mask=3D'\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\= xff\xfe\xff\xff\xff' +i386_mask=3D'\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\= xff\xfe\xff\xff\xff' i386_family=3Di386 =20 i486_magic=3D'\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\= x00\x06\x00' -i486_mask=3D'\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\= xff\xfe\xff\xff\xff' +i486_mask=3D'\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff\= xff\xfe\xff\xff\xff' i486_family=3Di386 =20 alpha_magic=3D'\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02= \x00\x26\x90' -alpha_mask=3D'\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xfe\xff\xff\xff' +alpha_mask=3D'\xff\xff\xff\xff\xff\xfe\xfe\x00\xff\xff\xff\xff\xff\xff\xff= \xff\xfe\xff\xff\xff' alpha_family=3Dalpha =20 arm_magic=3D'\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x= 00\x28\x00' @@ -27,11 +27,11 @@ armeb_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\= xff\xff\xff\xff\xff\xff\xff armeb_family=3Darmeb =20 sparc_magic=3D'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00= \x02\x00\x02' -sparc_mask=3D'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xfe\xff\xff' +sparc_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xfe\xff\xff' sparc_family=3Dsparc =20 sparc32plus_magic=3D'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x= 00\x00\x02\x00\x12' -sparc32plus_mask=3D'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x= ff\xff\xff\xff\xfe\xff\xff' +sparc32plus_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\x= ff\xff\xff\xff\xfe\xff\xff' sparc32plus_family=3Dsparc =20 ppc_magic=3D'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x= 02\x00\x14' @@ -47,7 +47,7 @@ ppc64le_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\= xff\xff\xff\xff\xff\xff\x ppc64le_family=3Dppcle =20 m68k_magic=3D'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\= x02\x00\x04' -m68k_mask=3D'\xff\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\= xff\xff\xfe\xff\xff' +m68k_mask=3D'\xff\xff\xff\xff\xff\xff\xfe\x00\xff\xff\xff\xff\xff\xff\xff\= xff\xff\xfe\xff\xff' m68k_family=3Dm68k =20 # FIXME: We could use the other endianness on a MIPS host. @@ -77,15 +77,15 @@ mips64el_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\x= ff\xff\xff\xff\xff\xff\xff\ mips64el_family=3Dmips =20 sh4_magic=3D'\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x= 00\x2a\x00' -sh4_mask=3D'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x= ff\xfe\xff\xff\xff' +sh4_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\x= ff\xfe\xff\xff\xff' sh4_family=3Dsh4 =20 sh4eb_magic=3D'\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00= \x02\x00\x2a' -sh4eb_mask=3D'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xfe\xff\xff' +sh4eb_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xfe\xff\xff' sh4eb_family=3Dsh4 =20 s390x_magic=3D'\x7fELF\x02\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00= \x02\x00\x16' -s390x_mask=3D'\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xfe\xff\xff' +s390x_mask=3D'\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff= \xff\xff\xfe\xff\xff' s390x_family=3Ds390x =20 aarch64_magic=3D'\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x= 02\x00\xb7\x00' --=20 2.14.4 From nobody Fri Apr 19 19:35:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528801249406988.4755928535399; Tue, 12 Jun 2018 04:00:49 -0700 (PDT) Received: from localhost ([::1]:54471 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh2V-0004d0-Nt for importer@patchew.org; Tue, 12 Jun 2018 07:00:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh0o-0003SU-JR for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh0m-0007Dd-TO for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:54 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:48159) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh0m-0007Cq-IS for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:52 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M6ydl-1gDeqx3XQT-00wlpE; Tue, 12 Jun 2018 12:58:39 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:28 +0200 Message-Id: <20180612105831.25703-6-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> X-Provags-ID: V03:K1:oOKE1MKTHUyBC4H/nTDC0//s239wcJwBi/xx+x4GoFQuHGpKY92 GRILmb8RUct9E8eUguHy0fd2yh8Vhrv9jPm770w94jeTzfrF2tJaCfzr4BkYv74T0GGmC0R 7XxD0e1Su+G+fKe0STaSuwbSbNaZF3IEhhO0cQz6ClX/56tQKB2XrPmZfwGVL8tWc9o88WS BD/XF7rcwfxlyDuRHWXkg== X-UI-Out-Filterresults: notjunk:1;V01:K0:jhw9VF2oNm8=:0L6476BOgerk2fgodsF2eW 4Zu0z//oBLeZ4GCRPEvHw2odxFnqqqmIdwg4CSV0T/wBJEBgpUe/xGmdwSLLvjcndeCOpEYi3 M3asRiIxAvgJ8ObcfeCsfhws7QMovxUlCmA9mbOrwM/5hkJiSBjxz9snPKp6YxAKdy+GZx6+h ghpIj+hw8s+MJ9cUDwYTPavP3b0Fxi14AK49TUm0pPpPuq9UX8fWo55+A58PbXkLSzeykOvD9 OMeyQm1IgQrYwLoTniohsIwzSbuy/ukHTel0e7tWjjWt9vkh7/Oez8PRHL2DkVqRRgEw7u3k9 +zGPVLO2JMQyqdmm41iKJXMUpNfn6fmW61dyOe1ut/Ouh7p9/7jT7sPr8tM2NYf1kIZXa2lXv pa0tLkWnwsl9Zjim4nAEOh2Ex8lv1IyFkGNcujfii7sSpkJt8iOVjZgCzEIVLODS1a+cK/GWD sB0cTb9gtcNwmzGa4KVaZHwkuNrHJ1XT+FbGzPyDPDuq13oC2APDD+B1wxyjxLxG7Jnzskk1C RdFj0Nqnt5qv2m/fSuMklOx6kOu0VHfmh4LAbsgE3jxvVzutQSkepwbRVVp0sKpx2TMTxo8uu 0d6GXMB+8YoEisMX1muq0OXMRsjpRBFiDM5MhuoVf02xMWPMyTH3l5CEtqzoIrSzLrbGQJ2iL wusPTs4EZXtf6h8o3Wo41hVeS+7fKFCCnuMXYpfsHUbtFEAi/hkE7XacBEMQbeOYh8GM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.135 Subject: [Qemu-devel] [PULL 5/8] linux-user/alpha: Fix epoll syscalls X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Richard Henderson These were named incorrectly, going so far as to invade strace.list. Signed-off-by: Richard Henderson Reviewed-by: Laurent Vivier Message-Id: <20180607184844.30126-2-richard.henderson@linaro.org> [lv: replace tabs by spaces] Signed-off-by: Laurent Vivier --- linux-user/alpha/syscall_nr.h | 6 +++--- linux-user/strace.list | 9 --------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/linux-user/alpha/syscall_nr.h b/linux-user/alpha/syscall_nr.h index 00e14bb6b3..fbb1ed288b 100644 --- a/linux-user/alpha/syscall_nr.h +++ b/linux-user/alpha/syscall_nr.h @@ -343,9 +343,9 @@ #define TARGET_NR_io_cancel 402 #define TARGET_NR_exit_group 405 #define TARGET_NR_lookup_dcookie 406 -#define TARGET_NR_sys_epoll_create 407 -#define TARGET_NR_sys_epoll_ctl 408 -#define TARGET_NR_sys_epoll_wait 409 +#define TARGET_NR_epoll_create 407 +#define TARGET_NR_epoll_ctl 408 +#define TARGET_NR_epoll_wait 409 #define TARGET_NR_remap_file_pages 410 #define TARGET_NR_set_tid_address 411 #define TARGET_NR_restart_syscall 412 diff --git a/linux-user/strace.list b/linux-user/strace.list index a91e33f7e5..2bc5ba04d4 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1467,15 +1467,6 @@ #ifdef TARGET_NR__sysctl { TARGET_NR__sysctl, "_sysctl" , NULL, NULL, NULL }, #endif -#ifdef TARGET_NR_sys_epoll_create -{ TARGET_NR_sys_epoll_create, "sys_epoll_create" , NULL, NULL, NULL }, -#endif -#ifdef TARGET_NR_sys_epoll_ctl -{ TARGET_NR_sys_epoll_ctl, "sys_epoll_ctl" , NULL, NULL, NULL }, -#endif -#ifdef TARGET_NR_sys_epoll_wait -{ TARGET_NR_sys_epoll_wait, "sys_epoll_wait" , NULL, NULL, NULL }, -#endif #ifdef TARGET_NR_sysfs { TARGET_NR_sysfs, "sysfs" , NULL, NULL, NULL }, #endif --=20 2.14.4 From nobody Fri Apr 19 19:35:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 152880156964724.233902442507883; Tue, 12 Jun 2018 04:06:09 -0700 (PDT) Received: from localhost ([::1]:54510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh7h-0000a9-Ki for importer@patchew.org; Tue, 12 Jun 2018 07:06:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh1G-0003s9-RB for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh1C-0007P7-Tk for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:22 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:52061) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh1C-0007OV-J4 for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:18 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0Ldqv1-1g9gs81Qwt-00j2Z8; Tue, 12 Jun 2018 12:58:39 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:29 +0200 Message-Id: <20180612105831.25703-7-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:N56T2qtJBYRuxzS+RFRa5cqN2uVC6UVnLKAvEx1yt3oFZZk5UHh Iqg93cEOu1jmman79TuP7mwwh1CUSZBuRQGkVH+qt2nKXdWw9ruVb5fVYdrzPLwAwB445Bm 5fCDpNC/HQXxxzPyQYGGQ/xIcOBj6OWv7kv5/0yI6FShJkP7CGiFJsYFPeVSVHpC8Iz/FXa IWt0grkx/ydUj6LDD/a/A== X-UI-Out-Filterresults: notjunk:1;V01:K0:4nk3wvePyKc=:1Altcx36CKw1dqHDXMlDLB s9nYxGRS4vc0UCIOc9xqbrU3Ay2L8FHuar6vrtDCSETUmflB6IGzFU8R3cJ4LXjkMCMHIoSxs CteOYUeyQusShI/ZprY0H/PSZWP7zxKSyJst0vapXYH7vMWyIoVSr2uBs/ZUJ4lHu6DrJkkqI vBvtl/Skqk79zJM8dZSEj3d2WTRNoayV2k+dpbO0qbMUgxZPxt+GHlsi96nPP5xTup5BQyA/M VbBp0A0yYPYTw2xTp1OyCorU2sQSzTAmbL1VefybnH5cmzz5cK4bAdWlUgqQwUadcK7mnnjvx Uriv260MdWucXYJt3B4hPqz+LuOWYZ8zsJabexW/1ndS4f6HkGLCyDFexvw6OoH92toCfHuF6 G7DuhX9T6y1ShS//WXNZwzCesLvBoC+UrwwvMOq8eo7rzhSHrF9Cu0SEvYA6rIcG8wgDvzjYc 2UJ+KAX7OkRj+0MTvqWlONOClX5V+lOJR4LuyL5q2iJ4mYTNfw8i5Fx2zh7GHQOdMj3bHto42 a/5yaxy9+ARfVvXWfMzITH4N9B/QwNFEfFFdsXYLfRfIlaoSrwWzplRT3WLZtFFM4I/AcIikH OTfbu/92Hg5OGVByq1zr7gGGBuUyeX6kbnsRuyJgXXy9yL3/oG6J7vLfZ0mx3zS9rqV3VPGHg ltRYp9sYm7nvpoh3rwU9D+xCPFHjcLIcrnaLUEQuY/3wX+ZDiB3d/LjP2+faSNz/FraPSksKF a4lQI/U/WexmnRD2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 6/8] linux-user/hppa: Fix typo in mknodat syscall X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 From: Richard Henderson Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Message-Id: <20180607184844.30126-3-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- linux-user/hppa/syscall_nr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/hppa/syscall_nr.h b/linux-user/hppa/syscall_nr.h index 55bdf71d50..9c1d0a195d 100644 --- a/linux-user/hppa/syscall_nr.h +++ b/linux-user/hppa/syscall_nr.h @@ -279,7 +279,7 @@ #define TARGET_NR_ppoll 274 #define TARGET_NR_openat 275 #define TARGET_NR_mkdirat 276 -#define TARGET_NR_mknotat 277 +#define TARGET_NR_mknodat 277 #define TARGET_NR_fchownat 278 #define TARGET_NR_futimesat 279 #define TARGET_NR_fstatat64 280 --=20 2.14.4 From nobody Fri Apr 19 19:35:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528801432027150.6694109157894; Tue, 12 Jun 2018 04:03:52 -0700 (PDT) Received: from localhost ([::1]:54490 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh5S-00076J-4K for importer@patchew.org; Tue, 12 Jun 2018 07:03:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh1E-0003q4-VA for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh1A-0007OE-Va for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:21 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:47965) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh1A-0007Ne-Lv for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:16 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M3fG9-1gJ92M3Xgf-00rG2i; Tue, 12 Jun 2018 12:58:40 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:30 +0200 Message-Id: <20180612105831.25703-8-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:BU6S7MK3Gk8UM5keyZ9EcpqkOgyI5tRS1Wt5fEnvKTOx+zJ+lnz HZ0AYGekMvzXrhjTHY8EE5xEvS9YT4XpTWMeVzzwVkAY9+06uZK14AGx6uTrmJUOJ7rYvEU nB4YIuT10z34BzZYGPLgWbRJ+hBv21yxBcOZHIplNGSFKludj3+1kWuGRZlzF7l7b1D0xrB iFX9hTWBK5ilQ3WP1tSnw== X-UI-Out-Filterresults: notjunk:1;V01:K0:Z/U9sbbgQZY=:7mqOBtkAbsrHfrE5ZQZFT8 Ai+Yy+aF5owNbRSQsyIWDmvTPI7qV17ce/TxwDvrM2sBeDbUiNrriLZbbv1XK45IaT1YIyMwK qdcyIlgal9mn3GYtnJQJfL+JON097wtEjK0tM86Q+g7XozYacsYyCScBq/4bZ18RFioXPBZOf vqRkWkRP/IA5tyUuJae4KbmDNjF3yZ/iO49lIhjQbU2SBJtmRyJ1A1Rgmb1V2MOAa+8vUi7GJ xeuDs0EfpkP+FkDnn2IbSXWbvxKxvMIkoCv5dqB7h9/mYeqAGCz105OVyRzihePYxcs2A3Xio nfkWlBRWopKqgnzu3WtXxiNfG+/xBshARh6gTFwj2sGHtnQ9SxUqZJRbKmIN+WfC9uMci+8eW 0EdLvwLSt3i/wUhUVhQwsDIA9XE/3nukKSJMbjThetTQmrzsr1ICRqEvYoIOYUM313d0fwEke t6sFvj7+ah7tOVoTBmxyteUbFcVptomUJAwOhZMEfPePPZJ1W6eeIEDwNBgQWr6p3h+QQvITO FTdo5SwznjdlaOd7nuvTLkzvu3pFn2YhMiqrZm8DWRkZsR5LeBi+jXWIg+kP64u1dJNI2mckT BatA9NYFbAlto91LzZVWRqAM53i1NZZyrPnv8ZSKIc3J9gaQ+J82DSm5EUjV47nYS62W+s7pQ ZECnrDwVIpy+4bMhJ8iU+FsvUX5CF1eugIY8wHSwXOZhQpaMtSUvm92rU0K+noqU/LsjUgMpx JiPwUEsEu8Okz/dc X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 7/8] linux-user/microblaze: Fix typo in accept4 syscall X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 From: Richard Henderson Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Message-Id: <20180607184844.30126-4-richard.henderson@linaro.org> [lv: replace tabs by spaces] Signed-off-by: Laurent Vivier --- linux-user/microblaze/syscall_nr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/microblaze/syscall_nr.h b/linux-user/microblaze/sys= call_nr.h index 0704449bae..5d1a47a9a9 100644 --- a/linux-user/microblaze/syscall_nr.h +++ b/linux-user/microblaze/syscall_nr.h @@ -363,7 +363,7 @@ #define TARGET_NR_shutdown 359 /* new */ #define TARGET_NR_sendmsg 360 /* new */ #define TARGET_NR_recvmsg 361 /* new */ -#define TARGET_NR_accept04 362 /* new */ +#define TARGET_NR_accept4 362 /* new */ #define TARGET_NR_preadv 363 /* new */ #define TARGET_NR_pwritev 364 /* new */ #define TARGET_NR_rt_tgsigqueueinfo 365 /* new */ --=20 2.14.4 From nobody Fri Apr 19 19:35:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1528801428294764.6655300231675; Tue, 12 Jun 2018 04:03:48 -0700 (PDT) Received: from localhost ([::1]:54491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh5T-00077C-RN for importer@patchew.org; Tue, 12 Jun 2018 07:03:43 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSh0t-0003Wi-4v for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:59:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSh0p-0007FF-JK for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:59 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:45387) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSh0p-0007EM-8W for qemu-devel@nongnu.org; Tue, 12 Jun 2018 06:58:55 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MR9Bb-1fp0991O0N-00UWUQ; Tue, 12 Jun 2018 12:58:40 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 12 Jun 2018 12:58:31 +0200 Message-Id: <20180612105831.25703-9-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180612105831.25703-1-laurent@vivier.eu> References: <20180612105831.25703-1-laurent@vivier.eu> X-Provags-ID: V03:K1:nHGl3Oz6H8ThZj7lj/2+PQayl1EZPk2MEfUftnrR2aKaQx0BjQc FS/CM9V+iC92y1Us5FdxS+AUDqmRPsvN1Wr9/pUK9hqG+pL26djpKW3NxFbudGAryWvFPDE FANQii9/5NZv4qC7iI+DfUD0iO2lHJOA3BhwrxNZ4pKrtYCwgOrOAgzILRP2YExy1ytpwzz LzawIJLsYqZXYPpj5SKuQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ndCVq9Bn+RQ=:MGklwxvS6uSgi2rKz/Nz3Y FPPp0cBS6lQqJiRKf3yfTBMDPiLKJHqme3muEfbdrHPe1/xe7Qgvj34AVET6aiwrPAQEyfytZ jCKeHAq99arwnEK1zE7Ts+4cCiynttADNMTKKrnv4sO6mRohFA3SNR+rMoNwbHJw5ND/agTFl znLcDz1EfJox7So6C7a/AvtFJoq3BFEPbt9pJs48JXGv4F1HPuRcmQtEnP1sNAeRJkXmG/SmA JJdqvARy6CJAMKdjCNGtXnWfBRb+6TksNlVrVQkwUoAi//NXQKYRMrtEIG55opqtNI5fLA6Ik 4dyreFmklpTtZeODYobaLQPxztOH5gRdkbRs2r9pMTmWipor16D+ZgN7TTdGbhIQ1vtCp5gcm PUungO2TQvu3RSO0VhPRPXnl/35L6QbrynB4WtVEYu2narHamP8Dvh4cHtjwb9OeRIsgdUPnz Ozz67I6jE0dE6j19f1N1Lc8e0Q/hwdcG+FZoc+ZNQGKD4pKgTLUP4ibuqyHwLy/Bx9oSmqjFl Mj47Phn/m1kVThE0SRu2kudU8ewYhI/cHev9zDLAU05t0JI3xeLUspq4bjvQSIDyKEayp08xS tAYGknp+wvStswXjvvmbOKqWHyC6UDrGsTejaQ2SMDvYU6qYK41ypN4RTPvZJ+Df2Ym/I9zp6 v96gKpwssZdaNVgOx9pnGczJAKyt739AmJ3W18/MqlBSXBoeQLEEWMms9nzxj1K14YDM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PULL 8/8] linux-user/sparc64: Add inotify_rm_watch and tee syscalls X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Richard Henderson Signed-off-by: Richard Henderson Reviewed-by: Laurent Vivier Message-Id: <20180607184844.30126-5-richard.henderson@linaro.org> --- linux-user/sparc64/syscall_nr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/sparc64/syscall_nr.h b/linux-user/sparc64/syscall_n= r.h index 9391645598..0b91b896da 100644 --- a/linux-user/sparc64/syscall_nr.h +++ b/linux-user/sparc64/syscall_nr.h @@ -154,7 +154,7 @@ #define TARGET_NR_poll 153 /* Common = */ #define TARGET_NR_getdents64 154 /* Linux specific */ #define TARGET_NR_fcntl64 155 /* Linux sparc32 Specific = */ -/* #define TARGET_NR_getdirentries 156 SunOS Specific = */ +#define TARGET_NR_inotify_rm_watch 156 /* Linux specific = */ #define TARGET_NR_statfs 157 /* Common = */ #define TARGET_NR_fstatfs 158 /* Common = */ #define TARGET_NR_umount 159 /* Common = */ @@ -278,7 +278,7 @@ #define TARGET_NR_mq_notify 277 #define TARGET_NR_mq_getsetattr 278 #define TARGET_NR_waitid 279 -/*#define TARGET_NR_sys_setaltroot 280 available (was setaltroot) */ +#define TARGET_NR_tee 280 #define TARGET_NR_add_key 281 #define TARGET_NR_request_key 282 #define TARGET_NR_keyctl 283 --=20 2.14.4