From d50998740d55fe8157a836b82c73cf3e7c1e02b0 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 28 Aug 2015 08:32:51 +0000 Subject: [PATCH] bump elf max phnum to 2048 since core dumps can have many entries if the binaries that produce them depend on many shared libraries --- src/file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/file.h b/src/file.h index 2ad2f97e..02118338 100644 --- a/src/file.h +++ b/src/file.h @@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.169 2015/07/11 14:41:37 christos Exp $ + * @(#)$File: file.h,v 1.170 2015/08/28 08:32:51 christos Exp $ */ #ifndef __file_h__ @@ -418,7 +418,7 @@ struct magic_set { #define FILE_INDIR_MAX 15 #define FILE_NAME_MAX 30 #define FILE_ELF_SHNUM_MAX 32768 -#define FILE_ELF_PHNUM_MAX 128 +#define FILE_ELF_PHNUM_MAX 2048 #define FILE_ELF_NOTES_MAX 256 }; -- 2.40.0