Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/808902/?format=api
{ "id": 808902, "url": "http://patchwork.ozlabs.org/api/patches/808902/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/20170901180029.9527-37-hjl.tools@gmail.com/", "project": { "id": 41, "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api", "name": "GNU C Library", "link_name": "glibc", "list_id": "libc-alpha.sourceware.org", "list_email": "libc-alpha@sourceware.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170901180029.9527-37-hjl.tools@gmail.com>", "list_archive_url": null, "date": "2017-09-01T18:00:07", "name": "[36/58] Hide internal __fopen_maybe_mmap function [BZ #18822]", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3e5037ca4d9c927d278cb8dbc070f2341b70a858", "submitter": { "id": 4387, "url": "http://patchwork.ozlabs.org/api/people/4387/?format=api", "name": "H.J. Lu", "email": "hjl.tools@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/20170901180029.9527-37-hjl.tools@gmail.com/mbox/", "series": [ { "id": 1088, "url": "http://patchwork.ozlabs.org/api/series/1088/?format=api", "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=1088", "date": "2017-09-01T18:00:21", "name": "Hide internal functions in libc.so", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1088/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808902/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808902/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<libc-alpha-return-84090-incoming=patchwork.ozlabs.org@sourceware.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "mailing list libc-alpha@sourceware.org" ], "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-84090-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"yU1ql17M\"; dkim-atps=neutral", "sourceware.org; auth=none" ], "Received": [ "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xkS0j5vYJz9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 2 Sep 2017 04:08:37 +1000 (AEST)", "(qmail 89786 invoked by alias); 1 Sep 2017 18:01:15 -0000", "(qmail 89692 invoked by uid 89); 1 Sep 2017 18:01:15 -0000" ], "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:subject:date:message-id:in-reply-to\n\t:references; q=dns; s=default; b=xLVkhGmBFAVNJ1tSgBzXDOhAj8+2ViQ\n\tw9pfDQKfcIFzKXy1aTdl0PUNWMFZIkx3RMhruVEsCmer9tEnK4xkzYUZU0j23iIV\n\tdimKjB8uTr511a7ciyP9uwQgPPRJS3oEqZAK3yf7xjv6a4ijUu1qZZa/r0owUARD\n\tNlS4mqTpdORE=", "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:subject:date:message-id:in-reply-to\n\t:references; s=default; bh=Wccffxt4vDmn/aX8xSpSGRDOMUk=; b=yU1ql\n\t17Muo5CDcOP6qmRL6/iQ5WVoX4FO+d1jNpMeSjgg3F166KJ4OlbOElHCODP6qR8R\n\tjk562Ef9wT9auhFd04aMJnaYxvpHOdWKO8goZQnKTHnpueAB2Kustg80VE7ZBQD1\n\tAQKhhAa8Nwf6XoPxBxW2a2RYpW1y/ZcNr6FFQ8=", "Mailing-List": "contact libc-alpha-help@sourceware.org; run by ezmlm", "Precedence": "bulk", "List-Id": "<libc-alpha.sourceware.org>", "List-Unsubscribe": "<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>", "List-Subscribe": "<mailto:libc-alpha-subscribe@sourceware.org>", "List-Archive": "<http://sourceware.org/ml/libc-alpha/>", "List-Post": "<mailto:libc-alpha@sourceware.org>", "List-Help": "<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>", "Sender": "libc-alpha-owner@sourceware.org", "X-Virus-Found": "No", "X-Spam-SWARE-Status": "No, score=-26.2 required=5.0 tests=BAYES_00,\n\tFREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2,\n\tGIT_PATCH_3,\n\tSPF_SOFTFAIL autolearn=ham version=3.3.2 spammy=H*m:gmail", "X-HELO": "mga02.intel.com", "X-ExtLoop1": "1", "From": "\"H.J. Lu\" <hjl.tools@gmail.com>", "To": "libc-alpha@sourceware.org", "Subject": "[PATCH 36/58] Hide internal __fopen_maybe_mmap function [BZ #18822]", "Date": "Fri, 1 Sep 2017 11:00:07 -0700", "Message-Id": "<20170901180029.9527-37-hjl.tools@gmail.com>", "In-Reply-To": "<20170901180029.9527-1-hjl.tools@gmail.com>", "References": "<20170901180029.9527-1-hjl.tools@gmail.com>" }, "content": "Hide internal __fopen_maybe_mmap function to allow direct access within\nlibc.so and libc.a without using GOT nor PLT.\n\n\t[BZ #18822]\n\t* libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.\n---\n libio/iolibio.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/libio/iolibio.h b/libio/iolibio.h\nindex 754d8b0650..0185e685d4 100644\n--- a/libio/iolibio.h\n+++ b/libio/iolibio.h\n@@ -25,7 +25,7 @@ extern _IO_FILE *_IO_new_fopen (const char*, const char*);\n extern _IO_FILE *_IO_fopen64 (const char*, const char*);\n extern _IO_FILE *__fopen_internal (const char*, const char*, int)\n \tattribute_hidden;\n-extern _IO_FILE *__fopen_maybe_mmap (_IO_FILE *) __THROW;\n+extern _IO_FILE *__fopen_maybe_mmap (_IO_FILE *) __THROW attribute_hidden;\n extern int _IO_fprintf (_IO_FILE*, const char*, ...);\n extern int _IO_fputs (const char*, _IO_FILE*);\n libc_hidden_proto (_IO_fputs)\n", "prefixes": [ "36/58" ] }