Linux preserve /proc/self/exe; --unmap-all-pages option

This commit is contained in:
John Reiser
2010-02-28 15:58:08 -08:00
parent 79783abeb1
commit f03f42ca4d
27 changed files with 5755 additions and 5540 deletions
+1
View File
@@ -142,6 +142,7 @@ struct options_t {
bool is_ptinterp; // is PT_INTERP, so don't adjust auxv_t
bool use_ptinterp; // use PT_INTERP /opt/upx/run
bool make_ptinterp; // make PT_INTERP [ignore current file!]
bool unmap_all_pages; // thus /proc/self/exe vanishes
unsigned char osabi0; // replacement if 0==.e_ident[EI_OSABI]
enum { SCRIPT_MAX = 32 };
const char *script_name;