> [...] this opens a trivial DoS attack like ....
> for (;;) {
> ftruncate(fd);
> posix_fallocate(fd, (off_t)0, huge);
> }How, exactly, is this any more of a DoS than doing the same thing but using one or more write() calls instead of the posix_fallocate()? /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML [email protected] / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
