git: 42d8b0bf7a5a - stable/15 - kern_exec.c: explicitly include sys/limits.h for UINT_MAX
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jun 2026 22:21:03 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=42d8b0bf7a5a074c7035585a06dd44aed1b2cbdd
commit 42d8b0bf7a5a074c7035585a06dd44aed1b2cbdd
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-21 14:17:41 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-26 22:16:12 +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 a3c9a4baa787..b60d0c1e8b88 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_hwt_hooks.h"
@@ -46,6 +45,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>