[{"id":1771045,"web_url":"http://patchwork.ozlabs.org/comment/1771045/","msgid":"<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>","list_archive_url":null,"date":"2017-09-19T13:56:06","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":22438,"url":"http://patchwork.ozlabs.org/api/people/22438/","name":"Carlos O'Donell","email":"carlos@redhat.com"},"content":"On 09/19/2017 07:46 AM, Joseph Myers wrote:\n> As per https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01220.html hppa,\n> ia64 and microblaze default to non-executable stacks in the Linux\n> kernel.  glibc however defines DEFAULT_STACK_PERMS to include PF_X for\n> those architectures, meaning (a) elf/check-execstack fails and (b)\n> (from code inspection, not tested, but this is why I think this is a\n> user-visible bug) thread stacks are unnecessarily mapped with execute\n> permission.  This patch fixes the DEFAULT_STACK_PERMS definitions in\n> question.\n> \n> Tested (compilation only) with build-many-glibcs.py for those\n> configurations.  This fixes the check-execstack failure (hppa still\n> has a check-textrel failure as the only remaining issue stopping that\n> architecture having clean build-many-glibcs.py results; hopefully\n> architecture maintainers can help resolve that).\n\nI thought that PF_X was required for hppa because there was still code\ngenerated by gcc for hppa that needed it? Otherwise *I* would have\nremoved it when I did the PT_GNU_STACK cleanups for all the arches.\n\nDave is the best positioned to answer this question.","headers":{"Return-Path":"<libc-alpha-return-84737-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-84737-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=\"oiNN2SQ/\"; 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 3xxPYJ5RXkz9s7h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 19 Sep 2017 23:56:20 +1000 (AEST)","(qmail 57273 invoked by alias); 19 Sep 2017 13:56:12 -0000","(qmail 57238 invoked by uid 89); 19 Sep 2017 13:56:11 -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:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; q=dns; s=default; b=hzzGnb728uJNKvN6\n\txXQwhR+7Am6mZwrrY63ds04N1UoPu2352coMJIMVl7PTDzOJ119Cy8sCkUxsUsXY\n\ttcA51RNNkS70RjgOyiu3XnRDnkiVZ55lexfrPitGy5znGqwrvnK8zbT3zNCAaZpU\n\tDeE989wOsWjifw+yfcjRpSWDieI=","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:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; s=default; bh=Fy1TgnprPVxwvF5BpMYLAp\n\t08o5s=; b=oiNN2SQ/drM8WBsJHkR0tE0MPpknSELDzOalM/WpDV4rzGwUmoRKA+\n\tgUvWum7BCJd0QyhK1DTfhZ7VRQhGu7uQG/Y+6m5d1Oob7zpiu1YuHfblunoFprDk\n\tOl7sVSayCksA9TlfcSMuJJfgrOKd5bpEaSYhS91THk98MMwGunc3c=","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.0 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=","X-HELO":"mail-qk0-f180.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:subject:to:cc:references:from:organization\n\t:message-id:date:user-agent:mime-version:in-reply-to\n\t:content-language:content-transfer-encoding;\n\tbh=MXdqUWqxzYHJ/FBJ5TJNQ2mbO9aHfKjv6aDZvy2gk/Q=;\n\tb=jlSQ1pjNbh90V7YqzI4OLDL1YieRKLNDv+5jDBzqmn4YLUjBl107YvcUQJBeWaokBi\n\t03BBCgXMO8VIT56N1qZ0r2sScTBOUECzIsxM9CitHJ3kFAWdoP4mvHXIzFjwRWAirlVc\n\tN1RVPLcmc+XvYT/+NxJEBSwrQI3pOGQDZMDo7tLngN2SjBEiVe4q+rIRs63XuHQNMuur\n\tYbJ01Allp8+upsCZTso5fwbkIa2qButgTkxrR5qhUD9oFTiIkaQbOcsqgZ4bJSc5WMxz\n\tkZ7pSF3H7X9qw8iwQcRHucmN3bEo54RC7A0R8SrCpOPeuGjjYRpjaGvn02IrYpU0CJg7\n\tXDgg==","X-Gm-Message-State":"AHPjjUjkyQY87zoA55iaHoVE+40qsb9H9jOC2Ve/xXt366OjeSTmwb1w\n\tFUJCWG6NMNeyUiL7BDK+Zo2DKJsfSEk=","X-Google-Smtp-Source":"AOwi7QBPnpZ9IzA+TLotrYHgREL8lSNgt97wz24HBE8RjaRV6RNUoMPXfQzzOES8eJ1EJm9MT0tH/A==","X-Received":"by 10.55.87.133 with SMTP id l127mr1971056qkb.212.1505829368901; \n\tTue, 19 Sep 2017 06:56:08 -0700 (PDT)","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","To":"Joseph Myers <joseph@codesourcery.com>, libc-alpha@sourceware.org,\n\tdave.anglin@bell.net","Cc":"vapier@gentoo.org","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>","From":"Carlos O'Donell <carlos@redhat.com>","Message-ID":"<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>","Date":"Tue, 19 Sep 2017 07:56:06 -0600","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit"}},{"id":1771095,"web_url":"http://patchwork.ozlabs.org/comment/1771095/","msgid":"<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>","list_archive_url":null,"date":"2017-09-19T14:42:35","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":4400,"url":"http://patchwork.ozlabs.org/api/people/4400/","name":"Jeff Law","email":"law@redhat.com"},"content":"On 09/19/2017 07:56 AM, Carlos O'Donell wrote:\n> On 09/19/2017 07:46 AM, Joseph Myers wrote:\n>> As per https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01220.html hppa,\n>> ia64 and microblaze default to non-executable stacks in the Linux\n>> kernel.  glibc however defines DEFAULT_STACK_PERMS to include PF_X for\n>> those architectures, meaning (a) elf/check-execstack fails and (b)\n>> (from code inspection, not tested, but this is why I think this is a\n>> user-visible bug) thread stacks are unnecessarily mapped with execute\n>> permission.  This patch fixes the DEFAULT_STACK_PERMS definitions in\n>> question.\n>>\n>> Tested (compilation only) with build-many-glibcs.py for those\n>> configurations.  This fixes the check-execstack failure (hppa still\n>> has a check-textrel failure as the only remaining issue stopping that\n>> architecture having clean build-many-glibcs.py results; hopefully\n>> architecture maintainers can help resolve that).\n> \n> I thought that PF_X was required for hppa because there was still code\n> generated by gcc for hppa that needed it? Otherwise *I* would have\n> removed it when I did the PT_GNU_STACK cleanups for all the arches.\n> \n> Dave is the best positioned to answer this question.\nI don't think the PA was ever converted to the new bits from the Adacore\nguys -- meaning I think it still generates executable stack trampolines\nfor nested functions.\n\nDave would know for sure :-)\n\njeff","headers":{"Return-Path":"<libc-alpha-return-84738-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-84738-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=\"JYNMjuN8\"; dkim-atps=neutral","sourceware.org; auth=none","ext-mx03.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx03.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=law@redhat.com"],"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 3xxQZz2R6dz9s7m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 00:42:51 +1000 (AEST)","(qmail 35292 invoked by alias); 19 Sep 2017 14:42:45 -0000","(qmail 35273 invoked by uid 89); 19 Sep 2017 14:42:45 -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:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; q=dns; s=default; b=LKM1bT9OCxXrlrHY\n\t8EZikYrXxehpzBrqXmkSbNcb3Je+k6IqNNIXosf7HmmoBHEOo+igSGByU/41sgy7\n\t2KQ8SytQaJLho8LWwBZ01Qb2UlwNZ9ncSHSwNAE07nrgJ+AZjYqMy7Y9yMK9ODVi\n\tKc4j6e0nLC5jcP+czm5wy+TR0OM=","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:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; s=default; bh=DNcIhFG0DmxnuW1xMauLWq\n\tOwlZ4=; b=JYNMjuN8CsxHYu6l//7M+P1uUMee5VQeirW4Qo3t3rf815cDPMzZ6u\n\tcaysfMAaO+04wc7ChulC4zaX42pDeDo8aZq4WMZ7mUGW5vE9W708UYaWV+yXgNHj\n\tlaP97KtkXzRb2NfV/F6mVmbdLZrDZNCH8FV8ZNLI++odowL9LZDnk=","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=-0.9 required=5.0 tests=BAYES_00,\n\tKAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD,\n\tSPF_HELO_PASS autolearn=no version=3.3.2 spammy=","X-HELO":"mx1.redhat.com","DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 705CF7E445","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","To":"Carlos O'Donell <carlos@redhat.com>,\n\tJoseph Myers <joseph@codesourcery.com>, libc-alpha@sourceware.org,\n\tdave.anglin@bell.net","Cc":"vapier@gentoo.org","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>","From":"Jeff Law <law@redhat.com>","Message-ID":"<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>","Date":"Tue, 19 Sep 2017 08:42:35 -0600","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-Version":"1.0","In-Reply-To":"<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit"}},{"id":1771111,"web_url":"http://patchwork.ozlabs.org/comment/1771111/","msgid":"<alpine.DEB.2.20.1709191444590.10975@digraph.polyomino.org.uk>","list_archive_url":null,"date":"2017-09-19T14:50:21","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":4349,"url":"http://patchwork.ozlabs.org/api/people/4349/","name":"Joseph Myers","email":"joseph@codesourcery.com"},"content":"On Tue, 19 Sep 2017, Jeff Law wrote:\n\n> > I thought that PF_X was required for hppa because there was still code\n> > generated by gcc for hppa that needed it? Otherwise *I* would have\n> > removed it when I did the PT_GNU_STACK cleanups for all the arches.\n> > \n> > Dave is the best positioned to answer this question.\n> I don't think the PA was ever converted to the new bits from the Adacore\n> guys -- meaning I think it still generates executable stack trampolines\n> for nested functions.\n> \n> Dave would know for sure :-)\n\nIf Andreas's description of the kernel default is correct, I'd expect that \nto mean that any attempt to call a pointer to a nested function would \nalready fail because the kernel had in fact mapped the stack \nnon-executable (so the glibc patch would accurately reflect what the \nkernel does - a GCC patch would *also* be needed for pointers to nested \nfunctions to work, but it would only need to output stack markers in the \ncase where trampolines had been generated, to request an executable stack \nin that case).","headers":{"Return-Path":"<libc-alpha-return-84739-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-84739-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=\"dR9E6fIZ\"; 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 3xxQlz5CPTz9s7m\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 00:50:39 +1000 (AEST)","(qmail 64867 invoked by alias); 19 Sep 2017 14:50:33 -0000","(qmail 64332 invoked by uid 89); 19 Sep 2017 14:50:32 -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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; q=dns; s=default; b=WZylx\n\t3VWsse/L0aIwO9b25UDuASRqosSZIJrHU8o2NI+qA/gYwcQc1CW82gS3Iy8v+qT8\n\tggy0HmaSDsiUFPrrqHDEwAcpBU3sBLIdw6Ba+b/jaKfKZXeXGcFQx4GA3pQnxjG9\n\txI0rRpPB9VmUxCgEgz26z9nshkCEU3dPp3cJuo=","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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; s=default; bh=VkPhXfuUFlZ\n\toM/aPTxuZUgsbAV4=; b=dR9E6fIZvL2GMd4Y6XrnuheD0oc8A5/Mf0Fkn1ZwabQ\n\tqmLxP4/Bcm+58DV6lQy6grGu/itQgSc4CxfoE3sjfz0XeZOpbX/fxa/hYORACGXK\n\tTkgttaZ2gof8VuP8xggEOqzJn9LIOrGY3pK8THl1GlV4q8hf+pCYEjR8Ipdi2gUg\n\t=","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.0 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=accurately","X-HELO":"relay1.mentorg.com","Date":"Tue, 19 Sep 2017 14:50:21 +0000","From":"Joseph Myers <joseph@codesourcery.com>","To":"Jeff Law <law@redhat.com>","CC":"Carlos O'Donell <carlos@redhat.com>, <libc-alpha@sourceware.org>,\n\t<dave.anglin@bell.net>, <vapier@gentoo.org>","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","In-Reply-To":"<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>","Message-ID":"<alpine.DEB.2.20.1709191444590.10975@digraph.polyomino.org.uk>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"US-ASCII\"","X-ClientProxiedBy":"svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To\n\tsvr-ies-mbx-01.mgc.mentorg.com (139.181.222.1)"}},{"id":1771119,"web_url":"http://patchwork.ozlabs.org/comment/1771119/","msgid":"<mvm377i68o2.fsf@suse.de>","list_archive_url":null,"date":"2017-09-19T14:54:21","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":37,"url":"http://patchwork.ozlabs.org/api/people/37/","name":"Andreas Schwab","email":"schwab@suse.de"},"content":"On Sep 19 2017, Jeff Law <law@redhat.com> wrote:\n\n> I don't think the PA was ever converted to the new bits from the Adacore\n> guys -- meaning I think it still generates executable stack trampolines\n> for nested functions.\n\nBut that should trigger emitting a stack note, overriding the default.\nIt's the absence of the note that is relevant here.\n\nAndreas.","headers":{"Return-Path":"<libc-alpha-return-84740-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-84740-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=\"TbIuncpc\"; 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 3xxQtK6R7qz9sMN\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 00:56:09 +1000 (AEST)","(qmail 111498 invoked by alias); 19 Sep 2017 14:56:04 -0000","(qmail 111002 invoked by uid 89); 19 Sep 2017 14:56:03 -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:cc:subject:references:date:in-reply-to\n\t:message-id:mime-version:content-type; q=dns; s=default; b=rZzMi\n\ttAIRrIesnn7BEOo8o0xis+1QGcTNBz0KKqjOqfTbqiszKvJIeMwmMxAMjKe/EIuK\n\t8e7/ZlBFWtULaqAgQGBNGjGYHBDYDwlHTj2Q+XOE3yX6lpoMtgiuDg2mXriPRuKl\n\tpsp3oyRNLbiZO0oGgJ/qcceTPBDPrA00cy0v7I=","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:cc:subject:references:date:in-reply-to\n\t:message-id:mime-version:content-type; s=default; bh=DHivjU7yfQJ\n\tasPYUcjvA7eeCe2I=; b=TbIuncpcjRDh8Ffu/BWbD6Ks60QeAEZf6BC7ruSWog+\n\ttocN7TyWLS7x8nmU23jSqLCOHkkcUSdkA69mta50dvKqTJ69Zm2xMjKubXfDab9a\n\tYPg9s7OlbYcLWgcR8JYeWByCY3rXJtwGmVpUwg2IP+0Rin1fZVfN6wjJc/OoRs3U\n\t=","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=-1.9 required=5.0 tests=BAYES_00,\n\tRP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=","X-HELO":"mx1.suse.de","From":"Andreas Schwab <schwab@suse.de>","To":"Jeff Law <law@redhat.com>","Cc":"Carlos O'Donell <carlos@redhat.com>,\n\tJoseph Myers <joseph@codesourcery.com>,\n\tlibc-alpha@sourceware.org, dave.anglin@bell.net, vapier@gentoo.org","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>","X-Yow":"As President I have to go vacuum my coin collection!","Date":"Tue, 19 Sep 2017 16:54:21 +0200","In-Reply-To":"<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com> (Jeff Law's\n\tmessage of \"Tue, 19 Sep 2017 08:42:35 -0600\")","Message-ID":"<mvm377i68o2.fsf@suse.de>","User-Agent":"Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)","MIME-Version":"1.0","Content-Type":"text/plain"}},{"id":1771178,"web_url":"http://patchwork.ozlabs.org/comment/1771178/","msgid":"<577c57df-f4db-420b-9cec-cc1d9b2a9dc3@redhat.com>","list_archive_url":null,"date":"2017-09-19T16:00:34","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":22438,"url":"http://patchwork.ozlabs.org/api/people/22438/","name":"Carlos O'Donell","email":"carlos@redhat.com"},"content":"On 09/19/2017 08:54 AM, Andreas Schwab wrote:\n> It's the absence of the note that is relevant here.\n\nIt can't be safe to override this?\n\nThis breaks backwards compatibility with old binaries that don't have PT_GNU_STACK\nbut need executable stacks?\n\nI thought perhaps we were arguing to make old binaries\nsafer, at the risk of breaking some of them.","headers":{"Return-Path":"<libc-alpha-return-84748-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-84748-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=\"FVyZDnWs\"; 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 3xxSJy2fwlz9sPm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 02:00:50 +1000 (AEST)","(qmail 113581 invoked by alias); 19 Sep 2017 16:00:41 -0000","(qmail 113294 invoked by uid 89); 19 Sep 2017 16:00:40 -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:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; q=dns; s=default; b=HKQJ5jpTKMk5oB38\n\t9v6L18Z3KVbeAnWyVhwOdICCtChDlofQBrY1wxVqYzgMOvEINiz9zrEm/EUC5sTb\n\t69lMStf7SZbslPRwYlwkYuVKhKqKV5giHQ+yF1CWaM2hSZ44pnQqVpRCtzOuSC2f\n\tnLkzIp6Q98aCsUgA6B5yFt+9+YE=","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:subject:to:cc:references:from:message-id:date\n\t:mime-version:in-reply-to:content-type\n\t:content-transfer-encoding; s=default; bh=NNWrWCYd+gT7WJmL+jW3+W\n\t12nUE=; b=FVyZDnWsYTsgNVz7xAGiqCF5gTdmGHSKQCmCzTzcK9RizM+6tIapOx\n\tfjIjRZzBmsapE8kgQGy5jiUP6ing68lfxETNJIuUUHj55hviYBJnWiOH1VeV20Wq\n\tddxqrzgq4++vVsGZuNTFDBJHFEaW3EVHK4rtalPjSX/cjKUUnWDw4=","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=-1.9 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE,\n\tRCVD_IN_SORBS_SPAM autolearn=no version=3.3.2\n\tspammy=Hx-languages-length:436, risk","X-HELO":"mail-qk0-f174.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:subject:to:cc:references:from:organization\n\t:message-id:date:user-agent:mime-version:in-reply-to\n\t:content-language:content-transfer-encoding;\n\tbh=AchmLpIpFbWZVWD9QX67Q+z2zLF3RJazYNmpM7nwXqw=;\n\tb=Z1G/EA4a/WmKdRa4pwrI0qxOpwjngSVsWeGvU74mop+2H1QwtAP9lZe8hcS2QZSaic\n\tOvqQcpdt03dbG5wGbNEliC3dvlLlQVHKr9pt2SXSmJNC3SHY858cdz3sKyv9XtiXppWe\n\tyM0ZpFH/EkXi78EUyepaqE3YeDoGbmNGAGCrIX2WUQdkjpjJClR1+axgQaBko2N5pG8o\n\tEam4A6W5brIL7R4toA18TXMb6Z5UGYUGQOp8uu3nTOYGcTtg/kvJoFpAJxRJLCZgjM2Z\n\tSfMoo1PZzEzulh2LUxU6TX8r96hM0OiQ4bFUVxnAoWopLFaJqOSOKy4cr2SdzcilR1V+\n\tFImg==","X-Gm-Message-State":"AHPjjUgKmiLUpthW5gzuAwHx82wNwuo1baA+2ebkm6rQJAng+BG5tIh3\n\tjXVIKM/OAPjFEivq6kwqQvhzBTGlzbA=","X-Google-Smtp-Source":"AOwi7QBmw7ZLtqYWXxh/X5gz01jXv21G97Lpqmjf6MXlCFY+Tnzuc+PxRSSqW0wdGmFByiRmfIQauQ==","X-Received":"by 10.55.43.234 with SMTP id r103mr2617702qkr.334.1505836837974; \n\tTue, 19 Sep 2017 09:00:37 -0700 (PDT)","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","To":"Andreas Schwab <schwab@suse.de>, Jeff Law <law@redhat.com>","Cc":"Joseph Myers <joseph@codesourcery.com>, libc-alpha@sourceware.org,\n\tdave.anglin@bell.net, vapier@gentoo.org","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<mvm377i68o2.fsf@suse.de>","From":"Carlos O'Donell <carlos@redhat.com>","Message-ID":"<577c57df-f4db-420b-9cec-cc1d9b2a9dc3@redhat.com>","Date":"Tue, 19 Sep 2017 10:00:34 -0600","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.3.0","MIME-Version":"1.0","In-Reply-To":"<mvm377i68o2.fsf@suse.de>","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit"}},{"id":1771188,"web_url":"http://patchwork.ozlabs.org/comment/1771188/","msgid":"<alpine.DEB.2.20.1709191602020.10975@digraph.polyomino.org.uk>","list_archive_url":null,"date":"2017-09-19T16:12:17","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":4349,"url":"http://patchwork.ozlabs.org/api/people/4349/","name":"Joseph Myers","email":"joseph@codesourcery.com"},"content":"On Tue, 19 Sep 2017, Carlos O'Donell wrote:\n\n> On 09/19/2017 08:54 AM, Andreas Schwab wrote:\n> > It's the absence of the note that is relevant here.\n> \n> It can't be safe to override this?\n> \n> This breaks backwards compatibility with old binaries that don't have PT_GNU_STACK\n> but need executable stacks?\n> \n> I thought perhaps we were arguing to make old binaries\n> safer, at the risk of breaking some of them.\n\nMy understanding is:\n\n(a) As per Andreas, the kernel defaults to non-executable stacks on these \nthree architectures.\n\n(b) That is, if ld.so has no PT_GNU_STACK, the stack is non-executable; if \nld.so does have PT_GNU_STACK, the kernel sets the permissions on the stack \naccordingly (which can include making it executable for trampoline use \nwhen the default is non-executable).\n\n(c) At present, these GCC ports will never create PT_GNU_STACK markings to \nindicate that a trampoline needs an executable stack (if it does).\n\n(d) glibc presumes that the kernel set the stack permissions to \nDEFAULT_STACK_PERMS.  If the executable or a loaded shared library \nintroduces an executable stack requirement, the dynamic linker can make \nthe stack executable - but it will never do so if it thinks the kernel \nalready did so.\n\n(e) DEFAULT_STACK_PERMS is used when creating thread stacks.\n\nNow, if trampolines need executable stacks (and in some cases, especially \nwith function descriptors, they may not) but work at present on those \narchitectures with the default stack (rather than a thread stack), that \nsuggests there is something wrong with the above analysis.","headers":{"Return-Path":"<libc-alpha-return-84749-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-84749-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=\"dEYrBo6z\"; 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 3xxSZY730Yz9rvt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 02:12:37 +1000 (AEST)","(qmail 110462 invoked by alias); 19 Sep 2017 16:12:31 -0000","(qmail 109646 invoked by uid 89); 19 Sep 2017 16:12:30 -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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; q=dns; s=default; b=Wdh4n\n\tyCKOyBGncNbVXqrmEDySM2mh7r3/AY5DPFxHY3PuTVZJBfw2nnpxPhcOUnrZ5ZR7\n\tOe3uHq37KF/HK+Uu7stVUkI7jAiWA9atmbxCgkkoqHtzetfsJ3m2Yq0bHfQn94bJ\n\tctxQAs5+9zEYpNNveAGalMzKcTsvND3diYbF4s=","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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; s=default; bh=UxW82lLHGYw\n\t7ZNC5q3EMhjrucI0=; b=dEYrBo6zdu3802H0HV9QporzSqKQJ/KH6GkApLdUZK3\n\tQ96aUlTO6khjYruoVA+fmNEztSdkHzCvaJ9a5dq5gmmdcGZYUa+W+/seQHGpyeoz\n\tiuGiQG/CucKh4gCN5ojibK/2xFrJcMvZg8NMq3WzSuzkCtSdRI34jXPMrqI2bohg\n\t=","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.0 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=risk","X-HELO":"relay1.mentorg.com","Date":"Tue, 19 Sep 2017 16:12:17 +0000","From":"Joseph Myers <joseph@codesourcery.com>","To":"Carlos O'Donell <carlos@redhat.com>","CC":"Andreas Schwab <schwab@suse.de>, Jeff Law <law@redhat.com>,\n\t<libc-alpha@sourceware.org>, <dave.anglin@bell.net>, <vapier@gentoo.org>","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","In-Reply-To":"<577c57df-f4db-420b-9cec-cc1d9b2a9dc3@redhat.com>","Message-ID":"<alpine.DEB.2.20.1709191602020.10975@digraph.polyomino.org.uk>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<mvm377i68o2.fsf@suse.de>\n\t<577c57df-f4db-420b-9cec-cc1d9b2a9dc3@redhat.com>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"US-ASCII\"","X-ClientProxiedBy":"svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To\n\tsvr-ies-mbx-01.mgc.mentorg.com (139.181.222.1)"}},{"id":1773708,"web_url":"http://patchwork.ozlabs.org/comment/1773708/","msgid":"<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>","list_archive_url":null,"date":"2017-09-22T15:54:44","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":8491,"url":"http://patchwork.ozlabs.org/api/people/8491/","name":"John David Anglin","email":"dave.anglin@bell.net"},"content":"On 2017-09-19, at 10:42 AM, Jeff Law wrote:\n\n> I don't think the PA was ever converted to the new bits from the Adacore\n> guys -- meaning I think it still generates executable stack trampolines\n> for nested functions.\n\nYes.\n\nDave\n--\nJohn David Anglin\tdave.anglin@bell.net","headers":{"Return-Path":"<libc-alpha-return-84852-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-84852-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=\"eIlPLEke\"; 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 3xzJ2k3wD4z9t3h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:54:54 +1000 (AEST)","(qmail 63535 invoked by alias); 22 Sep 2017 15:54:48 -0000","(qmail 63526 invoked by uid 89); 22 Sep 2017 15:54: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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; q=dns; s=default; b=RZmWQ4XY8i2E/CJQHsp0bkYYCfix\n\tuIaTKI2XpGjjOobuwYn0YUHZ0YxAxCXz1Vcue2mLXf9tXoXxScAmbxBKUp+yks5N\n\tSemno3VyXKgSKZl5+oWQEXSSArhL7bCcsecdx0vmhF5U67wB0i7jFAgU4Hok/m0G\n\tCaoRj1YJe52cwzg=","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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; s=default; bh=7glFdxvVLWXK2Va7VB96HUUM0Kw=; b=eI\n\tlPLEkehqmtLvQX5AEwpkcWfrkjpNvdoB+vMpNCAcJC2EP1uMKfiOBPty7MPRcVRg\n\tE9jrP/xLK+uTQ0T1ruxaLAm7lA4i4c+Pkj9Wotwy0IOKXojPHblrje6s6PHVYjoo\n\tbC5yjuoFa0XbxOSYMv4AixaMWFeayYGbWL2e3zWBA=","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.6 required=5.0 tests=BAYES_00,\n\tRCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS,\n\tUNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=H*r:192.168.2","X-HELO":"torfep01.bell.net","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","Mime-Version":"1.0 (Apple Message framework v1085)","Content-Type":"text/plain; charset=us-ascii","From":"John David Anglin <dave.anglin@bell.net>","In-Reply-To":"<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>","Date":"Fri, 22 Sep 2017 11:54:44 -0400","Cc":"Carlos O'Donell <carlos@redhat.com>,\n\tJoseph Myers <joseph@codesourcery.com>, libc-alpha@sourceware.org,\n\tvapier@gentoo.org","Content-Transfer-Encoding":"7bit","Message-Id":"<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>","To":"Jeff Law <law@redhat.com>"}},{"id":1773720,"web_url":"http://patchwork.ozlabs.org/comment/1773720/","msgid":"<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>","list_archive_url":null,"date":"2017-09-22T16:08:47","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":4349,"url":"http://patchwork.ozlabs.org/api/people/4349/","name":"Joseph Myers","email":"joseph@codesourcery.com"},"content":"On Fri, 22 Sep 2017, John David Anglin wrote:\n\n> On 2017-09-19, at 10:42 AM, Jeff Law wrote:\n> \n> > I don't think the PA was ever converted to the new bits from the Adacore\n> > guys -- meaning I think it still generates executable stack trampolines\n> > for nested functions.\n> \n> Yes.\n\nWe now have two different contradictory assertions about hppa, here and \n<https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01449.html>.\n\nCan someone with hppa-linux hardware confirm what stack permissions the \nkernel in fact starts processes with in the absence of GNU-stack markers \n(Andreas's analysis indicates non-executable), what if any changes glibc \nmakes to those permissions after process creation, and whether trampolines \nwork in such a process?  Testing whether my glibc patch changes the \nanswers to any of those questions would be a bonus.","headers":{"Return-Path":"<libc-alpha-return-84853-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-84853-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=\"MIkTgKzZ\"; 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 3xzJMB3kTKz9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 02:09:10 +1000 (AEST)","(qmail 31454 invoked by alias); 22 Sep 2017 16:09:01 -0000","(qmail 31395 invoked by uid 89); 22 Sep 2017 16:09:00 -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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; q=dns; s=default; b=QxJfD\n\t04hu072z/VM+jmX4w5RJNjUD1+riYsjgUmp2l80TLk98AmE0UmsBTyqAJ4JvHDLk\n\tZVc3zvRloNrGK1Ka3GO/t/gJ/yVxY5mJjX0jGZis1F5RCPagdetv5Na9yF1r1p5G\n\tVzPqLmkptH2sr3+uyY5ido1a3P7kD+rQr2wRyg=","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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; s=default; bh=QR8LTrCW8Ay\n\tR5wD5b/4ceirQATI=; b=MIkTgKzZa/p/UgE6tmRazcvQ9hP8XSzgwMqBa0NedoT\n\t8vDx/YkgsMPTM/UGjZl7vll6ib1BEb5GtqwQsY1iDUxtUE03LqjEtAvf/cuQhbgb\n\tj0xVWiSLTBRFs72oMu4evsL2gMsXIbtqjeD/gq6kS/rQRN86AByr9d3GzUJJzT4g\n\t=","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.0 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=","X-HELO":"relay1.mentorg.com","Date":"Fri, 22 Sep 2017 16:08:47 +0000","From":"Joseph Myers <joseph@codesourcery.com>","To":"John David Anglin <dave.anglin@bell.net>","CC":"Jeff Law <law@redhat.com>, Carlos O'Donell <carlos@redhat.com>,\n\t<libc-alpha@sourceware.org>, <vapier@gentoo.org>","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","In-Reply-To":"<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>","Message-ID":"<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"US-ASCII\"","X-ClientProxiedBy":"svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To\n\tsvr-ies-mbx-01.mgc.mentorg.com (139.181.222.1)"}},{"id":1773806,"web_url":"http://patchwork.ozlabs.org/comment/1773806/","msgid":"<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>","list_archive_url":null,"date":"2017-09-22T18:04:46","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":8491,"url":"http://patchwork.ozlabs.org/api/people/8491/","name":"John David Anglin","email":"dave.anglin@bell.net"},"content":"On 2017-09-22, at 12:08 PM, Joseph Myers wrote:\n\n> On Fri, 22 Sep 2017, John David Anglin wrote:\n> \n>> On 2017-09-19, at 10:42 AM, Jeff Law wrote:\n>> \n>>> I don't think the PA was ever converted to the new bits from the Adacore\n>>> guys -- meaning I think it still generates executable stack trampolines\n>>> for nested functions.\n>> \n>> Yes.\n> \n> We now have two different contradictory assertions about hppa, here and \n> <https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01449.html>.\n> \n> Can someone with hppa-linux hardware confirm what stack permissions the \n> kernel in fact starts processes with in the absence of GNU-stack markers \n> (Andreas's analysis indicates non-executable), what if any changes glibc \n> makes to those permissions after process creation, and whether trampolines \n> work in such a process?  Testing whether my glibc patch changes the \n> answers to any of those questions would be a bonus.\n\n\nThis is what I see for /bin/bash when we reach main:\nf8d01000-f8d23000 rwxp 00000000 00:00 0                                  [stack]\n\nThis what I see for ld.so at _start:\nf8d01000-f8d23000 rwxp 00000000 00:00 0                                  [stack]\n\nDon't see any GNU-stack markers in either.\n\nI'll try to test patch this weekend.\n\nDave\n--\nJohn David Anglin\tdave.anglin@bell.net","headers":{"Return-Path":"<libc-alpha-return-84861-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-84861-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=\"qMuek+Z/\"; 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 3xzLwn5SKkz9t3h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 04:04:57 +1000 (AEST)","(qmail 99203 invoked by alias); 22 Sep 2017 18:04:50 -0000","(qmail 99165 invoked by uid 89); 22 Sep 2017 18:04:50 -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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; q=dns; s=default; b=T+0K7j2kVRepchDnrQH9+yt4Ma+R\n\tehReWOV1V/E2lQCBVINgOeJolBakdpqaztVvUM5EczEEGYr3wINXYBT5CN18EvgD\n\tSwXnNJZlUnoYSbi67sJcyNqCXryz/vy1CpatMYCXVKiyYYcKSXWyl4l/aStR5kbA\n\t5HpsPUWtjoGNwSc=","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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; s=default; bh=0Pb26UlvHGlt3jjFq48YuSC9Mc4=; b=qM\n\tuek+Z/MVrCq6/Zk3S9bAnvuYPdrYTzKRos2Dwwv1SNhXhP+ri9juNpZ5JTvwfBFq\n\tsppy+H5C5PwqziA95iorKEtqYtW9K5ukjKrR/Hs6zUmkmsI9H0/Phckt0dbvlJ6e\n\tNw73qUnWXydAtWIXOTcIgw4naKCdNidvYCi8SWKQU=","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.6 required=5.0 tests=BAYES_00,\n\tRCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS,\n\tUNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=","X-HELO":"torfep02.bell.net","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","Mime-Version":"1.0 (Apple Message framework v1085)","Content-Type":"text/plain; charset=us-ascii","From":"John David Anglin <dave.anglin@bell.net>","In-Reply-To":"<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>","Date":"Fri, 22 Sep 2017 14:04:46 -0400","Cc":"Jeff Law <law@redhat.com>, Carlos O'Donell <carlos@redhat.com>,\n\tGNU C Library <libc-alpha@sourceware.org>,\n\tMike Frysinger <vapier@gentoo.org>, Helge Deller <deller@gmx.de>","Content-Transfer-Encoding":"quoted-printable","Message-Id":"<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>\n\t<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>","To":"Joseph Myers <joseph@codesourcery.com>"}},{"id":1773849,"web_url":"http://patchwork.ozlabs.org/comment/1773849/","msgid":"<alpine.DEB.2.20.1709221958580.13274@digraph.polyomino.org.uk>","list_archive_url":null,"date":"2017-09-22T20:11:17","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":4349,"url":"http://patchwork.ozlabs.org/api/people/4349/","name":"Joseph Myers","email":"joseph@codesourcery.com"},"content":"On Fri, 22 Sep 2017, John David Anglin wrote:\n\n> > Can someone with hppa-linux hardware confirm what stack permissions the \n> > kernel in fact starts processes with in the absence of GNU-stack markers \n> > (Andreas's analysis indicates non-executable), what if any changes glibc \n> > makes to those permissions after process creation, and whether trampolines \n> > work in such a process?  Testing whether my glibc patch changes the \n> > answers to any of those questions would be a bonus.\n> \n> \n> This is what I see for /bin/bash when we reach main:\n> f8d01000-f8d23000 rwxp 00000000 00:00 0                                  [stack]\n> \n> This what I see for ld.so at _start:\n> f8d01000-f8d23000 rwxp 00000000 00:00 0                                  [stack]\n> \n> Don't see any GNU-stack markers in either.\n> \n> I'll try to test patch this weekend.\n\nThanks.\n\nGiven what Andreas said at \n<https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01220.html>, does this mean \nthere are other causes of executable stacks in the kernel, such as \nVM_STACK_DEFAULT_FLAGS?  If so, maybe hppa and microblaze do in fact need \nthe GCC patch rather than the glibc one?","headers":{"Return-Path":"<libc-alpha-return-84868-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-84868-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=\"GjIc3kRC\"; 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 3xzPkx2mK4z9t32\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 06:11:37 +1000 (AEST)","(qmail 25325 invoked by alias); 22 Sep 2017 20:11:31 -0000","(qmail 25315 invoked by uid 89); 22 Sep 2017 20:11:30 -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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; q=dns; s=default; b=IL7ik\n\tjCYO+943h+ct8arUQ83ycdQGHhL3LglDT4Ms3kS5QNE1n8QYlbX9CO0riG7tvpRs\n\tKNGQ2WAUdAgdaLfzdkyBAo0TE2e5F2uS4Wo0hxZu7ZqiBkGnlTUBvIEsINA1Wsef\n\tXmMjVT3+LDjTlYQ6tgnbwfEfZ+eTQ8HqfBkoik=","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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; s=default; bh=sMmeLsXGNVP\n\tx6jwZ6mDNfT1Eglk=; b=GjIc3kRCd53PnvQDJM3wZO/EgrAdycqwHb9bgn+YRhF\n\tqXDvMRwTnUmlKBDUe4OKQFz+7L0nPw0a8z9KZJxYnl9GBjJC4OVDAxW+9azcOxjL\n\tKH/d5VpfOqgEoNeKTcoLpRQZ4MV5lC+L+RCjf1X6Hs9oQa4omzhxZNi/7t4U7vAs\n\t=","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.0 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=","X-HELO":"relay1.mentorg.com","Date":"Fri, 22 Sep 2017 20:11:17 +0000","From":"Joseph Myers <joseph@codesourcery.com>","To":"John David Anglin <dave.anglin@bell.net>","CC":"Jeff Law <law@redhat.com>, Carlos O'Donell <carlos@redhat.com>, GNU C\n\tLibrary <libc-alpha@sourceware.org>, Mike Frysinger <vapier@gentoo.org>, \n\tHelge Deller <deller@gmx.de>","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","In-Reply-To":"<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>","Message-ID":"<alpine.DEB.2.20.1709221958580.13274@digraph.polyomino.org.uk>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>\n\t<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>\n\t<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"US-ASCII\"","X-ClientProxiedBy":"svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To\n\tsvr-ies-mbx-01.mgc.mentorg.com (139.181.222.1)"}},{"id":1773868,"web_url":"http://patchwork.ozlabs.org/comment/1773868/","msgid":"<6824D638-F25C-4773-8963-740251D9523A@bell.net>","list_archive_url":null,"date":"2017-09-22T20:28:03","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":8491,"url":"http://patchwork.ozlabs.org/api/people/8491/","name":"John David Anglin","email":"dave.anglin@bell.net"},"content":"On 2017-09-22, at 4:11 PM, Joseph Myers wrote:\n\n> Given what Andreas said at \n> <https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01220.html>, does this mean \n> there are other causes of executable stacks in the kernel, such as \n> VM_STACK_DEFAULT_FLAGS?  If so, maybe hppa and microblaze do in fact need \n> the GCC patch rather than the glibc one?\n\nVM_STACK_DEFAULT_FLAGS defaults to VM_DATA_DEFAULT_FLAGS when it is\nnot defined, and it is not defined on hppa.\n\nOn hppa,  VM_DATA_DEFAULT_FLAGS, and it is:\n\n#define VM_DATA_DEFAULT_FLAGS   (VM_READ | VM_WRITE | VM_EXEC | \\\n                                 VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)\n\nDave\n--\nJohn David Anglin\tdave.anglin@bell.net","headers":{"Return-Path":"<libc-alpha-return-84882-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-84882-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=\"Wy/V0Gkk\"; 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 3xzQ7Z5SZBz9t32\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 06:29:30 +1000 (AEST)","(qmail 71347 invoked by alias); 22 Sep 2017 20:28:08 -0000","(qmail 71315 invoked by uid 89); 22 Sep 2017 20:28:08 -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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; q=dns; s=default; b=oYOngwRbBizACu+M6Nflnshveija\n\tYt8yrzsNUB1k+m56ksb2FdkrpXzFmjlDOxXZFUU60w5QGCJpBnwkGIapTjoXazj3\n\tR1EubhFYfOS85Ydf+QiJNJxn43xtM/x75a2R+rOvI2HTVq/A758UjXS2tAWq6Sna\n\tyoKhq7XoPiVTpwc=","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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; s=default; bh=TyFdhOZ1MKNspnfMrGlj95EUSoI=; b=Wy\n\t/V0Gkk9h5OSZ8NR8TDQGxhx7M15FvHblkoqy79fqgKM8YIcCiaRcRG3nJERwqoCr\n\tMeYgEaj5NNiF8rNMHx8AHyM1IA+IEGhh7g8RZwl56LowE2DKZwmsNtdjgRwL0G0H\n\taJZcydAHOBGPuKrcbBM0Gci3KdVtPT9sXNVAjVKpg=","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.6 required=5.0 tests=BAYES_00,\n\tRCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS,\n\tUNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=","X-HELO":"mtlfep02.bell.net","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","Mime-Version":"1.0 (Apple Message framework v1085)","Content-Type":"text/plain; charset=us-ascii","From":"John David Anglin <dave.anglin@bell.net>","In-Reply-To":"<alpine.DEB.2.20.1709221958580.13274@digraph.polyomino.org.uk>","Date":"Fri, 22 Sep 2017 16:28:03 -0400","Cc":"Jeff Law <law@redhat.com>, Carlos O'Donell <carlos@redhat.com>,\n\tGNU C Library <libc-alpha@sourceware.org>,\n\tMike Frysinger <vapier@gentoo.org>, Helge Deller <deller@gmx.de>","Content-Transfer-Encoding":"7bit","Message-Id":"<6824D638-F25C-4773-8963-740251D9523A@bell.net>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>\n\t<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>\n\t<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>\n\t<alpine.DEB.2.20.1709221958580.13274@digraph.polyomino.org.uk>","To":"Joseph Myers <joseph@codesourcery.com>"}},{"id":1773870,"web_url":"http://patchwork.ozlabs.org/comment/1773870/","msgid":"<alpine.DEB.2.20.1709222031580.13274@digraph.polyomino.org.uk>","list_archive_url":null,"date":"2017-09-22T20:35:11","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":4349,"url":"http://patchwork.ozlabs.org/api/people/4349/","name":"Joseph Myers","email":"joseph@codesourcery.com"},"content":"On Fri, 22 Sep 2017, John David Anglin wrote:\n\n> On 2017-09-22, at 4:11 PM, Joseph Myers wrote:\n> \n> > Given what Andreas said at \n> > <https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01220.html>, does this mean \n> > there are other causes of executable stacks in the kernel, such as \n> > VM_STACK_DEFAULT_FLAGS?  If so, maybe hppa and microblaze do in fact need \n> > the GCC patch rather than the glibc one?\n> \n> VM_STACK_DEFAULT_FLAGS defaults to VM_DATA_DEFAULT_FLAGS when it is\n> not defined, and it is not defined on hppa.\n> \n> On hppa,  VM_DATA_DEFAULT_FLAGS, and it is:\n> \n> #define VM_DATA_DEFAULT_FLAGS   (VM_READ | VM_WRITE | VM_EXEC | \\\n>                                  VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)\n\nGiven this, and your experiment showing the stack is indeed executable on \nhppa, are the hppa parts of the GCC patch OK?  (I think we've established \nthat ia64 should use the glibc change.  Based on VM_DATA_DEFAULT_FLAGS, \nmicroblaze would use the GCC change but hopefully there will be more \ninformation from microblaze people soon.)","headers":{"Return-Path":"<libc-alpha-return-84883-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-84883-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=\"rbjjoXcA\"; 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 3xzQGT1XNdz9t32\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 06:35:29 +1000 (AEST)","(qmail 102829 invoked by alias); 22 Sep 2017 20:35:23 -0000","(qmail 102820 invoked by uid 89); 22 Sep 2017 20:35:23 -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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; q=dns; s=default; b=p8heU\n\tyGDeZsQz7DdsXDxfKvGgraxGLMDEEmIoEuOpDLa58NHhIg/vc8UNSXgHuS6mHg7F\n\tGiPoxEXX8/dBOEqgYroEn7GkpmmqCgQR1/rwx0LJEIPcSm8I4f6Tt6iw7wCEN6vi\n\t1K3jDwLq8BvSr2JGyr7Bvh9lDRKNEA9/w+N/A4=","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:date:from:to:cc:subject:in-reply-to:message-id\n\t:references:mime-version:content-type; s=default; bh=7BYr6I9uQn7\n\tCtFF8Qqjo7eCoO74=; b=rbjjoXcAl0k16GbM6HdUwfX6L5hReRU1t3rDgRuyPUe\n\t/56K1SqWfCz4vpSGhDZQzomz3wAR1nPRO/+S17OiNRW4yMx9g065jbdUkwfApwAP\n\t5SxV8jNve4klBqS4VaAsDzyO/sqNxckrCWZjId6mrMCCd8RSDh3K2ozPnrOs3eDQ\n\t=","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.0 required=5.0 tests=AWL, BAYES_00,\n\tRCVD_IN_DNSWL_NONE, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=","X-HELO":"relay1.mentorg.com","Date":"Fri, 22 Sep 2017 20:35:11 +0000","From":"Joseph Myers <joseph@codesourcery.com>","To":"John David Anglin <dave.anglin@bell.net>","CC":"Jeff Law <law@redhat.com>, Carlos O'Donell <carlos@redhat.com>, GNU C\n\tLibrary <libc-alpha@sourceware.org>, Mike Frysinger <vapier@gentoo.org>, \n\tHelge Deller <deller@gmx.de>","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","In-Reply-To":"<6824D638-F25C-4773-8963-740251D9523A@bell.net>","Message-ID":"<alpine.DEB.2.20.1709222031580.13274@digraph.polyomino.org.uk>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>\n\t<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>\n\t<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>\n\t<alpine.DEB.2.20.1709221958580.13274@digraph.polyomino.org.uk>\n\t<6824D638-F25C-4773-8963-740251D9523A@bell.net>","User-Agent":"Alpine 2.20 (DEB 67 2015-01-07)","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"US-ASCII\"","X-ClientProxiedBy":"svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To\n\tsvr-ies-mbx-01.mgc.mentorg.com (139.181.222.1)"}},{"id":1773876,"web_url":"http://patchwork.ozlabs.org/comment/1773876/","msgid":"<B28CA361-9C5E-4828-AAE4-EC53CC0B3889@bell.net>","list_archive_url":null,"date":"2017-09-22T21:05:14","subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":8491,"url":"http://patchwork.ozlabs.org/api/people/8491/","name":"John David Anglin","email":"dave.anglin@bell.net"},"content":"On 2017-09-22, at 4:35 PM, Joseph Myers wrote:\n\n> Given this, and your experiment showing the stack is indeed executable on \n> hppa, are the hppa parts of the GCC patch OK?\n\nThe hppa parts are OK.\n\nThanks,\nDave\n--\nJohn David Anglin\tdave.anglin@bell.net","headers":{"Return-Path":"<libc-alpha-return-84884-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-84884-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=\"bP187KkL\"; 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 3xzQx0295Sz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 07:05:24 +1000 (AEST)","(qmail 52289 invoked by alias); 22 Sep 2017 21:05:18 -0000","(qmail 52273 invoked by uid 89); 22 Sep 2017 21:05:18 -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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; q=dns; s=default; b=LRsbrzFw3iE5O8g2XCoqlta1ULuZ\n\tGL+UoIj9ie60AWtGXMDLcTcOnlFAvgPNVmXy9PYgPS9m2nbC/j2m37RcNIdRrZZO\n\t76LT+9GEafgl9SUuuTHpoLdPmJx8WX/u1UX2bxvqoannOw/I/2MKZQjiNokvhTIe\n\t4H9QUaQ50PyX9WQ=","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:subject:mime-version:content-type:from\n\t:in-reply-to:date:cc:content-transfer-encoding:message-id\n\t:references:to; s=default; bh=f4dWi0pkIHl8UUpHgyFPxhP/T9s=; b=bP\n\t187KkLAsKMuo04JakZL2werJH91m/1xx9FRUfbnBAuEwLexueLbuTVAAxGTxBNxw\n\tMHyBTQOK806Gjpf6dl2bqJyMgWcCEpVl59QDa3vpTN4+RgvsT/94G4M1o8yNxYKK\n\twl9wB3qeJdOgQKK5rztW1TtlxvAVKuknJp0s3WU+0=","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.6 required=5.0 tests=BAYES_00,\n\tRCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_PASS,\n\tUNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=","X-HELO":"torfep02.bell.net","Subject":"Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)","Mime-Version":"1.0 (Apple Message framework v1085)","Content-Type":"text/plain; charset=us-ascii","From":"John David Anglin <dave.anglin@bell.net>","In-Reply-To":"<alpine.DEB.2.20.1709222031580.13274@digraph.polyomino.org.uk>","Date":"Fri, 22 Sep 2017 17:05:14 -0400","Cc":"Jeff Law <law@redhat.com>, Carlos O'Donell <carlos@redhat.com>,\n\tGNU C Library <libc-alpha@sourceware.org>,\n\tMike Frysinger <vapier@gentoo.org>, Helge Deller <deller@gmx.de>","Content-Transfer-Encoding":"7bit","Message-Id":"<B28CA361-9C5E-4828-AAE4-EC53CC0B3889@bell.net>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>\n\t<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>\n\t<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>\n\t<alpine.DEB.2.20.1709221958580.13274@digraph.polyomino.org.uk>\n\t<6824D638-F25C-4773-8963-740251D9523A@bell.net>\n\t<alpine.DEB.2.20.1709222031580.13274@digraph.polyomino.org.uk>","To":"Joseph Myers <joseph@codesourcery.com>"}},{"id":1774708,"web_url":"http://patchwork.ozlabs.org/comment/1774708/","msgid":"<CY4PR02MB3159B7CC0572DC70668023CED67A0@CY4PR02MB3159.namprd02.prod.outlook.com>","list_archive_url":null,"date":"2017-09-25T12:50:57","subject":"RE: Fix hppa/ia64/microblaze executable stack default (bug 22156)","submitter":{"id":72400,"url":"http://patchwork.ozlabs.org/api/people/72400/","name":"Nagaraju Mekala","email":"nmekala@xilinx.com"},"content":"> -----Original Message-----\n> From: libc-alpha-owner@sourceware.org [mailto:libc-alpha-\n> owner@sourceware.org] On Behalf Of Joseph Myers\n> Sent: Saturday, September 23, 2017 2:05 AM\n> To: John David Anglin <dave.anglin@bell.net>\n> Cc: Jeff Law <law@redhat.com>; Carlos O'Donell <carlos@redhat.com>; GNU C\n> Library <libc-alpha@sourceware.org>; Mike Frysinger <vapier@gentoo.org>;\n> Helge Deller <deller@gmx.de>\n> Subject: Re: Fix hppa/ia64/microblaze executable stack default (bug 22156)\n> \n> On Fri, 22 Sep 2017, John David Anglin wrote:\n> \n> > On 2017-09-22, at 4:11 PM, Joseph Myers wrote:\n> >\n> > > Given what Andreas said at\n> > > <https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01220.html>, does\n> > > this mean there are other causes of executable stacks in the kernel,\n> > > such as VM_STACK_DEFAULT_FLAGS?  If so, maybe hppa and microblaze\n> do\n> > > in fact need the GCC patch rather than the glibc one?\n> >\n> > VM_STACK_DEFAULT_FLAGS defaults to VM_DATA_DEFAULT_FLAGS when it\n> is\n> > not defined, and it is not defined on hppa.\n> >\n> > On hppa,  VM_DATA_DEFAULT_FLAGS, and it is:\n> >\n> > #define VM_DATA_DEFAULT_FLAGS   (VM_READ | VM_WRITE | VM_EXEC |\n> \\\n> >                                  VM_MAYREAD | VM_MAYWRITE |\n> > VM_MAYEXEC)\n> \n> Given this, and your experiment showing the stack is indeed executable on\n> hppa, are the hppa parts of the GCC patch OK?  (I think we've established that\n> ia64 should use the glibc change.  Based on VM_DATA_DEFAULT_FLAGS,\n> microblaze would use the GCC change but hopefully there will be more\n> information from microblaze people soon.)\nYes, for Microblaze we need to apply GCC patch.\nI have applied the patch and found no regressions with it.\n\nThanks,\nNagaraju\n> --\n> Joseph S. Myers\n> joseph@codesourcery.com","headers":{"Return-Path":"<libc-alpha-return-84920-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-84920-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=\"tBaW4woe\"; dkim-atps=neutral","sourceware.org; auth=none","spf=none (sender IP is )\n\tsmtp.mailfrom=nmekala@xilinx.com; "],"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 3y13qL26mlz9t62\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 25 Sep 2017 22:51:10 +1000 (AEST)","(qmail 103576 invoked by alias); 25 Sep 2017 12:51:04 -0000","(qmail 103566 invoked by uid 89); 25 Sep 2017 12:51:03 -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:cc:subject:date:message-id:references\n\t:in-reply-to:content-type:content-transfer-encoding\n\t:mime-version; q=dns; s=default; b=H3szu3zzFVPJ9RrVQce2orWqVNcVU\n\tbvJ0ttI+7SExF8RK4TfHsROVe3NToQjTjXUb79wbDYYNna+3zcrehZw2Pp/B7hI5\n\t2q+KAm9DW3qLMXVgxs2/B700kzQCgminBV4FoPvUASlS9KnVNXMgtwKqQ7UOh7ff\n\tObRzwMtcXiJZas=","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:cc:subject:date:message-id:references\n\t:in-reply-to:content-type:content-transfer-encoding\n\t:mime-version; s=default; bh=hsKw+AdRaMAtR8T77Lxk+LnyLF4=; b=tBa\n\tW4woeqGqGAIBAlZSg/HyuaD1Dn0+t616BTIFuDmOiUEWF0uX0hkxFxlYm4lCtrBY\n\tgNn38YAER0VjWNqeVsVq7ngrpYD319zLBAbMMbHhz/MSedCADm0RxjsJ0FlyVWAb\n\tdOg9isomVbsvri9UPvJMrHbY5qqk2MZXxqaY66go=","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=-6.9 required=5.0 tests=BAYES_00, GIT_PATCH_2,\n\tRCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS,\n\tURIBL_RED autolearn=ham version=3.3.2 spammy=Frysinger,\n\tfrysinger, Hx-languages-length:1792, H*Ad:U*vapier","X-HELO":"NAM02-CY1-obe.outbound.protection.outlook.com","From":"Nagaraju Mekala <nmekala@xilinx.com>","To":"Joseph Myers <joseph@codesourcery.com>, John David Anglin\n\t<dave.anglin@bell.net>","CC":"Jeff Law <law@redhat.com>, Carlos O'Donell <carlos@redhat.com>, \"GNU C\n\tLibrary\" <libc-alpha@sourceware.org>,\n\tMike Frysinger <vapier@gentoo.org>, Helge Deller <deller@gmx.de>","Subject":"RE: Fix hppa/ia64/microblaze executable stack default (bug 22156)","Date":"Mon, 25 Sep 2017 12:50:57 +0000","Message-ID":"<CY4PR02MB3159B7CC0572DC70668023CED67A0@CY4PR02MB3159.namprd02.prod.outlook.com>","References":"<alpine.DEB.2.20.1709191345040.2962@digraph.polyomino.org.uk>\n\t<4b7b99f2-9f64-92a4-8344-3589fc6b00c1@redhat.com>\n\t<a4b29920-b98b-fde1-3ef6-24138e2f9a98@redhat.com>\n\t<A9DE355F-41F1-4B55-9009-FECFBF6C7F74@bell.net>\n\t<alpine.DEB.2.20.1709221605220.17667@digraph.polyomino.org.uk>\n\t<DE0D2DA7-358F-4C1D-BD33-6E394576F9E0@bell.net>\n\t<alpine.DEB.2.20.1709221958580.13274@digraph.polyomino.org.uk>\n\t<6824D638-F25C-4773-8963-740251D9523A@bell.net>\n\t<alpine.DEB.2.20.1709222031580.13274@digraph.polyomino.org.uk>","In-Reply-To":"<alpine.DEB.2.20.1709222031580.13274@digraph.polyomino.org.uk>","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-84920-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=\"tBaW4woe\"; dkim-atps=neutral","sourceware.org; auth=none","spf=none (sender IP is )\n\tsmtp.mailfrom=nmekala@xilinx.com; "],"x-ms-publictraffictype":"Email","x-microsoft-exchange-diagnostics":"1; CY4PR02MB3159;\n\t6:Yh2/hR9kVOqN3dvY9eyXfyGr+tRj/OhBvv6hOwOro9mI0Wsm5wO5imeUGVzYJgHt2cZw8/ZcgO+J8Qk8Q+p/lAS5gc6HbtCdMrLDP8rPZ9Pkohft0tALq7EvqY1emBRtm+mM2IRYZGsi/xxeXEymhXQmcKRPiwRRm3zTKn7iqfdj78HGVY6D4HVyxnNH1di88XCIu3zcynOkY9AZct0b6YWJMi6QN/JUG2bZWFSTvHiM+QH2x8md1E++fkV4OAUP71oy+b4C+M9EBHJy9zThL89SxQOpVo/kH92QIts1pfJhA/oSDjvmUk8eL1JjAgFxVseyURtB9W16pxognK1bOQ==;\n\t5:Xnu8ri40iYGNWeJHzxkOfxFo656t/FPRUEnquqNg71dBazdE+D/qPT7whs+/MxPvzoeFjrBOhsDNAq/E3rl2bytgz0kTsmKgDipg2yuBLooBLSJIO03ld+WYE8x4LsgeDSE5NJ2wm+rXfhfypZthgg==;\n\t24:nGBJ4fKqWh9SBfEbZTm/itnISbpEhu7O8E7rnVzINiUL4F71ajHPE650TkU0GuYFhmZRgz0rEtTfj58WEerNo0QhOmyxJFm5P+P4MQq5laA=;\n\t7:BotEnm1zkBq6fGGdD3oMUwm7mDFWjLz9RRWNZUWj8zbDOb/piHWWP27oYeH4Fn4xPiOnux6aBocjsGMZZEG/xf78fz/pjlNKNWVPTFJoip0vm72ggpXtYW0i07RAfmnwWY8gg2WDYmC7y3eJqxl44hB/BLb9AtHNFCvnl4i9S50wzWcpRkjXgJFUKU+hN0nz6D3zDCr2nYBo72cZQzPpPAfX153daHb/Z3Hr113He+A=","x-ms-exchange-antispam-srfa-diagnostics":"SSOS;","x-ms-office365-filtering-correlation-id":"8417f5ac-5fb8-4dc1-9e67-08d504141159","x-ms-office365-filtering-ht":"Tenant","x-microsoft-antispam":"UriScan:; BCL:0; PCL:0;\n\tRULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075);\n\tSRVR:CY4PR02MB3159; ","x-ms-traffictypediagnostic":"CY4PR02MB3159:","x-exchange-antispam-report-test":"UriScan:(26323138287068)(22074186197030)(183786458502308)(192391740597602);","x-microsoft-antispam-prvs":"<CY4PR02MB31599F33920974979DE5135CD67A0@CY4PR02MB3159.namprd02.prod.outlook.com>","x-exchange-antispam-report-cfa-test":"BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:CY4PR02MB3159; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:CY4PR02MB3159; ","x-forefront-prvs":"04410E544A","x-forefront-antispam-report":"SFV:NSPM;\n\tSFS:(10009020)(6009001)(346002)(39860400002)(376002)(189002)(377454003)(13464003)(377424004)(199003)(24454002)(110136005)(8936002)(25786009)(101416001)(54356999)(93886005)(50986999)(68736007)(76176999)(86362001)(9686003)(97736004)(81166006)(6306002)(3660700001)(8666007)(66066001)(5660300001)(99286003)(8676002)(53936002)(81156014)(54906003)(55016002)(3280700002)(6506006)(2950100002)(478600001)(77096006)(6436002)(189998001)(7696004)(33656002)(6246003)(105586002)(2906002)(2900100001)(229853002)(74316002)(4326008)(106356001)(316002)(102836003)(53546010)(7736002)(3846002)(6116002)(305945005)(14454004);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB3159;\n\tH:CY4PR02MB3159.namprd02.prod.outlook.com; FPR:; SPF:None;\n\tPTR:InfoNoRecords; MX:1; A:1; LANG:en; ","received-spf":"None (protection.outlook.com: xilinx.com does not designate\n\tpermitted sender hosts)","spamdiagnosticoutput":"1:99","spamdiagnosticmetadata":"NSPM","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"quoted-printable","MIME-Version":"1.0","X-OriginatorOrg":"xilinx.com","X-MS-Exchange-CrossTenant-originalarrivaltime":"25 Sep 2017 12:50:57.8329\n\t(UTC)","X-MS-Exchange-CrossTenant-fromentityheader":"Hosted","X-MS-Exchange-CrossTenant-id":"657af505-d5df-48d0-8300-c31994686c5c","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"CY4PR02MB3159"}}]