Message ID | 20200605114700.1052050-2-laurent@vivier.eu |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49dgrM6GYjz9sT6 for <incoming@patchwork.ozlabs.org>; Fri, 5 Jun 2020 21:48:02 +1000 (AEST) Received: from localhost ([::1]:56786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1jhApK-000876-IU for incoming@patchwork.ozlabs.org; Fri, 05 Jun 2020 07:47:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1jhAoV-00084t-0M for qemu-devel@nongnu.org; Fri, 05 Jun 2020 07:47:07 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:41695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1jhAoT-0006fq-RN for qemu-devel@nongnu.org; Fri, 05 Jun 2020 07:47:06 -0400 Received: from localhost.localdomain ([82.252.135.106]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N4Q4m-1izu760FqI-011VBZ; Fri, 05 Jun 2020 13:47:02 +0200 From: Laurent Vivier <laurent@vivier.eu> To: qemu-devel@nongnu.org Subject: [PULL 01/19] linux-user, alpha: fix oldumount syscall Date: Fri, 5 Jun 2020 13:46:42 +0200 Message-Id: <20200605114700.1052050-2-laurent@vivier.eu> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200605114700.1052050-1-laurent@vivier.eu> References: <20200605114700.1052050-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:2Oj8vDMsHbhMBr2a/7CtfQmxdmKX3CIUbJJJDHty0cknIcfUYGN aDEsk+kW1oIGfyiVhzuNqNQ3l49hzITiruvVfVm3QZyVAkhO1HYqWYPcEeh2nZALfIibVBr a+r6Gv+1rXBUGQZF7FPXc/Ad9Ru/W1volLqloclugUeUa9sIEYbiBDiHsYMOLQNleZnwwjS RBq/No3Fxk4nLXeEpy7QA== X-UI-Out-Filterresults: notjunk:1;V03:K0:DPg8NX6s2yY=:+R6nJfAaOAJ5j3P9kkWkex 2+WOYwy9hFF2HmhI4IJzCqYjDp7mqDalV32qEccMzCPxfGCQ3yaxiyfK0Y+dSpJ/ivgsxqGlr srbCO9ny/hABwuYWJcL7MHJriKr4Kl5khcpH17QOaNNEk7uZ40az9os2xvb50hwDrF44pcDkN r/TMFniaZYBvRaCJ97mjRZd8fDHGkYKfhpNAnQG24jcqagXBiEq2/eGcF8AANPxuqJNriWhaH dQ3myUiezqKh7bS8WFsig896QlKjOeVozLJMuBtRkCZLy1e3mD68Xg5WjC2Mu8Ik5bJkW/KiK OOfT4RQ3w9Exuti7S4LYNJeiyXlXYLZ862NxOyZBlClm0zXltKliX8MkHD4H6HBvjeWkl7fMY FDuCO1nvii+6sfuJD1xPUnuAwlSu/NjReKR49vVqdD8wPTMuWMvoNHoipE5VxQQ1bDvr2Z2kr iBCYUKUVX05ro4oaW0aObpTYsCZzs0i0/9F89fAmghX1Ok0V4hEkQznavwUuNoB8Y96c8wj7z wXBnhP8X70oHXYst8XnqIduZZXAYmmKmko7gXl2qIjAJF/Dx1bywV5nXELgI5j3XYVosS+rPo UXgUM+VTtZVjwjwo+SuySiiDJMHBYjTfjY2gYxUETKWbPftRCTB6MFbqUWIj4uj/CziPQnKqZ 4tvyTQj5q527PyY4gAtfHPrdA33enHuCl8oa3e5EBkV0hBpZKq/9DBWmKCQ+8NTqDNKsUOUxE Fa4OAHs9yOj2kJDIOvo+t/Z63h7epKHcMrMMAlfQKDMdPNTRSRYvUkLbFOXwEgAb+/BPiRvY9 CR9/uJcJ0Nz6GCCCA9H0OqkBK1npdXo47sZ6+lIl6eRnM4GlF+yKuQJHxKb8gtuHgGMfA1V Received-SPF: none client-ip=212.227.17.24; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 07:47:04 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Riku Voipio <riku.voipio@iki.fi>, Laurent Vivier <laurent@vivier.eu> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
[PULL,01/19] linux-user, alpha: fix oldumount syscall
|
expand
|
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 05f03919ff07..e89b815ce983 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -8028,8 +8028,13 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1, } } return ret; -#ifdef TARGET_NR_umount +#if defined(TARGET_NR_umount) || defined(TARGET_NR_oldumount) +#if defined(TARGET_NR_umount) case TARGET_NR_umount: +#endif +#if defined(TARGET_NR_oldumount) + case TARGET_NR_oldumount: +#endif if (!(p = lock_user_string(arg1))) return -TARGET_EFAULT; ret = get_errno(umount(p));