8198372: API to create a SelectableChannel to a FileDescriptor
Alan Bateman
Alan.Bateman at oracle.com
Wed Jun 20 14:52:16 UTC 2018
On 20/06/2018 14:48, David Lloyd wrote:
> Why is the permission check needed? I believe that there is no
> material sensitive information that can be gleaned from the
> readability or writability of a file descriptor.
>
Readiness is an interesting side channel so a permission check is
needed. The proposal here is attempting to be consistent with existing
APIs that do the same check when creating streams to an existing
FileDescriptor.
-Alan
More information about the nio-dev
mailing list