git: bb1154f3ea20 - stable/14 - kern_exec.c: explicitly include sys/limits.h for UINT_MAX

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 28 Jun 2026 00:30:18 UTC
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=bb1154f3ea20291b0c02821743084a6f1a7dd844

commit bb1154f3ea20291b0c02821743084a6f1a7dd844
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-21 14:17:41 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-28 00:29:05 +0000

    kern_exec.c: explicitly include sys/limits.h for UINT_MAX
    
    (cherry picked from commit f5fce0bcc370a9700249e64901eabf2e0be4ecb0)
---
 sys/kern/kern_exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 4461b9e4dc11..3cedf7ee36f5 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -26,7 +26,6 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
 #include "opt_capsicum.h"
 #include "opt_hwpmc_hooks.h"
 #include "opt_ktrace.h"
@@ -45,6 +44,7 @@
 #include <sys/imgact.h>
 #include <sys/imgact_elf.h>
 #include <sys/kernel.h>
+#include <sys/limits.h>
 #include <sys/lock.h>
 #include <sys/malloc.h>
 #include <sys/mman.h>