Page MenuHomeFreeBSD

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

Authored by trasz on Jul 7 2020, 10:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 28, 10:25 PM
Unknown Object (File)
Sun, Oct 26, 9:21 AM
Unknown Object (File)
Thu, Oct 23, 4:51 PM
Unknown Object (File)
Thu, Oct 23, 11:38 AM
Unknown Object (File)
Mon, Oct 20, 1:39 AM
Unknown Object (File)
Wed, Oct 15, 6:42 PM
Unknown Object (File)
Wed, Oct 15, 6:42 PM
Unknown Object (File)
Wed, Oct 15, 6:42 PM
Subscribers

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 - subversion
Lint
Lint Not Applicable
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