1. 11 May, 2006 2 commits
  2. 09 May, 2006 4 commits
  3. 08 May, 2006 4 commits
  4. 28 Feb, 2006 11 commits
  5. 27 Feb, 2006 19 commits
    • Niels Möller's avatar
      Cosmetic changes. · a77d39cf
      Niels Möller authored
      Rev: src/format.h:
    • Niels Möller's avatar
      (ssh_format): Fixed bug for the case DEBUG_ALLOC && !__GNUC__. · 1bd2acfe
      Niels Möller authored
      (write_decimal_length): Deleted function.
      (format_decimal): Made static.
      (format_string): New function, for the common parts of
      ssh_vformat_write. Includes the code from...
      (format_hex_string): Deleted function.
      (ssh_vformat_write): Deleted the feature of including a sexp-style
      decimal length, "3:foo". Unified handling of %s, %S and %z, using
      the new function format_string.
      Rev: src/format.c:
    • Niels Möller's avatar
      (make_exception_handler) · 82e3c016
      Niels Möller authored
      (make_report_exception_info): Deleted.
      (class report_exception_handler): Deleted.
      (do_report_exception_handler, make_report_exception_handler):
      Rev: src/exception.c:
    • Niels Möller's avatar
      (CONTINUATION_USED_P): Deleted. · 451597f7
      Niels Möller authored
      (class catch_report_collect): Deleted.
      (STATIC_CATCH_REPORT): Deleted.
      (PROGN, PROTECT): Deleted.
      Rev: src/command.h:
    • Niels Möller's avatar
      (class parallell_progn): Deleted. · d2eda82e
      Niels Möller authored
      (do_parallell_progn, make_parallell_progn)
      (progn_command): Deleted.
      (class catch_handler_info): Deleted.
      (make_catch_handler_info): Deleted.
      (class catch_handler): Deleted.
      (do_catch_handler, make_catch_handler): Deleted.
      (class catch_apply): Deleted.
      (do_catch_apply, make_catch_apply): Deleted.
      (class catch_report_apply): Deleted.
      (do_catch_report_apply, make_catch_report_apply)
      (do_catch_report_collect): Deleted.
      (class protect_handler): Deleted.
      (do_exc_protect_handler, make_protect_exception_handler)
      (protect_command): Deleted.
      Rev: src/command.c:
    • Niels Möller's avatar
      Deleted old code to handle utmp and wtmp. · a9bb16e3
      Niels Möller authored
      That work is now delegated to a helper process, which can run with
      sufficient privileges.
      (make_unix_process): Made static.
      (send_helper_request): New function.
      (class logout_notice): New attributes helper_fd and helper_ref.
      (do_logout_notice): Send a PTY_REQUEST_LOGOUT to the helper
      (exec_shell): Made static.
      (spawn_error): New arguments helper_fd and helper_ref. Send a
      PTY_REQUEST_DESTROY to the helper process.
      (make_logout_notice): New arguments helper_fd and helper_ref.
      (spawn_parent): Pass helper_fd and helper_ref to
      (spawn_child): New arguments helper_fd and helper_ref. Send a
      PTY_REQUEST_LOGIN to the helper process.
      (spawn_shell): New arguments helper_fd. Send a PTY_REQUEST_CREATE
      to the helper process. Pass on helper_Fd and helper_ref to help
      Rev: src/unix_process.c:
    • Niels Möller's avatar
      (class server_session): New attribute helper_fd. · abbf35d1
      Niels Möller authored
      (make_server_session): Made static. New argument helper_fd.
      (class open_session): New attribute helper_fd.
      (do_open_session): Pass helper_fd to make_server_session.
      (make_open_session): New argument helper_fd.
      (do_exit_shell): Updated calls of channel_send_request. Cosmetic
      change to verbose message.
      (make_pty): Dup the master fd for both stdin and stdout, and leave
      the fd in the pty_info object intact.
      (spawn_process): Pass helper_fd to spawn_shell. If we're using a
      pty, set ignored_error = EIO on the read state correspondign to
      stdout. If we don't have a separate stderr channel, set
      channel->sources to 1, not 2.
      Rev: src/server_session.c:
      Rev: src/server_session.h:
    • Niels Möller's avatar
      Deleted file. · b9efe0bd
      Niels Möller authored
      Rev: src/lshg.c:
    • Niels Möller's avatar
      New testcase, using a pty request. · a4897b52
      Niels Möller authored
      Rev: src/testsuite/lsh-10-test:
    • Niels Möller's avatar
      Cosmetic change to werror message. · c6b4885e
      Niels Möller authored
      Rev: src/srp-gen.c:
    • Niels Möller's avatar
      Comment change. · e7dea68a
      Niels Möller authored
      Rev: src/server.c:
    • Niels Möller's avatar
      Deleted prototypes for make_unix_process and exec_shell, and updated · 0733fc2a
      Niels Möller authored
      prototype for spawn_shell to include helper_fd.
      Rev: src/lsh_process.h:
    • Niels Möller's avatar
      (struct catch_report_collect): Deleted forward declaration. · d3de2e51
      Niels Möller authored
      Rev: src/lsh.h:
    • Niels Möller's avatar
      (do_lsh_default_handler): Don't treat · 00d555bb
      Niels Möller authored
      EXC_CHANNEL_REQUEST as an error.
      (transport_exit_callback): Fixed format strings.
      (fork_lsh_transport): Deleted if:ed out code.
      Rev: src/lsh.c:
    • Niels Möller's avatar
      (lsh_decode_key): Cosmetic changes to werror messages. · da577f13
      Niels Möller authored
      Rev: src/lsh-decode-key.c:
    • Niels Möller's avatar
      Changed "_CONFIG_FILE" to "_CONF" in the names · 18b98140
      Niels Möller authored
      of environment variables.
      (ENV_LSHD_UTMP, ENV_LSHD_WTMP): Likewise.
      Rev: src/environ.h.in:
    • Niels Möller's avatar
      command_Cp: Deleted if:ed out trace call. · 4c1d34ae
      Niels Möller authored
      Rev: src/combinators.c:
    • Niels Möller's avatar
      * src/client.h (class client_session): New attribute with the · 1ed6fa85
      Niels Möller authored
      channel's resources. Needed for the pty support.
      * src/client_session.c (do_kill_client_session): Kill associated
      (make_client_session_channel): Initialize resource list.
      Rev: src/client_session.c:
    • Niels Möller's avatar
      (class pty_request): Inherit command. · bad73c30
      Niels Möller authored
      (do_client_winch_handler): Use channel_send_request.
      (format_window_change): Deleted function.
      (do_pty_continuation): Use the session's resource list; a general
      channel no longer includes a resource list.
      (do_pty_request): New function, replacing do_format_pty_request.
      (do_format_pty_request): Deleted function.
      (make_pty_request): Update for changed inheritance.
      Rev: src/client_pty.c: