From patchwork Sun Jun 10 18:10:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 927395 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-93019-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bell.net Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="laKViA+R"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 413khc3FHKz9s2t for ; Mon, 11 Jun 2018 04:10:24 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type; q=dns; s=default; b=DpAJMH7rv1R7O+rwH7yBGqyXe84RX +C0QJgJdpJQ6piCMfYV375yniLmuahy4EdNX4vARkOc9pIbqdvpUarUlx+/K8vyS smErDfmYEzKeDhvNk3tlz48nyu40dL6iPuLCxuPjZLuYgKG9k4+xb0UDYUDseN2R KQv/QheBgYaxgw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:message-id:date:mime-version :content-type; s=default; bh=kNfnzYXKqBYL2nDAuz1tZO8Ib98=; b=laK ViA+RQym8YiKAsQ4YnkIVNHOfWizY9hz2VkRHnzDL/Vs+Qzj9JuttwDtRiSe69fo MYNPJWFg4BtKFGQMwvYC4ZE/OyrKiJBOOuDPkaim4SILmqOfg5bYS/nIM+vnwj/e ypFjx+ydfdjhVZKb1xfDziwRqJ3o0CLM05Iyq/cw= Received: (qmail 52531 invoked by alias); 10 Jun 2018 18:10:18 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 52507 invoked by uid 89); 10 Jun 2018 18:10:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.3 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=Joseph, joseph X-HELO: torfep01.bell.net To: libc-alpha@sourceware.org From: John David Anglin Subject: [committed] xfail check-execstack on hppa Message-ID: <025e5454-f165-2205-596c-0e34818a4523@bell.net> Date: Sun, 10 Jun 2018 14:10:12 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 The hppa linux kernel still requires an executable stack for syscall restarts and signal returns. So, I have xfailed check-execstack as suggested by Joseph. Committed to master. Dave diff --git a/sysdeps/unix/sysv/linux/hppa/Makefile b/sysdeps/unix/sysv/linux/hppa/Makefile index 68569013fb..e1637f54f5 100644 --- a/sysdeps/unix/sysv/linux/hppa/Makefile +++ b/sysdeps/unix/sysv/linux/hppa/Makefile @@ -2,3 +2,10 @@ ifeq ($(subdir),stdlib) gen-as-const-headers += ucontext_i.sym endif + +# Supporting non-executable stacks on HPPA requires changes to both +# the Linux kernel and glibc. The kernel currently needs an executable +# stack for syscall restarts and signal returns. +ifeq ($(subdir),elf) +test-xfail-check-execstack = yes +endif