Instead of having to inspect 'prot' at every call site, make the Process API's take care of that so we can just pass it through.
Finally everything that can be held by a FileDescriptor actually inherits from the File class.