Remove the double-close() warning
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 22 Mar 2016 21:45:49 +0000 (17:45 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 20:53:42 +0000 (16:53 -0400)
commit6573cca72f57179266a692d05974a4eecf2c781f
treee2523b25b35a31fe0b59d35092cdcaa6625fdb0b
parent766c3a49b90c98a52bf0ac74814365d077b5f9f2
Remove the double-close() warning

It's legal to attempt to close a bad FD.  We had a nasty bug that this
caught a long time ago, but now we have programs that do this all the time
(ssh).

Since I fixed the shutdown() problem, we no longer have any known-buggy
programs that are double-closing.

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