git: kernel - Change closefrom() EINTR behavior

Matthew Dillon dillon at
Sat May 19 23:00:47 PDT 2018

commit 242ef4e8145eb20bac1e3d4554a1c2d627889dae
Author: Matthew Dillon <dillon at>
Date:   Sat May 19 22:58:58 2018 -0700

    kernel - Change closefrom() EINTR behavior
    * closefrom() no longer breaks out of its loop if it gets an
      EINTR from a close().  EINTR can only occur from NFS in this
      situation, and the descriptor is still closed.  Any EINTR's
      which occur will be rolled up and returned after the loop
    * Callers usually ignore closefrom()'s return value anyway.
    Suggested-by: mjg

Summary of changes:
 sys/kern/kern_descrip.c | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list