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

2013-09-17 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 printk strings fixes. Tested using qemu, a handcrafted a.out binary and a a.out linked

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

2013-09-17 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 printk strings fixes. Tested using qemu, a handcrafted a.out binary and a a.out linked