X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnestedvm%2FRuntime.java;h=ff33ba967a525e226a23036ba3dbcbd3f95dd772;hp=d6db76d7b4e39f73b70dffb3e9c58f3773019aa7;hb=a70d242f5b4d0c7bc97e305cd5825a85a4d5bda6;hpb=615390526d6598c4124370fdd77b55894413cd1d diff --git a/src/org/ibex/nestedvm/Runtime.java b/src/org/ibex/nestedvm/Runtime.java index d6db76d..ff33ba9 100644 --- a/src/org/ibex/nestedvm/Runtime.java +++ b/src/org/ibex/nestedvm/Runtime.java @@ -1236,7 +1236,7 @@ public abstract class Runtime implements UsermodeConstants,Registers,Cloneable { public TerminalFD(OutputStream os) { this(null,os); } public TerminalFD(InputStream is, OutputStream os) { super(is,os); } public void _close() { /* noop */ } - public FStat _fstat() { return new FStat() { public int type() { return S_IFCHR; } }; } + public FStat _fstat() { return new FStat() { public int type() { return S_IFCHR; } public int mode() { return 0600; } }; } } // FEATURE: TextInputStream: This is pretty inefficient but it is only used for reading from the console on win32