Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp458281pxu; Tue, 6 Oct 2020 10:21:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTDRXOVYhTzwJnmMN/PvDFCFyrQhaNUiLcyPqFPGhx8HP67EEkvvV/Kob/ekGcL8PW/MEz X-Received: by 2002:a17:906:c095:: with SMTP id f21mr670847ejz.108.1602004906833; Tue, 06 Oct 2020 10:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602004906; cv=none; d=google.com; s=arc-20160816; b=uGvq4cgDtJw5Dsi2B3f69jTUe5UW8iSAFrTVlVT6LEdCdUCRqAybYl9G9xe1MYcNAZ HGFUtatJmSDACY8exTfjGXVuuPNx/4AlXRYMgnbTuxwGwnGykIQElfxtjxI3dF4S0ypN b6cbglPwRaD+K4K6C0zRZOb40TdFlXtj1P3T1RFJhw7+v6YFb2MMJCQBIwObF0R1MRjN eWm8vnaXGucz3sQ054RmEODd2o3rVuSKSKFtXn+iOpAIPSQHIF4MkXU8pOXVY8Z/08cl 5X75IdNiJ4t4yN1bMthGF95L2djf2B3jbiZ6b10nuvcXcArMw0/OSr4Fn3gJ9tLc1DVA RHtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=EmMA0MXwa9Y3a9DTnIq7V50a+/9wr9pmySY3W0f2JWc=; b=lKHRlgpXsAYaaHVjCFkXQULf4R+t5TkKR9QaKHhduM+d9+35W9kFVUNfz+3vnuCS9j IgYLzfccrROnthd1Mfqo19n2Pd3ixHpXNvqymYcw3OeksBHJ9ntzlKdXW8zkxb7Gln04 bdQzYYdgrAgZSBlOtuCObgPtLtMELtsqtPoP2SFSRTL/2OSR2KMOIm5pXzwFkhbsEFH4 lEyHLAjUnBAC5DHXaATFJ4+8H7Yt0bHw/Q1Dsck68b7UgAcxpB1aZadc8f6ouPg4B6sE ZrxkbKoUggh5GjcQ4EBNVsc3SHjhnPndzjLKIzVRarh3h+1GeFIi95huz+DMYtaJD4Xy aV6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e9si3066413edl.154.2020.10.06.10.21.22; Tue, 06 Oct 2020 10:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726258AbgJFRUF (ORCPT + 99 others); Tue, 6 Oct 2020 13:20:05 -0400 Received: from namei.org ([65.99.196.166]:33330 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725902AbgJFRUF (ORCPT ); Tue, 6 Oct 2020 13:20:05 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id 096HJreu007613; Tue, 6 Oct 2020 17:19:53 GMT Date: Wed, 7 Oct 2020 04:19:53 +1100 (AEDT) From: James Morris To: Kees Cook cc: Greg Kroah-Hartman , KP Singh , Jessica Yu , Scott Branden , Mimi Zohar , Luis Chamberlain , Takashi Iwai , SeongJae Park , KP Singh , linux-efi@vger.kernel.org, linux-security-module@vger.kernel.org, linux-integrity@vger.kernel.org, selinux@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 10/16] module: Call security_kernel_post_load_data() In-Reply-To: <20201002173828.2099543-11-keescook@chromium.org> Message-ID: References: <20201002173828.2099543-1-keescook@chromium.org> <20201002173828.2099543-11-keescook@chromium.org> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Oct 2020, Kees Cook wrote: > Now that there is an API for checking loaded contents for modules > loaded without a file, call into the LSM hooks. > > Signed-off-by: Kees Cook > Reviewed-by: KP Singh > Acked-by: Jessica Yu Reviewed-by: James Morris -- James Morris