From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ed1-f73.google.com (mail-ed1-f73.google.com [209.85.208.73]) (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 D742A1DB144 for ; Fri, 24 Jan 2025 09:24:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737710677; cv=none; b=FokIBmQxfXTX2Xn+zSZ4R7kFYBbi8XtsPZTlG8ACNYzI/vSD10CVgjAkA715jU/3cAOMGHZ6bWPdu9s/FISjwFGHn3+JXhbFYL471msVzwGpHcAgdEwg6ias7SgQuLAgO5EQD6jP+st7jN+GxBFbudPVs/vHzslQWQL/OEU/zOw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737710677; c=relaxed/simple; bh=OFlCvag1dCMWxCbQJF9vTIHIYpXQds68VWnbaoEmzps=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=euZj2tvMO6guZD6Vn2GIPnLZmJR8UbfNBnJhVkgF+J7cHiMHcqYkam9C/1ywdp56wzuxM6SYWl1svMCSTBIZLm8Wu4PkDVNng+0yOP+G4rigu3OCuhlsOBowdw6f79ZPA4neeCpy8sPNmEHT4e/SMA0oKygyUWHSInT6wA5v36o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--gnoack.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=GCFywpgO; arc=none smtp.client-ip=209.85.208.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--gnoack.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="GCFywpgO" Received: by mail-ed1-f73.google.com with SMTP id 4fb4d7f45d1cf-5d3f4cbbbbcso1992556a12.1 for ; Fri, 24 Jan 2025 01:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1737710674; x=1738315474; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:from:to:cc:subject:date:message-id :reply-to; bh=r4qUWQfGYfCur4iR04Gogqvnq5G2P8cLb5tgTIutD9c=; b=GCFywpgO6mJ6dKthtV1VZaRE7OH5tsptRUzI1aGKCKkEF8lRyyftq3cgHtccIHVTQQ za95g6wybwk3OdfdmcjAX2nHuuHcBqzetz1obPQCFd8Bp6QLsVCPOgrwfjzC91ydLAXD lJ/uuZSVjOvNAmmL7lkPQu/BGRRrCNJ4AqYpZceW+92PNzWgnQYnh6tjPn4cmvdwOLj9 09YflXlw1UrCZ6RSM8uBxLwvUj20VXG/u6UVHW6G3E2cJI6IGTruudE0ulWtaroBrglh ANGT85Wfe22qY9BpAXtgPi0qanmX7pXaighmrBqfk9Fe/iM9IvDQTs7rDEswR+UdaBC4 mI6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737710674; x=1738315474; h=content-transfer-encoding:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=r4qUWQfGYfCur4iR04Gogqvnq5G2P8cLb5tgTIutD9c=; b=TEAZ2Zz4GkJSp9e7buyP8IjK58GmaPiCNZZQk/+7uFHYV/KOzOyV2k0SmQ5L7HlDL3 G/a28q14i/CvKKG+zbo4UBa/FVgdugXzd23LTYtKOuX2FCeonDf4pd/GMUEvtujlLXSd Y17yC0xUpT8ppN7gqQipfZsK3uJZCZHtcx7nct+msNkMchXJ3eO43aHrHIZOzrVJFEFj L0+O6/bTCa7k4JuGtjUJNUG35jxCpUt++4fHCYlePzsO5TyUP9RlKZirUfE8GGGXOhvh EP4YbqzyABOoR3As76VbMC9EKgKPPI/RWGyo4k6XLhsHZAr7XNU+KY4GFUhtd6Jm/tQk pTYA== X-Forwarded-Encrypted: i=1; AJvYcCU9ojAih+Vq6AMaz3LdnQFkIgt2YtE/GB5q9wbRrq8A3zh173roBcJegwVjKoyBU/yGIWJfxH0PxyEZ27A=@vger.kernel.org X-Gm-Message-State: AOJu0YxHpnSgWJ/0mzg/yTDLvKJBg30I7M9rdnvuC/9OI+Nj/USsLTEY y23CPx8OhGxqdLSu6YkT3JBcFaxImo7m1RdnFpJGR2WkdfpUg95RzOs6NzEI5mr+sjRXDvemJf9 n0Q== X-Google-Smtp-Source: AGHT+IEyLOTvh3qO2R3zKQwDU3mM0N68wG3/2dAq6sVpthSi5GIlcCrKg2utWHsF1089JWIBT3RJ8EQvj2c= X-Received: from edbij8.prod.google.com ([2002:a05:6402:1588:b0:5cf:f391:7e9d]) (user=gnoack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6402:51ce:b0:5d0:8197:7ab3 with SMTP id 4fb4d7f45d1cf-5db7d2e913amr22662796a12.3.1737710674232; Fri, 24 Jan 2025 01:24:34 -0800 (PST) Date: Fri, 24 Jan 2025 10:24:31 +0100 In-Reply-To: <20250123194208.2660-1-tanyaagarwal25699@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250123194208.2660-1-tanyaagarwal25699@gmail.com> Message-ID: Subject: Re: [PATCH] landlock: fix grammar and spelling error From: "=?utf-8?Q?G=C3=BCnther?= Noack" To: Tanya Agarwal Cc: zohar@linux.ibm.com, mic@digikod.net, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org, anupnewsmail@gmail.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 24, 2025 at 01:12:10AM +0530, Tanya Agarwal wrote: > From: Tanya Agarwal >=20 > Fix grammar and spelling error in landlock module comments that were > identified using the codespell tool. > No functional changes - documentation only. >=20 > Signed-off-by: Tanya Agarwal > Reviewed-by: Mimi Zohar > --- > Original discussion: > https://lore.kernel.org/all/20250112072925.1774-1-tanyaagarwal25699@gmail= .com >=20 > This patch set is split into individual patches for each LSM > to facilitate easier review by respective maintainers. >=20 > security/landlock/ruleset.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/security/landlock/ruleset.c b/security/landlock/ruleset.c > index a93bdbf52fff..c464d1f84792 100644 > --- a/security/landlock/ruleset.c > +++ b/security/landlock/ruleset.c > @@ -121,7 +121,7 @@ create_rule(const struct landlock_id id, > return ERR_PTR(-ENOMEM); > RB_CLEAR_NODE(&new_rule->node); > if (is_object_pointer(id.type)) { > - /* This should be catched by insert_rule(). */ > + /* This should have been caught by insert_rule(). */ > WARN_ON_ONCE(!id.key.object); > landlock_get_object(id.key.object); > } > --=20 > 2.39.5 >=20 Reviewed-by: G=C3=BCnther Noack Thanks! =E2=80=94G=C3=BCnther