lkml.org 
[lkml]   [2000]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Does your change make find faster by changing where it is storedor where it is returned?
From
Date
>>>>> Jamie Lokier writes:

Jamie> I am proposing changing the interface to the one that Glibc already
Jamie> exports, and which has precedent in BSD4.4. I.e., there are
Jamie> applications which can use it.

Jamie> There just seems to be a hole at the moment: Glibc exports d_type info
Jamie> from readdir but always stores DT_UNKNOWN in it.

And that's why Ulrich Drepper likes to see a new syscall. If we've
got a new syscall, we can easiliy store DT_UNKNOWN when using the old
one - and using the real value from the kernel with the new syscall.

For kernels without your changes, we need to set d_type to DT_UNKNOWN,
otherwise applications will break.

Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.055 / U:1.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site