- Apr 14, 2012
-
-
Keegan McAllister authored
selfpipe already does a fine job of interfacing to signalfd. But Debian and Ubuntu want us to depend on the skalibs-dev package rather than build libstddjb ourselves. That would be fine except that skalibs-dev has static libraries only, and they aren't built with -fPIC. This interferes with building mosh-{client,server} as position-independent executables, which is a desirable security measure. So we have our own wrapper, which invokes either signalfd or selfpipe. And we build it ourselves with our own flags, because it's part of the Mosh project proper. (closes #108) -
Keegan McAllister authored
configure's linker flag check also compiles a C++ program. g++ -pie informs both the compiler and linker, but clang++ -Wl,-pie is only a linker flag, and the linker will complain that the code hasn't been compiled as position-independent.
-
Keegan McAllister authored
clang on OS X wants the former. c.f. http://bugs.ruby-lang.org/issues/5697
-
Keegan McAllister authored
clang was spewing warnings about the unrecognized -fno-default-inline. (Oddly, it warns only with -c, not when compiling directly to an executable.) For completeness we also check -pipe, even though clang is OK with that one. It should be fine to omit either flag. gcc -fno-default-inline drops the implicit 'inline' annotation on functions defined inside a class scope, but 'inline' is only a hint anyway. -fno-default-inline does not change linkage. -pipe is merely a compile speed optimization.
-
Keegan McAllister authored
There is no way to make clang's "argument unused" warning fatal. Ideally the search string would also include 'clang: ' but this output might depend on clang's argv[0].
-
Keegan McAllister authored
-
Keegan McAllister authored
Closes #79.
-
Keegan McAllister authored
-
Keegan McAllister authored
-
Daniel O'Connor authored
IMO 'new' should be dropped entirely since it's not optional and 'new' is the only choice. If it were to change in future then it should go after all the options. (closes #111)
-
Anders Kaseorg authored
The m4_ifnblank patch was accepted upstream as http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commitdiff;h=7ea1d1b18e5c1c3300936dd89c3e55b5b370ae72 Signed-off-by:
Anders Kaseorg <andersk@mit.edu> (closes #153)
-
- Apr 13, 2012
-
-
Keegan McAllister authored
-
Keegan McAllister authored
-
Keegan McAllister authored
-
Keegan McAllister authored
-
- Apr 11, 2012
-
-
Andy Stewart authored
Ubuntu 10.04 does not recognise `sudo add-apt-repository ppa:blah` out of the box.
-
Keith Winstein authored
-
Keith Winstein authored
Closes #106 github issue. Closes #133 github issue. Closes #131 github issue.
-
termie authored
Closes #104 github pull request.
-
Anders Kaseorg authored
Recent ncurses can be configured --with-termlib, which splits out the terminfo-level functions from libncurses into a separate libtinfo. This allows us to avoid an unnecessary dependency on libncurses. (We already avoided this on distributions that link with -Wl,--as-needed.) Signed-off-by:Anders Kaseorg <andersk@mit.edu> Closes #128 github pull request.
-
Peter Jeremy authored
performed and FreeBSD (at least) implements thin behaviour. Add an explicit test to detect this situation in Dispatcher::parse_params(). (This behaviour difference is not relevant to other uses of strtol()). This corrects the mishandling of (eg) "CSI m" on FreeBSD. Closes #129 github pull request. [keithw -- also fixes same issue with mosh-server on OS X]
-
Keegan McAllister authored
AC_MSG_ERROR inside the variable assignment doesn't work properly. We get output like checking for protoc... ./configure: line 4524: is: command not found no and then the build continues (and fails) with PROTOC="". Closes #132 github pull request. -
Keith Winstein authored
Identified by Anders Kaseorg. Test case: ( reset; seq 100; printf 'Hello, world!'; sleep 1; printf '\t\t\t\t\t\t\t\t\t\t \r\e[K'; sleep 1; printf '\n' ) > /dev/pts/16 2>&1 (replace /dev/pts/16 with mosh or termemu terminal)
-
Keith Winstein authored
-
- Apr 10, 2012
-
-
Keith Winstein authored
-
Peter Iannucci authored
-
- Apr 08, 2012
-
-
Keith Winstein authored
-
- Apr 07, 2012
-
-
Keegan McAllister authored
-
Keegan McAllister authored
This tests cryptographic primitives implemented by others. It uses the same interfaces and indeed the same compiled object code as the Mosh client and server. It does not particularly test any code written for the Mosh project.
-
Keegan McAllister authored
-
Keegan McAllister authored
Instead of guessing the right function to use, we malloc() 15 bytes more than we need, and compute the aligned offset within. The AlignedBuffer class takes care of passing the original pointer to free().
-
Keegan McAllister authored
This simplifies the core crypto routines, especially the error handling. In fact there was already one error path where we were failing to call free().
-
Peter Iannucci authored
(closes #93)
-
- Apr 06, 2012
-
-
Benjamin Kaduk authored
The header is not available everywhere, so only include it if it is present. (The extra include should be harmless on Linux by inspection.)
-
Benjamin Kaduk authored
On FreeBSD, the header which defines htobe64() is the sys/ variant, unlike Linux.
-
- Apr 04, 2012
-
-
Keith Winstein authored
-
Keith Winstein authored
This reverts commit 78c7c72b.
-
Keith Winstein authored
-
Keith Winstein authored
-
Keith Winstein authored
-