CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/01/17 22:30:58
Modified files:
usr.sbin/crunchgen: crunchide.c elf_hide.c
Log message:
The world is ELF: use <sys/exec_elf.h> instead of <a.out.h> or <sys/exec.h>
Use a better test for an input being ELF: struct exec is dead and there are
defines for the ELF magic. Reorder #includes and do some whitespace cleanup.
Oh, and don't lead the fd if an input file isn't ELF.
ok deraadt@
