On Thu, 06 Jul 2006 11:10:53 -0400 Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> wrote: > --- a/fs/file_table.c > +++ b/fs/file_table.c > - if (get_nr_files() >= files_stat.max_files && !capable(CAP_SYS_ADMIN)) { > + if (!(kflags & FKFLAGS_NO_ENFILE) && > + get_nr_files() >= files_stat.max_files && > + !capable(CAP_SYS_ADMIN) > + ) { Somebody's just going to put this back to kernel-style later anyway. We might as well get it correct up-front. - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html