RE: FileDescriptor Support

1998-12-18 Thread John Keiser
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron > M. Renn > Subject: Re: FileDescriptor Support > > > Brian Jones wrote: > > I was attempting to determine what kind of security/access checks go > > on with JNI and I couldn't find it

Re: FileDescriptor Support

1998-12-18 Thread Geoff Berry
"Aaron M. Renn" <[EMAIL PROTECTED]> writes: > That's a good idea. I thought that under JNI, access restrictions on > classes were enforced. But I think that the debugging interface could > probably get around that if they are. Access restrictions are not enforced using JNI. Serialization (a

Re: FileDescriptor Support

1998-12-17 Thread Aaron M. Renn
Brian Jones wrote: > I was attempting to determine what kind of security/access checks go > on with JNI and I couldn't find it in the JNI information from Sun so > far. Seems like you could call the static native method anytime from > my reading if getMethodID succeeded, but I dunno. That's a go

Re: FileDescriptor Support

1998-12-17 Thread Brian Jones
"Aaron M. Renn" <[EMAIL PROTECTED]> writes: > -- java.net.SocketImpl and java.net.DatagramSocketImpl have methods that > return an instance of FileDescriptor > -- java.lang.Process has methods that return {Input,Output} streams to > read/write to the subprocess which would most easily be implemen

FileDescriptor Support

1998-12-17 Thread Aaron M. Renn
The issue of FileDescriptor's has come up again. Here are the facts: -- java.io.FileDescriptor is final -- java.io.FileDescriptor has no public constructor that can create a valid object This is necessary to prevent malicious applications from creating FileDescriptors for arbitrary native fd's.