]> Gentwo Git Trees - linux/.git/commit
security: use umax() to improve code
authorQianfeng Rong <rongqianfeng@vivo.com>
Fri, 15 Aug 2025 03:56:03 +0000 (11:56 +0800)
committerPaul Moore <paul@paul-moore.com>
Mon, 18 Aug 2025 19:41:47 +0000 (15:41 -0400)
commite73f759d2e98c729ca6f98dad4ca6d7b9120e576
tree664b347f403e36548c68a11e9a7c239cdead7620
parent5816bf4273edb32716a88c796e0b04f0e12962eb
security: use umax() to improve code

Use umax() to reduce the code in update_mmap_min_addr() and improve its
readability.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
[PM: subj line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/min_addr.c