Message ID | 20210708010906.SAYXBvlN8%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=OeGd=MA=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E222C11F67 for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:09:10 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C9E3761CBE for <linux-mm@archiver.kernel.org>; Thu, 8 Jul 2021 01:09:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9E3761CBE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BA2AD6B0096; Wed, 7 Jul 2021 21:09:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B7A236B0098; Wed, 7 Jul 2021 21:09:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A1A7D6B0099; Wed, 7 Jul 2021 21:09:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0087.hostedemail.com [216.40.44.87]) by kanga.kvack.org (Postfix) with ESMTP id 7508A6B0096 for <linux-mm@kvack.org>; Wed, 7 Jul 2021 21:09:09 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id D4872274AC for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:09:08 +0000 (UTC) X-FDA: 78337636776.13.F5261FD Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf17.hostedemail.com (Postfix) with ESMTP id 482F0F000090 for <linux-mm@kvack.org>; Thu, 8 Jul 2021 01:09:08 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id BD9F061CD3; Thu, 8 Jul 2021 01:09:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1625706547; bh=FTyYpm+KDCCmw6cUDMK2zaSsFJPn4+izBJRP3AzB0II=; h=Date:From:To:Subject:In-Reply-To:From; b=UH8aAcvXkY3JjC0hpwCxtbYakvb09Jz5Gofe0iMtWKjfvf72fGvMrzaltBid/8uq8 4e3KkzsHA13VT0jAin2+u1/4UwhyNT7EclRPpfsUC3uW4/MvwL56gvUnTxvh7WhFwV HYDym0fOj087NfK53o3QRMwQraEQqkxhwREq42QI= Date: Wed, 07 Jul 2021 18:09:06 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, andriy.shevchenko@linux.intel.com, ast@kernel.org, bhe@redhat.com, bp@alien8.de, catalin.marinas@arm.com, dyoung@redhat.com, evgreen@chromium.org, hsinyi@chromium.org, jeyu@kernel.org, jolsa@kernel.org, khlebnikov@yandex-team.ru, linux-mm@kvack.org, linux@rasmusvillemoes.dk, mingo@redhat.com, mm-commits@vger.kernel.org, pmladek@suse.com, rostedt@goodmis.org, sashal@kernel.org, sergey.senozhatsky@gmail.com, swboyd@chromium.org, tglx@linutronix.de, torvalds@linux-foundation.org, vgoyal@redhat.com, will@kernel.org, willy@infradead.org Subject: [patch 31/54] buildid: only consider GNU notes for build ID parsing Message-ID: <20210708010906.SAYXBvlN8%akpm@linux-foundation.org> In-Reply-To: <20210707175950.eceddb86c6c555555d4730e2@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=UH8aAcvX; dmarc=none; spf=pass (imf17.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-Rspamd-Server: rspam02 X-Rspam-User: nil X-Rspamd-Queue-Id: 482F0F000090 X-Stat-Signature: jiskhuianytowrw158sp6re7fmdn48yu X-HE-Tag: 1625706548-419385 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[01/54] lib/test: fix spelling mistakes
|
expand
|
--- a/lib/buildid.c~buildid-only-consider-gnu-notes-for-build-id-parsing +++ a/lib/buildid.c @@ -31,6 +31,7 @@ static inline int parse_build_id(void *p if (nhdr->n_type == BUILD_ID && nhdr->n_namesz == sizeof("GNU") && + !strcmp((char *)(nhdr + 1), "GNU") && nhdr->n_descsz > 0 && nhdr->n_descsz <= BUILD_ID_SIZE_MAX) { memcpy(build_id,