From patchwork Tue Dec 12 14:26:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 121520 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4189722qgn; Tue, 12 Dec 2017 06:26:42 -0800 (PST) X-Google-Smtp-Source: ACJfBotaojW2Ki3qZghmXmVkiZWW0I5O6t9Eb5f+p/lgP0jWnjOPIRaTweUitylaocpQ/VI/f6PU X-Received: by 10.99.127.88 with SMTP id p24mr2224559pgn.98.1513088802318; Tue, 12 Dec 2017 06:26:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513088802; cv=none; d=google.com; s=arc-20160816; b=E81xnxGkVlkEysHkPqPqbyIjeMran2Z6M1vZSH4ttCyV69EIgbCBIQJI8O2kDSIoMk SzjWuTzH+vQk4zMpsq8BoHei0ttmQwJh51wjzj8xOC2pB+WADPej80txs4zK441UwObk AckmNjQ0wkS5xljqM3bgR1j9BEKEIZ4E1MHb/mlppZrEo0BLhRwRC7LEVorB3xubshCP X9C0B7bcoWWFCpyOj4eOJ/J/ZCf/Hxx87p279wrZMU58HaqOpXBQ8jFGYFxuO+wr0yxe JeIjLE5zSKj42igUHn0WiZmlD7EfiQkEc9xeXzNESjRl4DkKZHAX7F9F5rt0Rf2tPt/v i4pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-subscribe:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=d3PcWanMVSN75FZzqU+zfooCqjffeChcLEMW9QFCRqo=; b=cHgbGNWoozSM38ZuIrWQ7Tjquw3NianKIrOXvwRoscVQiHeAiotyblMC1ZYAQMs568 o1dJlW5qQEqZj0hnTRf6UGQmmcZ3+xzm0TNhd5YRsNZCUlAPq94WxXoWndJtgiiAt30x Mb4HRYmZJcXLB1gdAMYhCd3e0XXLF4cnEEcw+br7+cQDbrdb1dBzZhJKdVRXbXtlMmWf +4RBBsE/WwXRbevuzlLcwOW/lG7tkx5oXYANcHxSbZ/SvAfouTqsuIATP6wS3mQt1CFk /3VmJ8SO8oeDcIKyUY4xCeV7WeL3MHQ8es+DGhXd+R5JLbo940VwNkCQnBz15eCd+bGa AHkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=YkAqGbDA; spf=pass (google.com: domain of libc-alpha-return-88069-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-88069-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id u3si1766914pfh.248.2017.12.12.06.26.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 06:26:42 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-88069-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=YkAqGbDA; spf=pass (google.com: domain of libc-alpha-return-88069-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-88069-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=VeIL5m6fG3GevEFgF5NcQN/qzh6haNsT2Pw8wxqAX/7uWuOdGZxiu ZIqFd14v2mNQ0acst4TJiXfomVud4vmPBtaKwutEOw8M2130r8HaEMBJ9xVGAqEO IFn5hxoie81kKtPQCLYKZf5u2ODg4s8ucy7ZBif7uCB1qP2aecrdYg= 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:from:to:cc:subject:date:message-id; s=default; bh=OKrZnVoVPjWdKWPff/kIgTH0/a0=; b=YkAqGbDAnT1h252HujvtGTs8R4p2 9LHtgxVh2FuHKhSCd+n8+pcAQWjkUcjY822POkkXaFLUrhZsHtLuabHB8M4jBMiH t9XBMHbUyQTdoHxWLDymfrgcwtyMRgCwUi+rQYHFL59RZywoVX1ylXQCtePz77eV mCn+SxNVk/3zG34= Received: (qmail 94815 invoked by alias); 12 Dec 2017 14:26:30 -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 94093 invoked by uid 89); 12 Dec 2017 14:26:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f194.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=d3PcWanMVSN75FZzqU+zfooCqjffeChcLEMW9QFCRqo=; b=n8351OYR5BKwzBJFDippDT1EEV8+2lfCxgtRf5sIiC0Y3rdpJHCE8nz0Jb3CquQcYy g4Bejo1raLXFFWBIRAL6Fs51g2ru6iY+Yknt7IcoVghmOPp5MRSmVc36iyCi1PMEn0/a SLN36w2lo6x291by2zGeGb/OrIoLZ/niWPtO6DFTM6Y2Xuq6Z4eV0PoZ1CpvYb/whBAu YsOK4mc95cmq2kfhJU2weLN5buiP84SMO/RPaCTlEaapdU5pRfZAzecAJpUZde3XfsF8 3PCfEXpDzyWCeyYD+1/p/WHahMgOJh/BFqo4lryA5Nz5i+8VBs+FKpNpplN8hIGRBEpe 71/g== X-Gm-Message-State: AKGB3mKqf7G/V+NLxM+IEMkV4hL64EdYC2+Aw/dsgmosBNwX0KXtd6q9 k6H4n952HlmC5APXbZ5/QYzVRReQwT8= X-Received: by 10.55.131.71 with SMTP id f68mr5674405qkd.47.1513088785843; Tue, 12 Dec 2017 06:26:25 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: James Clarke , Jason Duerstock , John Paul Adrian Glaubitz Subject: [COMMITTED] ia64: Add ipc_priv.h header to set __IPC_64 to zero Date: Tue, 12 Dec 2017 12:26:18 -0200 Message-Id: <1513088778-21579-1-git-send-email-adhemerval.zanella@linaro.org> From: James Clarke When running strace, IPC_64 was set in the command, but ia64 is an architecture where CONFIG_ARCH_WANT_IPC_PARSE_VERSION *isn't* set in the kernel, so ipc_parse_version just returns IPC_64 without clearing the IPC_64 bit in the command. * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining __IPC_64 to 0 to avoid IPC_64 being set. Signed-off-by: James Clarke --- ChangeLog | 5 +++++ sysdeps/unix/sysv/linux/ia64/ipc_priv.h | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/ia64/ipc_priv.h -- 2.7.4 diff --git a/sysdeps/unix/sysv/linux/ia64/ipc_priv.h b/sysdeps/unix/sysv/linux/ia64/ipc_priv.h new file mode 100644 index 0000000..e602eea --- /dev/null +++ b/sysdeps/unix/sysv/linux/ia64/ipc_priv.h @@ -0,0 +1,21 @@ +/* Old SysV permission definition for Linux. IA64 version. + Copyright (C) 2017 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#include /* For __key_t */ + +#define __IPC_64 0x0