Another Linux capabilities hole found
Another Linux capabilities hole found
Posted Apr 17, 2009 7:44 UTC (Fri) by mjthayer (guest, #39183)In reply to: Another Linux capabilities hole found by Cyberax
Parent article: Another Linux capabilities hole found
Posted Apr 18, 2009 17:05 UTC (Sat)
by i3839 (guest, #31386)
[Link] (2 responses)
Fundamental issue is that programs use system calls to communicate with the outside world, and most of those system calls deal (sometimes indirectly) with files. For a network filesystem client going through the kernel, then to userspace and back again is just a stupid way of doing something relatively simple.
To sum up, network filesystem clients are in-kernel for all the same reasons why normal filesystems are in-kernel. For network fs servers it's a slightly different trade-off.
Posted Apr 22, 2009 9:20 UTC (Wed)
by mjthayer (guest, #39183)
[Link] (1 responses)
Posted Apr 22, 2009 22:57 UTC (Wed)
by nix (subscriber, #2304)
[Link]
There *is* a cache of disk blocks (the buffer cache), but these days it's
Another Linux capabilities hole found
Ever further off topic :)
Ever further off topic :)
Absolutely everything that gets put in a page in memory (all file data,
anonymous mmaped pages, you name it) has to pass through the page cache
first. Executables *run* from the page cache: their text pages reside
nowhere else.
used pretty much entirely for metadata (as this doesn't necessarily have a
page in memory devoted to it).
