Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp260810lqb; Tue, 16 Apr 2024 15:10:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnDIMdcuBAj6xbDFAgULQKiNEQHXvR3V62bMTGuNcbkPTd/ORyB+p3IQ8duVARCh8Ko6uadR6zCMg0FDH/C0f6s+g4mY6kUbsuw6YJRw== X-Google-Smtp-Source: AGHT+IEd9pavYJ/p08kpqz2hOTa0a+11VaJFc//PO6rb1hSDf6LJuIC3844FkGZY0OFEBxgA82xS X-Received: by 2002:a05:6a21:3a81:b0:1aa:4d10:db46 with SMTP id zv1-20020a056a213a8100b001aa4d10db46mr3590378pzb.36.1713305414297; Tue, 16 Apr 2024 15:10:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713305414; cv=pass; d=google.com; s=arc-20160816; b=NKEEIPVo0jJliXv5zx/AgegC6FynkkOTGtqpe2CqtMj4lMiqG8NUH4ZfoaEVWSUckK T9xI7ialnenvR0ojDUjC/ouuHHBR8StP0eO/KOMGtxKwRc0c/69S5gbr1yDzR/qe8FGr Xadk9PBYxruQDidEaEE3kKiM4HEd21uo7RMfDEs/FNAI73e1F4YGw6+2RdiqsXnfYux+ bqOLZk1+y0/UhrZL/lG/5m9m/bxmJ8lP3PGWu0rn4PKJ34Q7zjaAcNCGRRVY2ip0tTuN MY9Sa3g5W3vsElQNENQXaNizH3NZnKCvKKNHIK1AL+inB+M+A6VAnEsHdaFc6INLw4h4 cpsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=kWpnbwrols/HFksVXx6/pFTtlVbtQF7yySAM3VjY0NM=; fh=J8YNp7rpUIiZt1e2hOXjXcxuwMPZTNrmSn+FHQ3EJFQ=; b=gSRcf2kkJVw6GDn6onKue250iAT98Dbldt23xCiA6Hq2JVavyKjkZuC8MuvUpnEu2U B5xvjDgG3fDNmiMEMy9zkrYWg51rlgwqXNdcnahWo7aY/YYY7fCWNKenHUqpxPtE2tpc mP/IhblzUbno0ZIecRho8xT2nrjAWKwQ+t1YdTopyxh9iVX02xsWf+5/z1TtcFLO+Kx7 8oXHxLwk0OKnFwTKNPx1CeRwY9993o5i2/I1U1tFMmkd3DSkPAYdf0ZtTLCFa/swvSK5 sqKiwaGLiKookhrIHzZwuzPnmdXWI8yUG0PJ8q9NFzso5nSM//lwC9kyYThygD70AJf1 10ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mZFsERtc; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-147670-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id g15-20020a056a000b8f00b006e68d11c37bsi10678171pfj.396.2024.04.16.15.10.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 15:10:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147670-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mZFsERtc; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-147670-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147670-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id ABEE1283343 for ; Tue, 16 Apr 2024 22:10:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 625AC7FBB4; Tue, 16 Apr 2024 22:10:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="mZFsERtc" Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF2EE6BFCF for ; Tue, 16 Apr 2024 22:10:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713305408; cv=none; b=QYbTHcxhoc8cvub6P5IFGs1NJVAnezRv9q8FVVvdNdh4gbJL4KTbMkWuzz0eh+r+9rTRnv1zE+RyH1vYMN8D52iYDbybZivB6TAVCdPMObl98N4B2zhYPkfAO7QOqOj4EwEIWVDepOWb4/BGhPYowSpdG0r1+1B1tVjuWoicsWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713305408; c=relaxed/simple; bh=WRfn/cAsNNMRbBq4GuWQdlT1whoo5mgh0SJ91YMp45M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M/I07Xj9CuXU/fKVL6/6oqntBaz1ZroGDbFVgbBeIahgOzgZc2QAt9Pk+UkkmRvajN6VQ0XTd2Ff4m0uvIJTkaZM1DljeA/LNtvHfRbwxP6eyoRpneeqmXW2E7l18L5zOlChog1zE9GSpST79OhQGL3CV6Ypn060jqNnlmu05Ow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=mZFsERtc; arc=none smtp.client-ip=209.85.210.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-6ed267f2936so3932541b3a.3 for ; Tue, 16 Apr 2024 15:10:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1713305406; x=1713910206; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kWpnbwrols/HFksVXx6/pFTtlVbtQF7yySAM3VjY0NM=; b=mZFsERtcoeR+yD6q+ecfyS+3pRFu1IrSUxDCgnESXNVP2gX3duOq02JoBYd6onKPkO QCzTDUlGVfwb63i9R7CsdkZqM9YWeTQnyYrKVvFV29f6SbA56cKAk3yKRQzaaY+bjogJ jBhp5wjwY3vGVkiE62AQ3mbu5JxPW3bDGs7Z0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713305406; x=1713910206; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kWpnbwrols/HFksVXx6/pFTtlVbtQF7yySAM3VjY0NM=; b=DPFXklR21hLVg4ICS+AoF5LCseku6TjBXNpNVNPekNGegCGIiPtvL7UPeUKw3sLw1J Ko2xc1S+mqH1ER7lvH/BqcDpVKN+rZxY0/37cbE/MAZvYQqVRDccHfrpUzd0zJQ3nMZY obLyhSRbmTAs6GQqIF+eP55aIpj15e9ON+HJshgleGL+G2Nka4dKEUYRov/RMPuxBcoG s1O4sxnUaQBH10jre8RQ/HELt/Igx2Qu5IwdDriHhppwtFk5tqRzDTv5LfLbRzmLZowr cy1ci9t4+j5enmokBW6SEsLBehL90T4tg7zFYOJ+pTuMvtkKjOUvaBAQy0nEu1hDESjz 1EfA== X-Forwarded-Encrypted: i=1; AJvYcCVDXpX+X+Nr8HGWxIEyxhPxO1+72wmVRAnsaQ1IASC5nsEispbzSy5iqPjj9obEsOId8j7GCWnctS2mQfkzdN93WRF2SzeLpd+C6LI2 X-Gm-Message-State: AOJu0YzIEtjWnZo/6juKSr70yOzV08v02G1uIF/y5Rca19hij1VDcRHk Zy33/Jh0Ijm0zBcyKx0/LNU3fAjnEk37WlB7uTEbeSQKv5/ugKX9bLUk8lk39g== X-Received: by 2002:a05:6a20:9f86:b0:1a9:db37:bef3 with SMTP id mm6-20020a056a209f8600b001a9db37bef3mr8840834pzb.12.1713305406053; Tue, 16 Apr 2024 15:10:06 -0700 (PDT) Received: from localhost (15.4.198.104.bc.googleusercontent.com. [104.198.4.15]) by smtp.gmail.com with UTF8SMTPSA id q4-20020a656244000000b005dc4fc80b21sm8032266pgv.70.2024.04.16.15.10.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Apr 2024 15:10:05 -0700 (PDT) From: jeffxu@chromium.org To: akpm@linux-foundation.org, keescook@chromium.org, usama.anjum@collabora.com Cc: jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, jannh@google.com, sroettger@google.com, pedro.falcato@gmail.com, dave.hansen@intel.com, linux-hardening@vger.kernel.org, willy@infradead.org, gregkh@linuxfoundation.org, torvalds@linux-foundation.org, deraadt@openbsd.org, corbet@lwn.net, Liam.Howlett@oracle.com, surenb@google.com, merimus@google.com, rdunlap@infradead.org, Jeff Xu Subject: [PATCH 0/1] selftest mm/mseal: style change Date: Tue, 16 Apr 2024 22:09:43 +0000 Message-ID: <20240416220944.2481203-1-jeffxu@chromium.org> X-Mailer: git-send-email 2.44.0.683.g7961c838ac-goog Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Jeff Xu This patch is a follow up to the comments [1] on test code during mseal discussion. This is style only change to the selftest code, not to test code logic. Please apply on top of mseal v10 patch [2] [1] https://lore.kernel.org/all/e1744539-a843-468a-9101-ce7a08669394@collabora.com/ [2] https://lore.kernel.org/all/20240415163527.626541-1-jeffxu@chromium.org/ Thanks Jeff Xu (1): selftest mm/mseal: style change tools/testing/selftests/mm/mseal_test.c | 124 +++++++++++++++++------- tools/testing/selftests/mm/seal_elf.c | 3 - 2 files changed, 91 insertions(+), 36 deletions(-) -- 2.44.0.683.g7961c838ac-goog