diff --exclude-from=exclude -N -u -r nsalibsemanage/src/semanage_store.c libsemanage-1.6.2/src/semanage_store.c --- nsalibsemanage/src/semanage_store.c 2006-03-10 09:48:01.000000000 -0500 +++ libsemanage-1.6.2/src/semanage_store.c 2006-03-29 14:20:16.000000000 -0500 @@ -1159,6 +1159,8 @@ ERR(sh, "Could not open direct %s at %s.", lock_name, lock_file); return -1; } + fcntl(fd, F_SETFD, FD_CLOEXEC); + if (sh->timeout == 0) { /* return immediately */ origtime.tv_sec = 0;