aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-02-09 18:44:50 +0000
committerNed Ludd <solar@gentoo.org>2006-02-09 18:44:50 +0000
commit1405c52bb9f2aa7a8a902c9d11ce84eae26e0e7a (patch)
tree6718e18ffbe016a5e9ced61093b60644af82ae89
parent- Ă— is not printable by all term types (diff)
downloadpax-utils-1405c52bb9f2aa7a8a902c9d11ce84eae26e0e7a.tar.gz
pax-utils-1405c52bb9f2aa7a8a902c9d11ce84eae26e0e7a.tar.bz2
pax-utils-1405c52bb9f2aa7a8a902c9d11ce84eae26e0e7a.zip
- add ELFOSABI_FREEBSD to elf_max_pt_load. Maybe it would be better to set the default to 2 vs 0
-rw-r--r--paxelf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/paxelf.c b/paxelf.c
index e08307a..8d0f22b 100644
--- a/paxelf.c
+++ b/paxelf.c
@@ -1,7 +1,7 @@
/*
* Copyright 2003-2006 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
- * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.42 2006/02/05 17:10:52 solar Exp $
+ * $Header: /var/cvsroot/gentoo-projects/pax-utils/paxelf.c,v 1.43 2006/02/09 18:44:50 solar Exp $
*
* Copyright 2005-2006 Ned Ludd - <solar@gentoo.org>
* Copyright 2005-2006 Mike Frysinger - <vapier@gentoo.org>
@@ -597,6 +597,7 @@ int elf_max_pt_load(elfobj *elf)
Elf ## B ## _Ehdr *ehdr = EHDR ## B (elf->ehdr); \
switch (EGET(ehdr->e_ident[EI_OSABI])) { \
case ELFOSABI_NONE: \
+ case ELFOSABI_FREEBSD: \
case ELFOSABI_LINUX: \
case ELFOSABI_ARM: return 2; \
case ELFOSABI_OPENBSD: return 7; \