Re: 2.4.0-test7-pre3 doesn't boot

From: David S. Miller (davem@redhat.com)
Date: Mon Aug 14 2000 - 04:13:05 EST


A fix was posted for this yesterday (several times in fact ;-)

--- ../vanilla/linux/fs/exec.c Sat Aug 12 22:52:10 2000
+++ fs/exec.c Sun Aug 13 08:50:39 2000
@@ -481,8 +481,10 @@
                 if (i >= files->max_fds || i >= files->max_fdset)
                         break;
                 set = files->close_on_exec->fds_bits[j];
- if (!set)
+ if (!set) {
+ j++;
                         continue;
+ }
                 files->close_on_exec->fds_bits[j] = 0;
                 j++;
                 write_unlock(&files->file_lock);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:32 EST