From ff446269b3f7e5acd62ade012d4650533572bd05 Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Tue, 16 Dec 2014 22:29:54 -0500 Subject: [PATCH] use ptmx --- NOTES | 1 - jni/config.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/NOTES b/NOTES index 3408e25..218dbe8 100644 --- a/NOTES +++ b/NOTES @@ -72,7 +72,6 @@ it uses select(), I'm not sure how I would honor Thread.interrupt() or whatever. It's not guaranteed to interrupt select(), and I'm not keen on adding an arbitrary timeout/polling feature to it. -XXX - use ptmx XXX - disable utmp/wtmp XXX - disable /etc/passwd (accept all usernames the same, and use the explicitly-provided shell and home directories) XXX - visit XXX in jni/interface.c diff --git a/jni/config.h b/jni/config.h index 8e12630..090c79e 100644 --- a/jni/config.h +++ b/jni/config.h @@ -18,6 +18,7 @@ #define HAVE_BASENAME 1 #define HAVE_NETINET_TCP_H 1 +#define USE_DEV_PTMX 1 #define DISABLE_ZLIB 1 #define DISABLE_SYSLOG 1