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: 32711 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(-) 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