At 04:05 PM 3/22/2002 +0000, Pavel Machek wrote:
>>
>>
>> I disagree, and here's the main reasons:
>>
>> * fadvise(2) usefulness extends past open(2). It may be useful to call
>> it at various points during runtime.
>
>open(/proc/self/fd/0, O_NEW_FLAGS)?
So to use fadvise(), the system must have /proc mounted?
Not everybody mounts /proc -- it provides a lot of potential information to anybody who can access it ("hmm... they have a QZ48257 ethernet chipset [cat /proc/pci] -- lets see, sending this specific sequence of bytes in a TCP packet will lock up the receiver...").
-- Stevie-OReal programmers use COPY CON PROGRAM.EXE
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:07 EST