evan_tech

Previous Entry Share Next Entry
11:36 am, 20 Jan 06

c is so lame sometimes

[PATCH] Limit sendfile() to 2^31-PAGE_CACHE_SIZE bytes without error: "sendfile() has a limit of 2^31-1 bytes even on 64-bit platforms. Linus wants to maintain it in order to avoid potential future security bugs (always a good thing.)"