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: 1100619 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-102027-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="rDS3YcIZ"; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="R90Rg/aR"; 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 454Zg50lz1z9s4Y for ; Fri, 17 May 2019 01:13:04 +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:from:to:subject:date:message-id; q=dns; s= default; b=oYKcI4YZpV758ddC/DmQzcIGFjB9yxwzAabsefQDd/9OlXpVxTBge U7FSIZmm5hMtQ+hTYuCXyfb+ABTmzMb/xV7wffvfBARZVVTYZxU0m+mdg+BnceK4 +yYVUMmonv/qcpU8wJ8SfWxx4aC1sXdaJLA5zubZxoT4T78MvKEHac= 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=rDS3YcIZMFTQXAiHz60Fysi0LaCu ANiy/fJeHJt1kC0ns0pUKal5aPHu5qca21UtGN7ZO++zIPbmIr73V5x3FH/ePfCA w50xCXkO3FkcIbQPKeJER/I72R0SOXaFw4pZNRcUSp973DhqDRLEjgpJP5BOacNN o3T7Wed4t7KbLU4= 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== 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