James Nugent
|
2c14ff7385
|
build: Add support for building on Illumos
This commit adds support for building for Illumos-derived operating
systems. Regrettably, the cyrpto/ssh/terminal package does not include
implementations of the functions IsTerminal, MakeRaw or Restore for the
solaris OS. Consequently this commit implements them in Vault.
makeRaw(fd int) is based on the Illumos implementation of the getpass
function [1] for the correct flags. isTerminal(fd int) is based on the
Illumos libc implementation [2] of isatty.
[1] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libast/common/uwin/getpass.c
[2] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
|
2016-08-13 00:20:15 -04:00 |
Jeff Mitchell
|
786bce24b1
|
Remove us building Solaris binaries for the moment, as they don't build successfully
|
2016-03-16 15:47:55 -04:00 |
Mitchell Hashimoto
|
2917e6be2f
|
helper/password: interrupt should exit readline
|
2015-10-16 16:01:19 -07:00 |
Steve Wills
|
7244094509
|
allow building on FreeBSD
Allow this file to build on FreeBSD
|
2015-06-19 16:59:24 -04:00 |
Mark Junker
|
787a4bc4b5
|
Fixes #83
|
2015-04-29 10:20:09 +02:00 |
Mitchell Hashimoto
|
fa80e90b1a
|
helper/passsword: fix windows compilation
|
2015-04-28 09:23:48 -07:00 |
Mitchell Hashimoto
|
2e9e4ee93d
|
helper/password: catch ctrl-c if possible
|
2015-04-01 17:27:29 -07:00 |
Mitchell Hashimoto
|
a524ef6537
|
helper/password: for reading passwords securely
|
2015-03-04 00:31:35 -08:00 |