Re: [PATCH 02/02] x86_64: Add safe check in a.out loaders and some coding style

2013-09-18 Thread Geyslan Gregório Bem
Please, disregard this due to problems reversing the commit. I'll send the entire one soon. Geyslan Gregório Bem hackingbits.com 2013/9/18 Geyslan G. Bem : > ia32_aout had no safe checks concerning the mmap and f_op in this module. > It's not necessary to verify f_op in the load_aout_library, s

[PATCH 02/02] x86_64: Add safe check in a.out loaders and some coding style

2013-09-18 Thread Geyslan G. Bem
ia32_aout had no safe checks concerning the mmap and f_op in this module. It's not necessary to verify f_op in the load_aout_library, since the prior kernel_read/vfs_read function already does. Coding style and printks fixes. Tested using qemu, a handcrafted a.out binary and a a.out linked with a