Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp455482lqz; Sat, 30 Mar 2024 04:11:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4aVEfGzJUouJz0UIyzyT0kxwPz+zq34mxvaSnZudI1d77BEIB/UossMxtFpJj7wxmmw+lhipvNBLdwcScG7rO4sUWZb3BcRsyBDYNQQ== X-Google-Smtp-Source: AGHT+IF/dUUSk2jCSTwEdE9e5ZpmxamIcBfy+r+WYW2yrt6R7MMenI4URprb5CoogNriwLjd3jLM X-Received: by 2002:a05:620a:56d8:b0:789:df6e:c412 with SMTP id wh24-20020a05620a56d800b00789df6ec412mr4683555qkn.24.1711797106550; Sat, 30 Mar 2024 04:11:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711797106; cv=pass; d=google.com; s=arc-20160816; b=t1rVG8IhE28fY9ehNUSaDgeNv0GAGAqwJoLaaUJXsJdOv7GOpEtdceiHJwpOSa3ERE yBEpXx3N5NL42Hz2vKaJrg+WeDcY3G1ljj1lu7p5b5Vd189feW9Nn9vjSpMRFgMsi6sb O0r5t4k4BTnBCSKoEGELm7FWrHobvJQc0LHK03slz9O9Y5O2Q9rr4ZJvgF+axzJZvlIl 8TzWAjCzqOcIBuE1ReYpCIiqbv/fU3By224WXS2B+wNY4FF397ttcuKVm5WvwA75xykS MU4ObQtL2Wunmrq9pz+mZGhajQ4+8s0Wtw9T4ijvHmxpRzqqZwnCgwCi3K1rN4+I9f6z cgtA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=b7hphFySmVDoVtd+4uSOruHOFULOOJYwsJFnCRvXj2U=; fh=eN9hsphEyBjobY0sVAqBxIXX7DCnqaRSEn8XSI4QMsc=; b=Kupj5Pifln/Aer1JW2ej0QyE5jW0VZ5Ufi3vr6ps9bBQxBqVgLpCarBjIith/J06r1 XArOudWiGbeXdT109mm3btofMJ6iTTTsgR0OPi6QEHRqYtDYcXri+4kS8fE4SugnbhX2 7dVvetO/AbGiAJL+OlZ9563HjL6vNfSCBjsY92I1xoGabqSmivjYLGALNwbH5RObOdE+ 7olofKP7Hqr+CwcFh2yRz/y2RPOlMmlXDgvQKcOtJEjyNMvFqTIGpReTvLJYR4agAkmJ vEz5WtBpaX2W5m/Syekwy7NdSGW3TB9UvFh4E+8brobWJIl20VJABpXpHFcroWa6KMC/ EPaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qVyEp2OC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id j22-20020a05620a0a5600b0078a00baa04dsi5351345qka.663.2024.03.30.04.11.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 04:11:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qVyEp2OC; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BEBF21C20E1E for ; Sat, 30 Mar 2024 11:11:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EF9022D057; Sat, 30 Mar 2024 11:11:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qVyEp2OC" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DEFAFBE6F; Sat, 30 Mar 2024 11:11:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711797093; cv=none; b=pthwGYGVfkKbo79i4r3JfW+J203srEv4BC6L5S4Y3mQ2kd4OYvYtMhaXKPexDmEipY4fIfYU55BS7w/rlrTa8AXWce6NKmQAAkphwv4b4rVqkxv4z+JT6XEZCcVsYS165T4HoL+pSJi6F4ST+gFyWuUe+LrpxL0GWxBdDFIT6Y8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711797093; c=relaxed/simple; bh=iXcSCv1Lm8qoVXmrgVuG9IH8TGJqsJHpTZ9ruAqsmUI=; h=Mime-Version:Content-Type:Date:Message-Id:To:Cc:Subject:From: References:In-Reply-To; b=mneaipFTH8fgHzlTlxHH/boSUgl+zn6i8Dxa5S9wy4cnacpxWYlhZtnVRyobCCFaf/cfp5ja1XzOyMV8XkkFMoV32ZN3x2I54TuTLApffum0FFRV2gHAzm1BmMOpE0b8qYT9y67Y6aNVhYD85N9qu/MsSl+QyonWMhUngoyfY8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qVyEp2OC; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 061ADC433C7; Sat, 30 Mar 2024 11:11:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711797091; bh=iXcSCv1Lm8qoVXmrgVuG9IH8TGJqsJHpTZ9ruAqsmUI=; h=Date:To:Cc:Subject:From:References:In-Reply-To:From; b=qVyEp2OCL7jBvHHpwLy5SoX/uOuYnC1rcPn+CPe8wTYEuho90fPuIdCDew6wweXpi vr2rRp7C/tCMbPkVmBjvy0d2xn6W7Vkq71NAS+exqVOYf9jSy5wwSyB4rBFcof/1Vr dtKAFPNiSks+nyA/O9D41wwFoloIqWTxq9TGLOkhwBWa57+P6iPY2DxcR6RL1oMeml U5/g9Yh/kIQo8XvnWmdPc6JRYsVI0rbuX/07su2hZhO9zv1dd7X5ExFmEn+nYdFvuJ jd8KJFKJkfmbb65/UaOIex+Hn/flU5IlCzJjpbswd6ds72r9f3uIOp8vV91t+ASrBX Z0Fp2O26xlMEQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 30 Mar 2024 13:11:25 +0200 Message-Id: To: "Randy Dunlap" , "Fan Wu" , , , , , , , , , , , Cc: , , , , , , , , "Deven Bowers" Subject: Re: [PATCH v16 01/20] security: add ipe lsm From: "Jarkko Sakkinen" X-Mailer: aerc 0.17.0 References: <1711657047-10526-1-git-send-email-wufan@linux.microsoft.com> <1711657047-10526-2-git-send-email-wufan@linux.microsoft.com> In-Reply-To: On Fri Mar 29, 2024 at 12:11 AM EET, Randy Dunlap wrote: > > > On 3/28/24 13:45, Jarkko Sakkinen wrote: > >> +/** > >> + * ipe_init - Entry point of IPE. > >> + * > >> + * This is called at LSM init, which happens occurs early during kern= el > >> + * start up. During this phase, IPE registers its hooks and loads the > >> + * builtin boot policy. > >> + * Return: > >> + * * 0 - OK > >> + * * -ENOMEM - Out of memory > > Just a suggestion: > >=20 > > * 0: OK > > * -ENOMEM: Out of memory (OOM) > >=20 > > Rationale being more readable (less convoluted). > >=20 > > And also sort of symmetrical how parameters are formatted in kdoc. > > It needs the " * *" to make a formatted list in the generated output. > Otherwise the use of '- or ':' as a separator doesn't matter AFAIK. Thanks for the remark! Yeah I don't mind the two stars. BR, Jarkko