From 445fb3bc0890734195cd67495f570cc4911b751f 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 00d2abec..702633ee 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.168 2015/04/09 20:01:41 christos Exp $ + * @(#)$File: file.h,v 1.169 2015/07/11 14:41:37 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