diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2014-11-19 16:38:46 -0600 |
---|---|---|
committer | Isaac Dunham <ibid.ag@gmail.com> | 2014-11-19 16:38:46 -0600 |
commit | 46ddf0e34b03f7711a9c80f7a70dc8cbf732f782 (patch) | |
tree | 4f69c03c7da6c6f3fd977182ebb93c89703d47a8 /toys/pending | |
parent | 159a7f1621eecf6cf3c2824ffb762a19bf5f7667 (diff) | |
download | toybox-46ddf0e34b03f7711a9c80f7a70dc8cbf732f782.tar.gz |
probe for getspnam(), forkpty(), utmpx, replace sethostname()
Android is missing all of these; we need to probe for some so we have
a config symbol to depend on.
sethostname() is easily replaced.
We got termios.h via pty.h; now it's not included in configure-step tools,
so we need termios.h to generate globals.
Diffstat (limited to 'toys/pending')
-rw-r--r-- | toys/pending/sulogin.c | 1 | ||||
-rw-r--r-- | toys/pending/telnetd.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/toys/pending/sulogin.c b/toys/pending/sulogin.c index 45f76597..e6cb8314 100644 --- a/toys/pending/sulogin.c +++ b/toys/pending/sulogin.c @@ -13,6 +13,7 @@ USE_SULOGIN(NEWTOY(sulogin, "t#<0=0", TOYFLAG_SBIN|TOYFLAG_NEEDROOT)) config SULOGIN bool "sulogin" default n + depends on TOYBOX_SHADOW help usage: sulogin [-t time] [tty] diff --git a/toys/pending/telnetd.c b/toys/pending/telnetd.c index 4198e63f..f9f34224 100644 --- a/toys/pending/telnetd.c +++ b/toys/pending/telnetd.c @@ -8,6 +8,7 @@ USE_TELNETD(NEWTOY(telnetd, "w#<0b:p#<0>65535=23f:l:FSKi[!wi]", TOYFLAG_USR|TOYF config TELNETD bool "telnetd" default n + depends on TOYBOX_PTY help Handle incoming telnet connections |