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)
Mon, Nov 24, 12:19 PM
Unknown Object (File)
Mon, Nov 24, 11:55 AM
Unknown Object (File)
Mon, Nov 24, 11:55 AM
Unknown Object (File)
Mon, Nov 24, 11:55 AM
Unknown Object (File)
Mon, Nov 24, 11:55 AM
Unknown Object (File)
Mon, Nov 24, 11:54 AM
Unknown Object (File)
Fri, Nov 21, 6:23 PM
Unknown Object (File)
Fri, Nov 21, 1:26 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