exec: Clear owning proc earlier
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 20 Mar 2018 19:47:13 +0000 (15:47 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:33:44 +0000 (14:33 -0400)
commit651a535ea9339ddb1a6df4ed8a0457365bf06530
treee8b62e4b6845667b80813930e7a04fabc6a2a494
parent01757fef03769be9fb9aa17cf529034e927889b3
exec: Clear owning proc earlier

We're supposed to clear as soon as we could block, but foc_open() can block
(as the comment says).

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/syscall.c