[PING][PATCH] binfmt_elf: Don't clobber passed executable's file header

2015-10-26 Thread Maciej W. Rozycki
Do not clobber the buffer space passed from `search_binary_handler' and originally preloaded by `prepare_binprm' with the executable's file header by overwriting it with its interpreter's file header. Instead keep the buffer space intact and directly use the data structure locally allocated fo

[PATCH] binfmt_elf: Don't clobber passed executable's file header

2015-09-06 Thread Maciej W. Rozycki
Do not clobber the buffer space passed from `search_binary_handler' and originally preloaded by `prepare_binprm' with the executable's file header by overwriting it with its interpreter's file header. Instead keep the buffer space intact and directly use the data structure locally allocated fo