[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240313194221.GA18631@altlinux.org>
Date: Wed, 13 Mar 2024 21:42:21 +0200
From: "Dmitry V. Levin" <ldv@...ace.io>
To: Casey Schaufler <casey@...aufler-ca.com>,
Paul Moore <paul@...l-moore.com>
Cc: LSM List <linux-security-module@...r.kernel.org>,
Linux kernel mailing list <linux-kernel@...r.kernel.org>,
linux-api@...r.kernel.org,
Mickaël Salaün <mic@...ikod.net>,
James Morris <jmorris@...ei.org>, Serge Hallyn <serge@...lyn.com>,
John Johansen <john.johansen@...onical.com>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
Stephen Smalley <stephen.smalley.work@...il.com>
Subject: Re: [PATCH v3] LSM: use 32 bit compatible data types in LSM syscalls.
On Wed, Mar 13, 2024 at 12:32:37PM -0700, Casey Schaufler wrote:
> LSM: use 32 bit compatible data types in LSM syscalls.
>
> Change the size parameters in lsm_list_modules(), lsm_set_self_attr()
> and lsm_get_self_attr() from size_t to u32. This avoids the need to
> have different interfaces for 32 and 64 bit systems.
>
> Cc: stable@...r.kernel.org
> Fixes: a04a1198088a: ("LSM: syscalls for current process attributes")
> Fixes: ad4aff9ec25f: ("LSM: Create lsm_list_modules system call")
> Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>
Reported-and-reviewed-by: Dmitry V. Levin <ldv@...ace.io>
--
ldv
Powered by blists - more mailing lists