Re: Speeding up swap

Tom Vier (thomassr@erols.com)
Sun, 24 Oct 1999 16:40:33 -0400


On Sun, Oct 24, 1999 at 11:40:26AM -0700, David Schwartz wrote:

> Then one the file twice. With one fd, you can do your buffered, random
> accesses. With the other fd, you can do your non-buffered, sequential
> accesses.

wouldn't that defeat the purpose of restricting lseek? a malicious program
could just open the file twice.

-- 
Tom Vier - 0x27371A1C
thomassr@erols.com
http://users.erols.com/thomassr/zero/

DSA Key fingerprint: 42D4 82D6 6DF5 77EC 1251 30D2 D9E7 E858 2737 1A2C

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