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, Dec 31, 9:51 AM
Unknown Object (File)
Mon, Dec 30, 4:50 PM
Unknown Object (File)
Sun, Dec 29, 1:25 PM
Unknown Object (File)
Sat, Dec 28, 1:36 PM
Unknown Object (File)
Fri, Dec 27, 8:17 AM
Unknown Object (File)
Fri, Dec 27, 1:26 AM
Unknown Object (File)
Dec 17 2024, 1:49 AM
Unknown Object (File)
Oct 26 2024, 8:38 AM
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