Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/811879/?format=api
{ "id": 811879, "url": "http://patchwork.ozlabs.org/api/patches/811879/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504910713-7094-24-git-send-email-linuxram@us.ibm.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<1504910713-7094-24-git-send-email-linuxram@us.ibm.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1504910713-7094-24-git-send-email-linuxram@us.ibm.com/", "date": "2017-09-08T22:45:03", "name": "[15/25] powerpc: sys_pkey_mprotect() system call", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "4a63dac95f5c6af764a56f55217eeb0f4bf29d82", "submitter": { "id": 2667, "url": "http://patchwork.ozlabs.org/api/people/2667/?format=api", "name": "Ram Pai", "email": "linuxram@us.ibm.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504910713-7094-24-git-send-email-linuxram@us.ibm.com/mbox/", "series": [ { "id": 2303, "url": "http://patchwork.ozlabs.org/api/series/2303/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=2303", "date": "2017-09-08T22:44:40", "name": "powerpc: Free up RPAGE_RSV bits", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2303/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/811879/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/811879/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xptr20DBCz9s75\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 9 Sep 2017 09:31:30 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xptr16GH3zDrSP\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 9 Sep 2017 09:31:29 +1000 (AEST)", "from mail-qt0-x244.google.com (mail-qt0-x244.google.com\n\t[IPv6:2607:f8b0:400d:c0d::244])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xpsrt6L3wzDrcp\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 9 Sep 2017 08:47:10 +1000 (AEST)", "by mail-qt0-x244.google.com with SMTP id h21so2358304qth.4\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 08 Sep 2017 15:47:10 -0700 (PDT)", "from localhost.localdomain (50-39-103-96.bvtn.or.frontiernet.net.\n\t[50.39.103.96]) by smtp.gmail.com with ESMTPSA id\n\tx124sm2033726qka.85.2017.09.08.15.47.06\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 08 Sep 2017 15:47:07 -0700 (PDT)" ], "Authentication-Results": [ "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=\"YxV4j28o\"; dkim-atps=neutral", "lists.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=\"YxV4j28o\"; dkim-atps=neutral", "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400d:c0d::244; helo=mail-qt0-x244.google.com;\n\tenvelope-from=ram.n.pai@gmail.com; receiver=<UNKNOWN>)", "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"YxV4j28o\"; dkim-atps=neutral" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=EUT54Uj10IvV0ANYD4UC1vcgvR9YOvNp6lQeldh8lX8=;\n\tb=YxV4j28omCEgl1wLV/dBZH2Iu1VWH4Tgs7s40aun8dqdYlkHfxpQ6Muk3Fz3fZ464y\n\tChce+cXSEESO1ZHD5FR+Ptc/Iy5cM6ZAybl7b+QYmL/53XZEp3r6iEKGbR9bdOZtGaW3\n\tDYYopgFkyoJo6GQIfdJfHom1HPMymU/bOH+9rzQTXj4FTXl1s72dEwZXMOjErL/RQQV2\n\tfodECku6Hii2nXwUaTWbgzt91I3cO3iX6txVhZkRN1gTfFt9hg2vnz67Zy1YeTRK4/6b\n\t+ag+7Xf3SYCh6ATsbshfWa5d+U3hp/sojEe7h8nHMA/3fLxw4u4qtztMUg14usjoqdsm\n\te58w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=EUT54Uj10IvV0ANYD4UC1vcgvR9YOvNp6lQeldh8lX8=;\n\tb=aTjOZBZiFDCKpxbyArRRx3/8UhD+cnvyVyC1vVKFKn8nGcx+IvK2IzvSyWEd800YsJ\n\tow+W/0MU0QeDZeWj4MzhR6YpJKwTe3xC3PtDQOCrvdfIUQ+Uozj52Sl1rmG0oIgqhrOZ\n\tr3QpQz0d+SOV0KdJEVxI3hMZ8Tzf0DaKDjZjENfJDwvxgQSWr/ZkDQnQjaK8XPOzsro2\n\tBJ3Gq54CttdV622d2zJNmA4OgsfRAOFETBlQ0dz6G9JQ94uVirIAw/PgTiRY0uLSmxeS\n\tzWiG/EUaMkm0+U/CYuJ39LiTRAgIlBtdB98wJW5MlCpkySIpQAerJBWV+fgtTL5o9j7N\n\t/guw==", "X-Gm-Message-State": "AHPjjUiyYRlaolC3ma+gXx5+z/ab4PFtutq4eIwgXf/ACsmsFMOzstzi\n\tFjnyHfkHVHmBAQ==", "X-Google-Smtp-Source": "AOwi7QB2Prmxf6H14qOiAXLO/yW6T3EfZud31u0KDyVRUJxbzwl/FT1Wr4QKE/FLkmacAkhOP8GG3Q==", "X-Received": "by 10.200.49.170 with SMTP id h39mr6155821qte.162.1504910828029; \n\tFri, 08 Sep 2017 15:47:08 -0700 (PDT)", "From": "Ram Pai <linuxram@us.ibm.com>", "To": "mpe@ellerman.id.au,\n\tlinuxppc-dev@lists.ozlabs.org", "Subject": "[PATCH 15/25] powerpc: sys_pkey_mprotect() system call", "Date": "Fri, 8 Sep 2017 15:45:03 -0700", "Message-Id": "<1504910713-7094-24-git-send-email-linuxram@us.ibm.com>", "X-Mailer": "git-send-email 1.7.1", "In-Reply-To": "<1504910713-7094-1-git-send-email-linuxram@us.ibm.com>", "References": "<1504910713-7094-1-git-send-email-linuxram@us.ibm.com>", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "ebiederm@xmission.com, linuxram@us.ibm.com, mhocko@kernel.org,\n\tpaulus@samba.org, aneesh.kumar@linux.vnet.ibm.com,\n\tbauerman@linux.vnet.ibm.com, khandual@linux.vnet.ibm.com", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "Patch provides the ability for a process to\nassociate a pkey with a address range.\n\nSigned-off-by: Ram Pai <linuxram@us.ibm.com>\n---\n arch/powerpc/include/asm/systbl.h | 1 +\n arch/powerpc/include/asm/unistd.h | 4 +---\n arch/powerpc/include/uapi/asm/unistd.h | 1 +\n 3 files changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h\nindex 22dd776..b33b551 100644\n--- a/arch/powerpc/include/asm/systbl.h\n+++ b/arch/powerpc/include/asm/systbl.h\n@@ -390,3 +390,4 @@\n SYSCALL(statx)\n SYSCALL(pkey_alloc)\n SYSCALL(pkey_free)\n+SYSCALL(pkey_mprotect)\ndiff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h\nindex e0273bc..daf1ba9 100644\n--- a/arch/powerpc/include/asm/unistd.h\n+++ b/arch/powerpc/include/asm/unistd.h\n@@ -12,12 +12,10 @@\n #include <uapi/asm/unistd.h>\n \n \n-#define NR_syscalls\t\t386\n+#define NR_syscalls\t\t387\n \n #define __NR__exit __NR_exit\n \n-#define __IGNORE_pkey_mprotect\n-\n #ifndef __ASSEMBLY__\n \n #include <linux/types.h>\ndiff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h\nindex 7993a07..71ae45e 100644\n--- a/arch/powerpc/include/uapi/asm/unistd.h\n+++ b/arch/powerpc/include/uapi/asm/unistd.h\n@@ -396,5 +396,6 @@\n #define __NR_statx\t\t383\n #define __NR_pkey_alloc\t\t384\n #define __NR_pkey_free\t\t385\n+#define __NR_pkey_mprotect\t386\n \n #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */\n", "prefixes": [ "15/25" ] }