Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/817541/?format=api
{ "id": 817541, "url": "http://patchwork.ozlabs.org/api/patches/817541/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922140237.10869-7-carenas@gmail.com/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170922140237.10869-7-carenas@gmail.com>", "list_archive_url": null, "date": "2017-09-22T14:02:37", "name": "[RFC,6/6] linux-user: update default socket.h", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "81cda9eab3d9172bc6d870d2a6623824de2a6044", "submitter": { "id": 72390, "url": "http://patchwork.ozlabs.org/api/people/72390/?format=api", "name": "Carlo Arenas", "email": "carenas@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922140237.10869-7-carenas@gmail.com/mbox/", "series": [ { "id": 4635, "url": "http://patchwork.ozlabs.org/api/series/4635/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4635", "date": "2017-09-22T14:02:31", "name": "linux-user: refactor socket.h into architecture specific sockbits", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/4635/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/817541/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/817541/checks/", "tags": {}, "related": [], "headers": { "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;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"nqLHOCAk\"; dkim-atps=neutral" ], "Received": [ "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzFnD5rqBz9t3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 00:13:04 +1000 (AEST)", "from localhost ([::1]:59129 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dvOhS-0006GK-SJ\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 10:13:02 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:53829)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <carenas@gmail.com>) id 1dvOY1-0006xr-G5\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:23 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <carenas@gmail.com>) id 1dvOXv-0001Q4-SF\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:17 -0400", "from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:33963)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <carenas@gmail.com>) id 1dvOXv-0001Ps-Lz\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 10:03:11 -0400", "by mail-pg0-x241.google.com with SMTP id u18so702425pgo.1\n\tfor <qemu-devel@nongnu.org>; Fri, 22 Sep 2017 07:03:11 -0700 (PDT)", "from localhost.localdomain (c-73-189-82-67.hsd1.ca.comcast.net.\n\t[73.189.82.67]) by smtp.gmail.com with ESMTPSA id\n\td124sm6428901pfc.42.2017.09.22.07.03.08\n\t(version=TLS1 cipher=AES128-SHA bits=128/128);\n\tFri, 22 Sep 2017 07:03:09 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=dVdyMx2v5ej7QMB1IGgqrkyFX+AEaJpD34TrfGs89U4=;\n\tb=nqLHOCAkltthqbz8/WEPi3KCegFhISOJuDAmMfluc0IMviVXQcQi3oaDIVYCWX0ugg\n\tJ5cSXAsSCBS5/5N8Kpa6mcIFLEqHdaXG3Y2zVzL83getx0dsuOMZwBrxNGOiT9TmZOdL\n\th0YefHttPpc9lFi1RMg2dJf6bfhMT9EUgQ5uRaSXaLRqZqta89e5sSugLkkiIGfFgQg9\n\tVuok0RJ/xwgFpgDZ1rri3E34AX0lL1x8ekdLW3lUpV8YDQBB0Iz3th1rrGY+quddFOpj\n\tdIMLoRRMTaE0/vLphR/Rq2pQHUjJ8UyoSg43Z9O0E2ZltCKMPKMz89bnxCh7iymKecID\n\to+pA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=dVdyMx2v5ej7QMB1IGgqrkyFX+AEaJpD34TrfGs89U4=;\n\tb=VIhcOSk6aq5Skl46V18Id/+284DLZNlyz5h5htnFgs3Q+MeAs3vRB9TK+u22areReZ\n\tFG5u24Y7hzoMgsNqfkKQNjKr3KESZXV8U82Q4ERC1IDpkiGDT9N264TLUCPLVG8XOTFS\n\t5G/is5v6gwxoQ669iYrCuEppxjLj2zloW/uywm/HbXDeky93v01+zaXglGeAGipiVnq8\n\tdvG4KD98j6EbjIrmMuLbryAIzEMqhPg4hstDv6CbQInEB4/QBJWMejqBOQK0NTtEsHrF\n\tTwD3igR1CDZtiHAG6zVhA6/UFilV+JBPR7k0WcznTkI9iz2Fjvo7n3vfrnuxqfuanzXK\n\tQAnQ==", "X-Gm-Message-State": "AHPjjUjgeCBypwK7GxD8lvmEc+UvrEPc2o42dsikWHQ+jxaK2kbxs5I8\n\thrSI58iJR/MkZtHbYodUkffKWt5l", "X-Google-Smtp-Source": "AOwi7QC5F5LhoYBRjGASeql9US+osOEHLBxeLJaFifV+d175TeYlzhGwNaeZL1vm1cvsJg36XS06sg==", "X-Received": "by 10.98.33.80 with SMTP id h77mr9571792pfh.18.1506088990196;\n\tFri, 22 Sep 2017 07:03:10 -0700 (PDT)", "From": "=?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= <carenas@gmail.com>", "To": "qemu-devel@nongnu.org", "Date": "Fri, 22 Sep 2017 07:02:37 -0700", "Message-Id": "<20170922140237.10869-7-carenas@gmail.com>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170922140237.10869-1-carenas@gmail.com>", "References": "<20170922140237.10869-1-carenas@gmail.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.", "X-Received-From": "2607:f8b0:400e:c05::241", "Subject": "[Qemu-devel] [RFC 6/6] linux-user: update default socket.h", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<http://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>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Cc": "=?utf-8?q?Carlo_Marcelo_Arenas_Bel=C3=B3n?= <carenas@gmail.com>,\n\triku.voipio@iki.fi, laurent@vivier.eu, rth@twiddle.net", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>" }, "content": "* enable SO_REUSEPORT as a sideeffect and add SO_GET_FILTER alias\n* make sure 64bit version for ppc is also supported\n\nSigned-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>\n---\n linux-user/socket.h | 61 ++++++++++++++++++++++++++++++++++++++++++-----------\n 1 file changed, 49 insertions(+), 12 deletions(-)", "diff": "diff --git a/linux-user/socket.h b/linux-user/socket.h\nindex 6fd486c6b1..c37c10822a 100644\n--- a/linux-user/socket.h\n+++ b/linux-user/socket.h\n@@ -27,8 +27,8 @@\n #define TARGET_SO_PRIORITY 12\n #define TARGET_SO_LINGER 13\n #define TARGET_SO_BSDCOMPAT 14\n- /* To add :#define TARGET_SO_REUSEPORT 15 */\n-#if defined(TARGET_PPC)\n+ #define TARGET_SO_REUSEPORT 15\n+#if defined(TARGET_PPC) || defined(TARGET_PPC64)\n #define TARGET_SO_RCVLOWAT 16\n #define TARGET_SO_SNDLOWAT 17\n #define TARGET_SO_RCVTIMEO 18\n@@ -49,21 +49,58 @@\n #define TARGET_SO_SECURITY_ENCRYPTION_TRANSPORT 23\n #define TARGET_SO_SECURITY_ENCRYPTION_NETWORK 24\n \n- #define TARGET_SO_BINDTODEVICE 25\n+ #define TARGET_SO_BINDTODEVICE 25\n \n /* Socket filtering */\n- #define TARGET_SO_ATTACH_FILTER 26\n- #define TARGET_SO_DETACH_FILTER 27\n+ #define TARGET_SO_ATTACH_FILTER 26\n+ #define TARGET_SO_DETACH_FILTER 27\n+ #define TARGET_SO_GET_FILTER TARGET_SO_ATTACH_FILTER\n \n- #define TARGET_SO_PEERNAME 28\n- #define TARGET_SO_TIMESTAMP 29\n- #define TARGET_SCM_TIMESTAMP TARGET_SO_TIMESTAMP\n+ #define TARGET_SO_PEERNAME 28\n+ #define TARGET_SO_TIMESTAMP 29\n+ #define TARGET_SCM_TIMESTAMP TARGET_SO_TIMESTAMP\n \n- #define TARGET_SO_ACCEPTCONN 30\n+ #define TARGET_SO_ACCEPTCONN 30\n \n- #define TARGET_SO_PEERSEC 31\n+ #define TARGET_SO_PEERSEC 31\n+ #define TARGET_SO_PASSSEC 34\n+ #define TARGET_SO_TIMESTAMPNS 35\n+ #define TARGET_SCM_TIMESTAMPNS TARGET_SO_TIMESTAMPNS\n+\n+ #define TARGET_SO_MARK 36\n+\n+ #define TARGET_SO_TIMESTAMPING 37\n+ #define TARGET_SCM_TIMESTAMPING TARGET_SO_TIMESTAMPING\n+\n+ #define TARGET_SO_PROTOCOL 38\n+ #define TARGET_SO_DOMAIN 39\n+\n+ #define TARGET_SO_RXQ_OVFL 40\n+\n+ #define TARGET_SO_WIFI_STATUS 41\n+ #define TARGET_SCM_WIFI_STATUS TARGET_SO_WIFI_STATUS\n+ #define TARGET_SO_PEEK_OFF 42\n+\n+ #define TARGET_SO_NOFCS 43\n+ #define TARGET_SO_LOCK_FILTER 44\n+ #define TARGET_SO_SELECT_ERR_QUEUE 45\n+ #define TARGET_SO_BUSY_POLL 46\n+ #define TARGET_SO_MAX_PACING_RATE 47\n+ #define TARGET_SO_BPF_EXTENSIONS 48\n+ #define TARGET_SO_INCOMING_CPU 49\n+ #define TARGET_SO_ATTACH_BPF 50\n+ #define TARGET_SO_DETACH_BPF TARGET_SO_DETACH_FILTER\n+ #define TARGET_SO_ATTACH_REUSEPORT_CBPF 51\n+ #define TARGET_SO_ATTACH_REUSEPORT_EBPF 52\n+ #define TARGET_SO_CNX_ADVICE 53\n+ #define TARGET_SCM_TIMESTAMPING_OPT_STATS 54\n+ #define TARGET_SO_MEMINFO 55\n+ #define TARGET_SO_INCOMING_NAPI_ID 56\n+ #define TARGET_SO_COOKIE 57\n+ #define TARGET_SCM_TIMESTAMPING_PKTINFO 58\n+ #define TARGET_SO_PEERGROUPS 59\n+ #define TARGET_SO_ZEROCOPY 60\n \n- #define TARGET_SO_PASSSEC 34\n #endif\n \n #ifndef ARCH_HAS_SOCKET_TYPES\n@@ -94,6 +131,6 @@\n };\n \n #define TARGET_SOCK_MAX (TARGET_SOCK_PACKET + 1)\n- #define TARGET_SOCK_TYPE_MASK 0xf /* Covers up to TARGET_SOCK_MAX-1. */\n+ #define TARGET_SOCK_TYPE_MASK 0xf /* Covers up to TARGET_SOCK_MAX - 1. */\n \n #endif\n", "prefixes": [ "RFC", "6/6" ] }