Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly set the controlling console
For FreeBSD it's required to become session leader of the process group before a console can be set as controlling, furthermore it's required to call TIOCSTTY on the console FD to actually set it as controlling.
- Loading branch information