[Bug 3030] New: window change events not passed when using session multiplexing

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Fri Jul 5 22:50:08 AEST 2019


https://bugzilla.mindrot.org/show_bug.cgi?id=3030

            Bug ID: 3030
           Summary: window change events not passed when using session
                    multiplexing
           Product: Portable OpenSSH
           Version: 8.0p1
          Hardware: Other
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: darren.moffat at oracle.com

Created attachment 3296
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3296&action=edit
Keep PRIV_PROC_SESSION for platform_pledge_mux

When the SSH client is multiplexing multiple shell sessions across a
single network connection to an SSH server the window change signal is
not being propagated.

When the ssh client code calls platform_pledge_mux() on Solaris it will
call solaris_drop_privs_root_pinfo_net_exec().  This function drops too
many privileges.

It is supposed to be equivalent to pledge("stdio proc tty", ...)

Note "proc" is kept because of the need to call kill(2).  The Solaris
implementation of this is currently dropping PRIV_PROC_SESSION which is
needed to be able to send signals to processes the user owns but are
outside of the current session.  Multiple client ssh processes using
the same mux are quite likely to be in different unix session groups,
for example multiple panes or windows in a terminal multiplexer such as
screen or tmux or mulitple xterm windows.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list