Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6839014rwd; Mon, 19 Jun 2023 13:18:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4HkjBux0VLwM6+8tZnuRRi/CCS1c2lPq9EdXJZ1/qdKUq+yAahPzfdLb8tuad9T7JvZKUK X-Received: by 2002:a05:6808:14ce:b0:39a:abe8:afc3 with SMTP id f14-20020a05680814ce00b0039aabe8afc3mr13362165oiw.38.1687205918334; Mon, 19 Jun 2023 13:18:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687205918; cv=none; d=google.com; s=arc-20160816; b=HD607DMEe1rKDO9e0JZN3HeJNzGmBDR2aIGQ9+5E80PS+tSuZ52OdrfBw2Gug4CBIy JFnoZFNmOqvJHsiqLVBtXUOoBzYjDr7c0i2mpeK+GTztlePt3eq0nu8hNjkBmMltIL58 ZCDuPGL+VyIWgYxyAVY3l3mU8JolI2oFHCSEdYb1YZjh5xvmx+4/RNsfcXNUIGIp+tgC qqsiNX60xdSQ2RcKSxjU/4wZndtFjAQkbAXkQc1F/A5fvqBQoTHDXZO9ILxK3QZhTLgv ap+HMiMhQUwZbsixA9szClk5jTe04eaMixJkzaLOjYFVJETolAzOGkO1PwOW8kczC0CZ dECA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=T2vsVFtTkQYhqMmseMllBPLpJkQ52+kcj5AVBSFXuKs=; b=pF0gpxB/ihYVVGKiQJB5zTm3FuCE6LG2We0k3WqVOiajpV6GiEUCmgS7vYjPiscHCN uBG34inapIKvFoZ7iPV+6q638V2nSN8NdhqewPyKHg9ovwFQBqZ0mbFS+7p73X/Ta3Bi 9bcdEQ+vhK/Y1T7iiwvdA8yC1R1a9ozsBk+4wnxs3+BjSzD/Kd5Xv59vURDuRt5JGDou 8jpHbsGojxEVOzc9hIFYrvHS1/RZmHS7c9hYcHs08FPmIDCypOpMjpCqV2iQkFVNxdDK NmAeVR6DTZg98nJQtKjd18t/4zb1WKGkIEk7/dGwvpybiQ4QE7bugpWLueDfa6vqm8sD ULCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JsVpqeSo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q16-20020a17090311d000b0019ca7d69673si484559plh.196.2023.06.19.13.18.24; Mon, 19 Jun 2023 13:18:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JsVpqeSo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbjFSUDU (ORCPT + 99 others); Mon, 19 Jun 2023 16:03:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbjFSUDS (ORCPT ); Mon, 19 Jun 2023 16:03:18 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20088E71 for ; Mon, 19 Jun 2023 13:03:17 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-517bdc9e81dso1531116a12.1 for ; Mon, 19 Jun 2023 13:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1687204996; x=1689796996; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=T2vsVFtTkQYhqMmseMllBPLpJkQ52+kcj5AVBSFXuKs=; b=JsVpqeSoU9JGqhw/Knvq+EH87u0+brLVuGMPOl8wehYwMXal8PD7rLPtJBQ/LuIXD5 q3wqzN82EFF2hMFosDRrnb1S1epH4esiYijM7wdbAxvyvzl4rwMrBd7CSb+DzCUf5j3q T3LWRqxFv4IL50FXaZc8BOq6WyjU0DNPTavMU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687204996; x=1689796996; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=T2vsVFtTkQYhqMmseMllBPLpJkQ52+kcj5AVBSFXuKs=; b=S9839OxkmxNg3RbtWiFTtnMtcxi3jYdUko+1VBnR/1IJRvRcE5oDb1tRjMRF7W1do0 0n0aiI8TZMw+eIa+u215yk3nKK7+EyUKNcMw8SThkMHwxh5XGMWtVrtD51nwVGJo5oAl KRk588ED8kwVdyLygrDsaGaDVJsUVK3ZLxM8WNOcDvosm3Vu3PAbUtSeOsX4gFeYrrR3 dMZbvfizaNZOwmVLLQ8z2yjGabOGlsAz0tWZd/fF7N55Qy7Lawdbt1lv9FVFwcWm35eQ SGyOKDIuObketWiIz9T6U+KsbEzkt2Vdbky87uQOZDg1eAZ4UpQMbjSCW7irCmHxc7hx Q94g== X-Gm-Message-State: AC+VfDz013gGQrbC9Vz9no+jD/SVykcbixDLSOu3fhLSVif/CXL42bNu +sH0wLaCo5g2Ap8n2Z/mUbbVGQ== X-Received: by 2002:a17:902:eac2:b0:1b1:ae33:30de with SMTP id p2-20020a170902eac200b001b1ae3330demr8178420pld.13.1687204996405; Mon, 19 Jun 2023 13:03:16 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id z11-20020a170903018b00b001a072aedec7sm221542plg.75.2023.06.19.13.03.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 13:03:15 -0700 (PDT) Date: Mon, 19 Jun 2023 13:03:14 -0700 From: Kees Cook To: Casey Schaufler Cc: paul@paul-moore.com, linux-security-module@vger.kernel.org, jmorris@namei.org, serge@hallyn.com, john.johansen@canonical.com, penguin-kernel@i-love.sakura.ne.jp, stephen.smalley.work@gmail.com, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, mic@digikod.net Subject: Re: [PATCH v11 11/11] LSM: selftests for Linux Security Module syscalls Message-ID: <202306191303.7F374EC@keescook> References: <20230616165055.4705-1-casey@schaufler-ca.com> <20230616165055.4705-12-casey@schaufler-ca.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230616165055.4705-12-casey@schaufler-ca.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 16, 2023 at 09:50:55AM -0700, Casey Schaufler wrote: > Add selftests for the three system calls supporting the LSM > infrastructure. > > Signed-off-by: Casey Schaufler Reviewed-by: Kees Cook -- Kees Cook