properly create new session/controlling terminal in forkpty
properly create new session/controlling terminal in forkpty

rofl0r/musl-old,davidlazar/musl,davidlazar/musl,rofl0r/musl-old,chardi/musl,chardi/musl,chardi/musl