From patchwork Thu Jun 2 19:20:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 1638431 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=GMGu7R+7; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LDbTl32zMz9s0w for ; Fri, 3 Jun 2022 05:21:15 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0C95C395A437 for ; Thu, 2 Jun 2022 19:21:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C95C395A437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1654197672; bh=BPdMzEmPoJndyUkE2Cvl9QgeRv29zYoWLaj3w9heci8=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=GMGu7R+7inIa0prQz7aL82V8xeoxX+Vsr3j4n0CypGwlme4sKjCKa96ySTAAltCny 7cbuw8/GjHueAOlO2rOWJ6KHh5oF6FwlFGyJJdWve+IB6+X4l0NpjF3PeqtA82ZY88 PnpJdmFbBGUv1KYCV4/DUa6KGXb7G8zSiZkZrytc= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id ED06F382FC00 for ; Thu, 2 Jun 2022 19:20:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ED06F382FC00 Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-205-aeoDkfW9M2G1vByx1uuRlg-1; Thu, 02 Jun 2022 15:20:56 -0400 X-MC-Unique: aeoDkfW9M2G1vByx1uuRlg-1 Received: by mail-qt1-f200.google.com with SMTP id m6-20020ac866c6000000b002f52f9fb4edso4339005qtp.19 for ; Thu, 02 Jun 2022 12:20:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=BPdMzEmPoJndyUkE2Cvl9QgeRv29zYoWLaj3w9heci8=; b=N2qsK2Sewi3xxO3BS3aF3XxStUxJ2bqOhtgeAo4W7SIay2tAdKTtWVRCI0wG6J3K8g DAXFvl13sV8MfbwH0HyRywUJpDTFpJ5DmKrPz+KicZ/Ml/snDnzdyByFUUMLSMU8op08 ltrCRtkDZekZbSvaUJKklN6SUxHeGux+62pCVSwsZYlO9raCE1bOlCDdhIAtKf3V68JX nKzOF5RF6sGg4tcsZU6xJK2wVkhrFbaecGvppEDSTOSar5bKlIgezd3/gpR7TkX/BhcI BbuKOJ2YALNV1PN4pgeF1aM+3HV6+IHbv+Rl3Bsc1j+slk+cxYhO/ZKTmyOPL4kCZUnz 2crw== X-Gm-Message-State: AOAM530iypbeCayBIXZXsLLvAINo1/76stn8rMJClvsBMFWGM8HrurYd wynCbDyVgDPwpcwQz0xxwcSBtBx/tQo06i2GWV81gzNKJJTknlHNf5vLvTt07QYcn1mRbMzG1o6 7I6g4iudDH6SVcHzxxKhGONjvJTOrhhhs/HSgJnitteeAwElBLlVqOwEsjkGThXG8f1DQkg== X-Received: by 2002:ac8:5c96:0:b0:2f9:3077:5cda with SMTP id r22-20020ac85c96000000b002f930775cdamr4959119qta.625.1654197656040; Thu, 02 Jun 2022 12:20:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUkKmfJITEfGAx6Ns1EV2wgKwqHEcJBBbIh2LgK5YDkbCpGYERVOp4p/N0fnVyZiz/XD3k+A== X-Received: by 2002:ac8:5c96:0:b0:2f9:3077:5cda with SMTP id r22-20020ac85c96000000b002f930775cdamr4959101qta.625.1654197655779; Thu, 02 Jun 2022 12:20:55 -0700 (PDT) Received: from athas.redhat.com (135-23-175-80.cpe.pppoe.ca. [135.23.175.80]) by smtp.gmail.com with ESMTPSA id k4-20020a378804000000b006a5d2eb58b2sm3729903qkd.33.2022.06.02.12.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 12:20:55 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [COMMITTED] elf: Add #include for MAX usage. Date: Thu, 2 Jun 2022 15:20:53 -0400 Message-Id: <20220602192053.2285351-1-carlos@redhat.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-type: text/plain; charset=UTF-8 X-Spam-Status: No, score=-14.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Carlos O'Donell via Libc-alpha From: Carlos O'Donell Reply-To: Carlos O'Donell Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" In _dl_audit_pltenter we use MAX and so need to include param.h. Tested on x86_64 and i686 without regression. --- elf/dl-audit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/elf/dl-audit.c b/elf/dl-audit.c index efc0492474..93770f50c7 100644 --- a/elf/dl-audit.c +++ b/elf/dl-audit.c @@ -22,6 +22,7 @@ #include #include #include +#include void _dl_audit_activity_map (struct link_map *l, int action)