Message ID | 5a59c2a998f76cbefb31f93ec6893a8c388b5d61.1403529801.git.riku.voipio@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <patchwork-forward+bncBC4MBBM76YMRBM6YUCOQKGQE4GV4H6I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CAB8F20540 for <linaro@patches.linaro.org>; Mon, 23 Jun 2014 13:31:31 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id i13sf19529786qae.11 for <linaro@patches.linaro.org>; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=pbptH8T6i13eLpJVb8d8MIgrUCJf4PusfZzVWv0lky4=; b=NX0TWs017C4cDDvZ902fwSG813kp7Jx3kWjyVFy1ycMFtVBOm5/ejqKh9x+Vq5vEiM 19y8AZMyd9KfamP9sz+ou5l9HjjKvZ3X91Dzf0ZfM193/p0VJSYqyC6TwNYgMg/aeR7n 84QClBJvNZZI2K2c7r+RQykvCdZaK1qIiNsCvEmvWUNCyVEzgYbvAMOdRRDOWgYE1Cee Q6QVfEtjjO1y3ufaM9NWF8kUhlONMUOE8YE+xbIcmTeiz5eQi+YN6EKeZMV/8mh94l/S f4wvFwnsjjv0x+2HDarwkLayo3hY2Egttqf2LY7jBIg/iFaNdp44JBpqlM9WEj6W3/eU 3GGg== X-Gm-Message-State: ALoCoQmedtr40xXU4BWD8pba6Vhjle9Khxstog0uwQ65MPERy+Psw7f3Wy1i91Lz8Yo4NoKV4RvR X-Received: by 10.58.164.226 with SMTP id yt2mr9660841veb.7.1403530291664; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.33 with SMTP id 30ls1229808qgw.13.gmail; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) X-Received: by 10.58.8.12 with SMTP id n12mr19544262vea.28.1403530291569; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id ot8si8983965vcb.95.2014.06.23.06.31.31 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Jun 2014 06:31:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id hy10so6014177vcb.3 for <patchwork-forward@linaro.org>; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) X-Received: by 10.58.220.230 with SMTP id pz6mr19353571vec.9.1403530291502; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp130892vcb; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) X-Received: by 10.224.223.135 with SMTP id ik7mr32612423qab.26.1403530291002; Mon, 23 Jun 2014 06:31:31 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y7si17225843qai.62.2014.06.23.06.31.30 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 23 Jun 2014 06:31:30 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:53535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1Wz4LK-0000ck-Jq for patch@linaro.org; Mon, 23 Jun 2014 09:31:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Wz4Gm-0003iO-Uq for qemu-devel@nongnu.org; Mon, 23 Jun 2014 09:26:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Wz4Gd-0001C5-V2 for qemu-devel@nongnu.org; Mon, 23 Jun 2014 09:26:48 -0400 Received: from [2001:4b98:dc0:45:216:3eff:fe3d:166f] (port=37366 helo=afflict.kos.to) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <riku.voipio@linaro.org>) id 1Wz4Gd-0001AZ-OO for qemu-devel@nongnu.org; Mon, 23 Jun 2014 09:26:39 -0400 Received: from afflict.kos.to (afflict [92.243.29.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id BAE412661E; Mon, 23 Jun 2014 15:26:36 +0200 (CEST) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 23 Jun 2014 16:26:32 +0300 Message-Id: <5a59c2a998f76cbefb31f93ec6893a8c388b5d61.1403529801.git.riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <cover.1403529800.git.riku.voipio@linaro.org> References: <cover.1403529800.git.riku.voipio@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:4b98:dc0:45:216:3eff:fe3d:166f Cc: Paul Burton <paul@archlinuxmips.org> Subject: [Qemu-devel] [PULL 17/19] linux-user: support the unshare syscall X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: riku.voipio@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index ecd5be9..769c661 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -9617,6 +9617,12 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, break; #endif +#ifdef TARGET_NR_unshare + case TARGET_NR_unshare: + ret = get_errno(unshare(arg1)); + break; +#endif + default: unimplemented: gemu_log("qemu: Unsupported syscall: %d\n", num);