Re: [RFC/PATCH] revoke/frevoke system calls V2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 27 Jul 2006, Horst H. von Brand wrote:
> Doesn't that violate a POSIX guarantee that the lowest unused fd is
> returned? If the leakage lasts "long enough", this gives an opportunity of
> a nice DoS by using up fds...

The fd is not unused, its revoked. To clarify, the potential DoS is 
inherit for revoke, but since only root or the file owner can revoke a 
file, I don't see that as a big problem in practice. The caller is 
expected to ensure that no one can reopen the file anyway.

				Pekka
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux