syscal_exec16: Fix two bugs
authorAlan Cox <alan@linux.intel.com>
Wed, 8 Nov 2017 19:54:18 +0000 (19:54 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 8 Nov 2017 19:54:18 +0000 (19:54 +0000)
commitc5ee3b3b0b410a5a1e62f37959eafee0c2c09006
tree3f016ee1907fcd6887115c0b584e6b318a6d4ca5
parentf7875e374910e4af0e6f15ecf38df37de67372b3
syscal_exec16: Fix two bugs

1. Potential race on reference to hdr
2. If we tried to exec an r/o file and failed we could end up being marked
non coredumping
Kernel/syscall_exec16.c