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
F111648020: D25588.diff
Thu, Mar 6, 12:01 PM
Unknown Object (File)
Sat, Feb 15, 11:09 AM
Unknown Object (File)
Sat, Feb 15, 10:50 AM
Unknown Object (File)
Sat, Feb 15, 10:40 AM
Unknown Object (File)
Sat, Feb 15, 10:27 AM
Unknown Object (File)
Fri, Feb 14, 11:52 PM
Unknown Object (File)
Feb 1 2025, 1:36 PM
Unknown Object (File)
Feb 1 2025, 12:18 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 Passed
Unit
No Test Coverage
Build Status
Buildable 32191
Build 29688: arc lint + arc unit

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