CVSROOT:        /cvs
Module name:    src
Changes by:     mes...@cvs.openbsd.org  2017/06/23 01:24:48

Modified files:
        usr.bin/ssh    : clientloop.c 

Log message:
When using the escape sequence &~ the code path is client_loop() ->
client_simple_escape_filter() -> process_escapes() -> fork() and the pledge for
this path lacks the proc promise and therefore aborts the process.
The solution is to just add proc the promise to this specific pledge.

Reported by Gregoire Jadi gjadi ! omecha.info
Insight with tb@, OK jca@

Reply via email to