From patchwork Tue Dec 18 21:04:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1015624 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="jY3qihM3"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="hWMshj9H"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43K9Xn6Z2hz9s8r for ; Wed, 19 Dec 2018 08:05:45 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=T7NaLww/QnT5kzdnX6Zw2+CcAZaM8bImCAn7709iv6Y=; b=jY3qihM3Xsdrnz Rp4V/snGhllrzxEGm2qf/ASbBAGIHBAHzs/wv7VANohD0gWyw9lm+f8p/uKwbJHBiR7QZqywa/anL 2PbTc/O1/rgRuYeHjstGUGp4oEDueWI0Z782zGlgGRVsfAFvuN7Fm4181M10dopfczsdmPiKVrx3N FdPk56L5wEVZN6yj7maUDpZGQzXendP0TABHN72ed/zjZq2v2Ihihfgh1rQYNFSg2GObxfv4wy5iG /YHikzQiTGWUYsCZHyZqjZMccZig0VUMeOi6zpxgZu9vyvqwlxIP9qjlw2p24MXT2JQqAwrY2yzZW R6tdnHSOqp783i66vx/Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZMYh-0001nF-Iy; Tue, 18 Dec 2018 21:05:43 +0000 Received: from smtprelay4.synopsys.com ([198.182.47.9] helo=smtprelay.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gZMYb-0001eB-8p for linux-snps-arc@lists.infradead.org; Tue, 18 Dec 2018 21:05:40 +0000 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 19D7F24E27DA; Tue, 18 Dec 2018 13:05:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1545167127; bh=L0i+nqPtR8npfqRLaLdZlLCQCJF9eLiVVr7jUkYZQGo=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=hWMshj9Hhspf54C2+tk8mI0LaS0dZaHXI51oxP+cyB1Jn2ZLzz8U+xZuGR3yarNgE g4MP9ehNFnhjJyQIL9LfSVcHD+fyRR1TdsRuBDA7C+MffhgrPDCWfhrSZ+45GuSzsn WAtJvncEgda/U5VlUwNZNcYz+PthCjWdatQDMmEbp58TBSAWDecfOVImler17gnbkP UtWzH/RK9vpVjupWlKtAs7mJFCsQjkNiD10v5hDGfh2kyYxZZqdbFvaiCQ/5jqRxkR dWdISWv44DOprwUTJa2BV6C8mNiQ6S4kn24DHnbld9EKldX8d11yyDIPwwjvz9KNjq HWA67A6WmJL9Q== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 0CECE3B79; Tue, 18 Dec 2018 13:05:27 -0800 (PST) Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 18 Dec 2018 13:05:26 -0800 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.105) by IN01WEHTCA.internal.synopsys.com (10.144.199.103) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 19 Dec 2018 02:35:24 +0530 Received: from vineetg-Latitude-E7450.internal.synopsys.com (10.10.161.70) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 19 Dec 2018 02:35:23 +0530 From: Vineet Gupta To: Subject: [PATCH 16/21] ARC: testsuite fix: sysvipc/* Date: Tue, 18 Dec 2018 13:04:38 -0800 Message-ID: <1545167083-16764-17-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545167083-16764-1-git-send-email-vgupta@synopsys.com> References: <1545167083-16764-1-git-send-email-vgupta@synopsys.com> MIME-Version: 1.0 X-Originating-IP: [10.10.161.70] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181218_130537_341145_12348071 X-CRM114-Status: GOOD ( 14.38 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.47.9 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vineet Gupta , linux-snps-arc@lists.infradead.org Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Vineet Gupta --- ChangeLog | 1 + sysdeps/unix/sysv/linux/arc/ipc_priv.h | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/arc/ipc_priv.h diff --git a/ChangeLog b/ChangeLog index 909b1af09a31..d3a979a9236b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -109,6 +109,7 @@ * sysdeps/arc/start.S: likewise. * sysdeps/arc/entry.h: Add ENTRY_POINT define check. * sysdeps/arc/crti.S: add .hidden annotations. + * sysdeps/unix/sysv/linux/arc/ipc_priv.h: New file. 2018-12-17 Joseph Myers diff --git a/sysdeps/unix/sysv/linux/arc/ipc_priv.h b/sysdeps/unix/sysv/linux/arc/ipc_priv.h new file mode 100644 index 000000000000..5f6e9815d169 --- /dev/null +++ b/sysdeps/unix/sysv/linux/arc/ipc_priv.h @@ -0,0 +1,21 @@ +/* Old SysV permission definition for Linux. ARC version. + Copyright (C) 2016-2018 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