From patchwork Thu May 16 15:12:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 164331 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp967747ili; Thu, 16 May 2019 08:13:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqw1Y0M8e/xOvV+m5Gc7jNL9DNMsQKUjdjdq5Hs0890doIfPP/OzLVhc0CtnPc4N/woUvroY X-Received: by 2002:a17:902:b90c:: with SMTP id bf12mr5022962plb.136.1558019588590; Thu, 16 May 2019 08:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558019588; cv=none; d=google.com; s=arc-20160816; b=F+nc2RWcbkOQWNUuhi75TIOSeHVzhaPQp6UI8A04MnaQTF6jyS9d4T64Ye7x22i1xU SMYrU86mfcXY6ukbPrm2GHiK9z8Ne02RTEIjsNuKM0UwBZErPsLXKr2RTpTbi2MP7heL Bn5yWvnsvIlV5yG+V7ZI+pnURyXrvE1jhVMUnErJvB+BQMdqRyMcipcDXS2QNttxNlPH PliPQ/2mZFUx/Y/Kj+rhGNlAdfn2kykShlUQHy7kJ9MDXry7QLcd+fCSutov49gSuTdI EPEOJoyY0LWFBHQt2Sc+WMIGVWQ8zaj7rUJMT7WiXiq3/kSJyxhs1h5QPAgkMjKcrR9H qIcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:dkim-signature:delivered-to:sender :list-help:list-post:list-archive:list-subscribe:list-unsubscribe :list-id:precedence:mailing-list:dkim-signature:domainkey-signature; bh=PEYhLaCoR4AJ/gdYrySvugQLRhuHBXNEWddmsaJtYAY=; b=FUxsrg5WiDoCx56gAzQfjQ5qS7HUCGAvinaS0wE9gVda97Ohg8c6fgI4l3DtQ0pwaO AjhZfZYRh0pXnPk39DNfD1dSfmqwh6ngAHeoS7vU+cNOryjjUqkFFPI0/SiCj38SR3XZ hooYbeTfA/4eyuJLJIeZhkP55ljMo7VyiqdBa6ykubdzuHtrdUs4TYwsgNjccD/NwuVo wruLG4onmRRH5ORvK0o9FYPINPJMi7qB933gOUoa3QO5AEywxiqqTAJpDtlQF0f27kzb 3GA4X3db5iYs14QRoduzPY2ZBUWfwRbAxEOnGHoshNwUqRCwSZc281v8vFV+b4TDu0Gw reMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=jZdxB6Qn; dkim=pass header.i=@linaro.org header.s=google header.b="R90Rg/aR"; spf=pass (google.com: domain of libc-alpha-return-102027-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-102027-patch=linaro.org@sourceware.org"; dmarc=pass (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 x10si4940886plo.422.2019.05.16.08.13.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 May 2019 08:13:08 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-102027-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=jZdxB6Qn; dkim=pass header.i=@linaro.org header.s=google header.b="R90Rg/aR"; spf=pass (google.com: domain of libc-alpha-return-102027-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-102027-patch=linaro.org@sourceware.org"; dmarc=pass (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:subject:date:message-id; q=dns; s= default; b=g3NFvrHyJ/groBu6HrXWb3Aq03/jAmAnrM9RkyLtKYRlxOfiIDj1d gno3MMgu7FP1ax/ihjrWuyAwPubJ+gUcUrRyDbsfjBciXg1FbFcQXc/ujVOdB0Jn 081EDBg+A1R8wLstk5PEWaEtoKtdr5H2Nuth5zGn1GFxzhFXpj+tnU= 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:subject:date:message-id; s=default; bh=d8gb5JKjDuHhKDCpprfKhsNtWQQ=; b=jZdxB6QnP4BBvRMChIfUNboWQQiK TJOHA1dHFi5gpfPpFlNljD09KPQytFPtSh6I4JdueQS4Lhfop4JurlCTmyC5hCZc 2LedA6Asu6ZCWrQpcaM2agXgSC73JWzrHwG6/dxbOp5ejcjIpRkLljKqSGDo//v9 G7bdXcSwUOafB2E= Received: (qmail 111177 invoked by alias); 16 May 2019 15:12:59 -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 111168 invoked by uid 89); 16 May 2019 15:12:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:979 X-HELO: mail-vs1-f67.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id; bh=PEYhLaCoR4AJ/gdYrySvugQLRhuHBXNEWddmsaJtYAY=; b=R90Rg/aR5biNtL8GSjg5g/jlqZ3+A+zPv56SWlwb18mSDecny8f56MesknwhBW2sqI l2g7gz6Vw3bOuB/weqcdeqkOIiwn19wAxiCWWgdiYJyCHb69xPMc7CxLN6zdRIW9VnI8 xx9js6rTTKlFCSLzs7Luaaj/EoQp6TcJNUI+iG9dJZ4Qh2O5uDjQP280/jCL4gVHYnkQ bIRXqQ0jh7Vs+WTcFMtoo56mUCkI8qURNmAX+/JIA2qN05UflfvFyi0rxkb+6s/i2JNZ g3nDYISBpe+lgRoORHDV8XIURGVPqXcdEN3v09iADEqHq0G4HfC/FQTuEz4aE6ky73+m 4R/A== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 1/5] sysvipc: Fix compat msgctl Date: Thu, 16 May 2019 12:12:45 -0300 Message-Id: <20190516151249.19029-1-adhemerval.zanella@linaro.org> The __IPC64 flags is meant to be used to enable the new sysv struct format when the architectures supports it (ARCH_WANT_IPC_PARSE_VERSION config flag on Linux kernel). This currently issue only affects alpha. * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64 usage. --- sysdeps/unix/sysv/linux/msgctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/sysdeps/unix/sysv/linux/msgctl.c b/sysdeps/unix/sysv/linux/msgctl.c index e4f78adda1..2d49567686 100644 --- a/sysdeps/unix/sysv/linux/msgctl.c +++ b/sysdeps/unix/sysv/linux/msgctl.c @@ -62,7 +62,7 @@ attribute_compat_text_section __old_msgctl (int msqid, int cmd, struct __old_msqid_ds *buf) { #ifdef __ASSUME_DIRECT_SYSVIPC_SYSCALLS - return INLINE_SYSCALL_CALL (msgctl, msqid, cmd | __IPC_64, buf); + return INLINE_SYSCALL_CALL (msgctl, msqid, cmd, buf); #else return INLINE_SYSCALL_CALL (ipc, IPCOP_msgctl, msqid, cmd, 0, buf); #endif