CVS: cvs.openbsd.org: src
Claudio Jeker <[email protected]> Thu, 6 Aug 2026 14:38:02 -0600 (MDT)
| Newsgroups | gmane.os.openbsd.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/08/06 14:38:02 Modified files: sys/kern : tty.c sys/sys : tty.h Log message: Change struct itty and with it KERN_TTY_INFO to return the pid of the session leader process The t_session pointer is not very useful and only visible to root. Adjust this similar to a change done in ps(1) and pass the process id of the session leader instead. This is a ABI change but KERN_TTY_INFO is only used by pstat(8) and debian code search did not find any other use. OK deraadt@ kettenis@