Page MenuHomeFreeBSD

Make linprocfs(5) report correct tty number in /proc/<PID>/stat
ClosedPublic

Authored by trasz on Jul 7 2020, 10:21 PM.

Details

Summary

Make linprocfs(5) report correct tty number in /proc/<PID>/stat.
Fixes sudo (sudo-1.8.21p2-3ubuntu1.2); previously would fail with
"sudo: no tty present and no askpass program specified".

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

trasz requested review of this revision.Jul 7 2020, 10:21 PM
This revision is now accepted and ready to land.Jul 10 2020, 7:15 PM