From patchwork Tue Jun 12 00:51:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 138267 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp4696828lji; Mon, 11 Jun 2018 17:52:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLQqYKHtmyZ/HLbI59pJ8yjLZKoO4efgmJbIuiZ5VWzL7tQGnQkS877mQBtO5FDfmR58xRa X-Received: by 2002:aed:32e7:: with SMTP id z94-v6mr1524655qtd.70.1528764742460; Mon, 11 Jun 2018 17:52:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528764742; cv=none; d=google.com; s=arc-20160816; b=CqB6WYzYHM4Gf6AILj1tVGvyiJG1PSYoSE5OPZI2A6dJJ6JoKfMws6rdj0sl69IFIy xgMKLbCkwpAg4aDWibLHLUDzAxv6lN1z2BrKDSVkeVTxsZabAhswcFrca2EqOvexQ3/8 99pRv4rd3Og/X82c1qoI3ZMKmk/fi8HdW/82DrijxK//AQy42ENSKDtXsIS6mbnoPGwE 6ZKj/AZCmPaE0r0JOz1fiSUe7DYHdGBPuxIBIsL+BhlMkEpKMjyNow/vdLvUXdmT1QQ6 OA+o4WdfhiiwP7ELhwzX9qvdECh+zh2OcFGKcbn4lDCocdJ47Q/a76WDHbaMITD4LNA8 EVGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=STBaZDHbr1Z4wvQYA+LTcjJI7McR75HTyn6AxD96pfg=; b=VK7jDeiQFGHWgNa4gbRCnsop+OCRS7ny7DzsnZsbgSQZ3+aJSmyqvFkZphpHbnKNWy 7QIP4kZNt3S7GVZkHTMVvEKrfq8LpHD7z0XxWN5/WGCiQqEB4FLmne7kwVq+t/aeMym0 aNOcWNsojl0hd0AwpPdmvTV5kvGqVHODYk/N29/NqCsW11U9VjyyiCzERhAMp5x8PlJX XfSr+c9V9kgbxlDaaGZBU5RbxoH89CG6X06E46Bs78qekfk9QbLQ6E/eCvcqsqpYFF/Z R7VuESXRq4intLZQrCGuqZJVYyKf/JrzdboDn7NkzWs0BCbPmPggqw3z29k2gQfVPVB0 KG4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SuwqNCSk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id s11-v6si17417963qvn.166.2018.06.11.17.52.22 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 11 Jun 2018 17:52:22 -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; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=SuwqNCSk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:52005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSXXp-0004xD-Su for patch@linaro.org; Mon, 11 Jun 2018 20:52:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSXXQ-0004vB-4O for qemu-devel@nongnu.org; Mon, 11 Jun 2018 20:51:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSXXN-0007C2-3d for qemu-devel@nongnu.org; Mon, 11 Jun 2018 20:51:56 -0400 Received: from mail-pl0-x22b.google.com ([2607:f8b0:400e:c01::22b]:44558) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSXXM-0007BM-Rf for qemu-devel@nongnu.org; Mon, 11 Jun 2018 20:51:53 -0400 Received: by mail-pl0-x22b.google.com with SMTP id z9-v6so13317337plk.11 for ; Mon, 11 Jun 2018 17:51:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=STBaZDHbr1Z4wvQYA+LTcjJI7McR75HTyn6AxD96pfg=; b=SuwqNCSkVH9IoakNG+GuGGNn21Eprxe/D3lucvH5kVUOTOBge9vUYx+lwqDARWBQh3 S7GI4zYM4wPeS1kfE5iKj/T+0E35732kk32gGuzpeBH/hx2oOgw5nEAhxbJZJo3mPQE1 ZZ203TTInswVC3CBI5ZaWk5b4Xe7yWUj4UBLc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=STBaZDHbr1Z4wvQYA+LTcjJI7McR75HTyn6AxD96pfg=; b=C60ZqTk3TRaY5hkc3HCIalWyBOfj902WfJJtA8rcggBs/dQo1n1DrD9/kdN/xhlpFd GOqxGxCAK2wYFY39kRy52KYw6KJdGNgxbJwEJA2Dm3G9EIULdkqYCSEVjDmjMtSpQ4bZ k8DsIGxgmX5BrFQ0bmjQApSJpxUWFJjs6Yl9c2pLJEOBun4RnAAJdcModBEQ0ecC8Crh nSR8RwzZxG/j4uZ8StPkJenE7dwaVBXSXZyccQnxhccfE6xQErG8UDdkyUPXnmMUrIb5 dbHmbnvf079qX5qrjL/4zINZw/J+wKtxJA8tC/IN/yBcRy+IdMe2FesY59tRCcALdMv8 UItA== X-Gm-Message-State: APt69E1lhipk6sWnMFTNR3eNFqoOcTjMlxYFgTRIIRFlmIWhyWCU8797 do4TicMzAMBiVvCRvLFkOMkUUy2DcAk= X-Received: by 2002:a17:902:206:: with SMTP id 6-v6mr1503924plc.294.1528764710966; Mon, 11 Jun 2018 17:51:50 -0700 (PDT) Received: from cloudburst.twiddle.net (rrcs-173-198-77-219.west.biz.rr.com. [173.198.77.219]) by smtp.gmail.com with ESMTPSA id l26-v6sm43362802pgn.55.2018.06.11.17.51.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jun 2018 17:51:50 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 11 Jun 2018 14:51:26 -1000 Message-Id: <20180612005145.3375-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c01::22b Subject: [Qemu-devel] [PATCH v3 00/19] linux-user: Split do_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: peter.maydell@linaro.org, laurent@vivier.eu Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Version 3 does not attempt the whole thing in one go, and does attempt to incorporate strace into the reorg. Thoughts? r~ Richard Henderson (19): linux-user/alpha: Fix epoll syscalls linux-user/hppa: Fix typo in mknodat syscall linux-user/microblaze: Fix typo in accept4 syscall linux-user/sparc64: Add inotify_rm_watch and tee syscalls linux-user: Remove DEBUG linux-user: Split out do_syscall1 linux-user: Relax single exit from "break" linux-user: Propagate goto efault to return linux-user: Propagate goto unimplemented_nowarn to return linux-user: Propagate goto unimplemented to default linux-user: Propagate goto fail to return linux-user: Setup split syscall infrastructure linux-user: Split out close, open, openat, read, write linux-user: Split out preadv, pwritev, readv, writev linux-user: Split out pread64, pwrite64 linux-user: Split out name_to_handle_at, open_by_handle_at linux-user: Split out ipc syscalls linux-user: Split out memory syscalls linux-user: Split out some process syscalls linux-user/alpha/syscall_nr.h | 6 +- linux-user/hppa/syscall_nr.h | 2 +- linux-user/microblaze/syscall_nr.h | 2 +- linux-user/sparc64/syscall_nr.h | 4 +- linux-user/syscall.h | 389 +++ linux-user/strace.c | 600 ++--- linux-user/syscall.c | 4015 ++++------------------------ linux-user/syscall_file.c | 669 +++++ linux-user/syscall_ipc.c | 1095 ++++++++ linux-user/syscall_mem.c | 190 ++ linux-user/syscall_proc.c | 914 +++++++ linux-user/Makefile.objs | 17 +- linux-user/gen_syscall_list.py | 160 ++ linux-user/strace.list | 264 -- 14 files changed, 4300 insertions(+), 4027 deletions(-) create mode 100644 linux-user/syscall.h create mode 100644 linux-user/syscall_file.c create mode 100644 linux-user/syscall_ipc.c create mode 100644 linux-user/syscall_mem.c create mode 100644 linux-user/syscall_proc.c create mode 100644 linux-user/gen_syscall_list.py -- 2.17.1