[PATCH v2] security: min_addr: use umax() to improve code
Paul Moore
paul at paul-moore.com
Mon Aug 18 19:41:45 UTC 2025
On Aug 14, 2025 Qianfeng Rong <rongqianfeng at vivo.com> wrote:
>
> Use umax() to reduce the code in update_mmap_min_addr() and improve its
> readability.
>
> Signed-off-by: Qianfeng Rong <rongqianfeng at vivo.com>
> ---
> v2: Change max() to umax() and include <linux/minmax.h> explicitly.
> ---
> security/min_addr.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Merged into lsm/dev, thanks.
--
paul-moore.com
More information about the Linux-security-module-archive
mailing list