execve: stop blocking in close_on_exec
authorAlan Cox <alan@linux.intel.com>
Sat, 3 Jun 2017 23:02:46 +0000 (00:02 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 3 Jun 2017 23:02:46 +0000 (00:02 +0100)
commit467fbe2b4a204f7ed99382b36605ef0eb309051f
tree0a099d92fd7a737ea464fbeec3e093841ccb04cc
parent3a4dacd7e1d7706814e52f9571ec7534f1533627
execve: stop blocking in close_on_exec

We don't allow closing of a dying process to block so in fact it's really
the same issue in the execve case. Dump all the ugly semaphore stuff for
a sanity check so we catch any offenders remaining after net was fixed
Kernel/include/kernel.h
Kernel/process.c
Kernel/syscall_exec16.c