[{"id":1778092,"web_url":"http://patchwork.ozlabs.org/comment/1778092/","msgid":"<CAMe9rOqfH0zV0TPnXihV+gR5Cg2YpSzZP+aT3R4jU1sPiU92+g@mail.gmail.com>","list_archive_url":null,"date":"2017-10-01T22:27:44","subject":"Re: [PATCH 20/58] Hide internal regex functions [BZ #18822]","submitter":{"id":4387,"url":"http://patchwork.ozlabs.org/api/people/4387/","name":"H.J. Lu","email":"hjl.tools@gmail.com"},"content":"On 9/1/17, H.J. Lu <hjl.tools@gmail.com> wrote:\n> Hide internal regex functions to allow direct access within libc.so and\n> libc.a without using GOT nor PLT.\n>\n> \t[BZ #18822]\n> \t* include/regex.h (__re_compile_fastmap): Add attribute_hidden.\n> \t(__regcomp): Add libc_hidden_proto.\n> \t(__regexec): Likewise.\n> \t(__regfree): Likewise.\n> \t* posix/regcomp.c (__regcomp): Add libc_hidden_def.\n> \t(__regfree): Likewise.\n> \t* posix/regexec.c (__regexec): Likewise.\n\nTested with build-many-glibcs.py.  I am checking it in.","headers":{"Return-Path":"<libc-alpha-return-85212-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-85212-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=\"OWXjh4uK\"; 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 3y50L23y4kz9t2m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  2 Oct 2017 09:27:54 +1100 (AEDT)","(qmail 6287 invoked by alias); 1 Oct 2017 22:27:48 -0000","(qmail 6275 invoked by uid 89); 1 Oct 2017 22:27:48 -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:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:content-type; q=dns; s=default; b=ZWvCqFJ\n\t75g2I/FqTit/rmxe6QiD6tfM65ZarLUtscpYXdAKEyfpI6Zi5oiPXWu3nGYYCUBu\n\t7w4Mll5bX9o6Vy12jfftKuEbnYlzHR3KFhAGALiHq66cad4M/DIzFXDFwElJeRcV\n\tU4bCeMYbMLcaAYHCX22sZXg+Q4FYpzZPQ/uo=","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:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:content-type; s=default; bh=PFH7Y0nKFG8Qt\n\t5EuCXg63W7qQAE=; b=OWXjh4uKTbKWSyXKeQnpt8N5F/ECsGb0qy3ZDfKGEIRTs\n\t0CeufurM/zaaED/aeCDTrGtQXLVtIiQcgPfBfr7eERgaatnvmggewNiaZ03eMwAR\n\t09I3GIxll8gI1ljTh91A0jTte2IQydJivVqxuLJYBLdtRv8azbxuFJG+ExbQ+M=","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=-2.5 required=5.0 tests=AWL, BAYES_00,\n\tFREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM,\n\tSPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:576","X-HELO":"mail-oi0-f68.google.com","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to;\n\tbh=uyeYvyBndwM6EAlTuktoCbJTmd1uH3xGcOMkWPLSSO8=;\n\tb=DBJ6F3xHZtGT8EQ11VxEpcT365J2cVOU7DyGLP9uSUMoRPaKOzq84UwL2NA76w+VoM\n\t4MXMqnmsytelIgqmUyEw2zdCfIWDV7zEoXjoKVDE/QfLzi68C7ceipNq14sxzu91Ruw+\n\tUFML6TR7bm762wnvpRNKB5Gy3Kj7nYJ+lz9PKieHWzV3Fl37vtlTWd/P2gsiILffROaE\n\tePpy8LyJ94NxtgePWiCkAddBTgv6ZW/t5dQ6RZKN+c5WQkjlqHRlG3oEJEqKRDOeW5hh\n\tsN2jg4YvGjhFij/2mpENnhrF04tcgO7U3PVMHdQx5Q/jj/eTrKKI5ByN4rTr6Gfz3gsB\n\tZrew==","X-Gm-Message-State":"AMCzsaV5P/zxEVJgQF7+qoamlaMT5TfvQPB1tETQEsQRlla/bMhmjplD\n\t6ECWUgwvoqGIOO88vbBklrlcaTcbcCp7Yr/JBbw=","X-Google-Smtp-Source":"AOwi7QDsKqMo234nU88KFKiewu+gHOZK7pGbLNkzDo/CZzOtZ/AmpABtGpDbR8lJEDe6qb8w3tNkHAGPuyokM4R+4yw=","X-Received":"by 10.202.89.194 with SMTP id n185mr5972365oib.224.1506896865422;\n\tSun, 01 Oct 2017 15:27:45 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170901180029.9527-21-hjl.tools@gmail.com>","References":"<20170901180029.9527-1-hjl.tools@gmail.com>\n\t<20170901180029.9527-21-hjl.tools@gmail.com>","From":"\"H.J. Lu\" <hjl.tools@gmail.com>","Date":"Sun, 1 Oct 2017 15:27:44 -0700","Message-ID":"<CAMe9rOqfH0zV0TPnXihV+gR5Cg2YpSzZP+aT3R4jU1sPiU92+g@mail.gmail.com>","Subject":"Re: [PATCH 20/58] Hide internal regex functions [BZ #18822]","To":"libc-alpha@sourceware.org","Content-Type":"text/plain; charset=\"UTF-8\""}}]