1 |
|
2 |
- fdpass hardening: |
3 |
- limit cmsg->cmsg_len to controllen, as some buggy OSes |
4 |
allow buffer overruns otherwise. |
5 |
- do not leak fds on fdpass protocol failures. |
6 |
- close extra fd's sent by non-compliant sender. |
7 |
|
8 |
2.0 Wed Aug 4 15:59:08 CEST 2021 |
9 |
- change build system to cmake. |
10 |
- add pkg-config file. |
11 |
- ptytty::login no longer writes a utmp, wtmp and lastlog |
12 |
record when utmpx is available. |
13 |
- ptytty::login now provides the time with microseconds in |
14 |
utmpx, wtmpx and lastlogx records. |
15 |
|
16 |
1.8 Thu Feb 25 21:17:12 CET 2016 |
17 |
- fix m4 underquoting bug that prevented utmpx detection from |
18 |
working on systems without the utmp.h header, such as |
19 |
freebsd 9 and newer. |
20 |
- fix ptytty::get hang on AIX. |
21 |
- ptytty::get on Solaris no longer makes the tty controlling |
22 |
when the calling process does not have a controlling |
23 |
terminal. Bug introduced in ptytty-1.4. |
24 |
|
25 |
1.7 Thu Mar 19 22:04:33 CET 2015 |
26 |
- fix various bugs that prevented the lib from working correctly on |
27 |
some systems when using the helper process. |
28 |
- fix compilation on solaris with g++ >= 4.7. |
29 |
- fix compilation on freebsd/openbsd. |
30 |
- nuke the pid check when !PTYTTY_REENTRANT: it breaks urxvtd, and |
31 |
serves little purpose as it is off in normal builds anyway. |
32 |
- add ecb.h. |
33 |
|
34 |
1.6 Sat Jan 21 16:59:22 CET 2012 |
35 |
- fix compilation on solaris. |
36 |
- remove dependency on STL. |
37 |
|
38 |
1.5 Thu Dec 22 23:32:08 CET 2011 |
39 |
- INCOMPATIBLE CHANGE: ptytty::get no longer sets the pty fd |
40 |
non-blocking. |
41 |
- the login_shell argument of ptytty::login is now properly |
42 |
honoured. |
43 |
- ptytty::get no longer makes the pty a controlling terminal |
44 |
when using posix_openpt. |
45 |
- remove support for utmpx ut_session extension, it serves no |
46 |
purpose. |
47 |
- remove support for writing lastlog when the lastlog file is a |
48 |
directory, no system is known to require this code. |
49 |
- do not clear ut_user in utmpx logout records because |
50 |
pututxline fails otherwise on solaris. |
51 |
- fix writing of bsd style utmp when the tty is closed before |
52 |
calling ptytty::login. |
53 |
- fix compilation on systems with bsd style utmp and no utmpx, |
54 |
such as openbsd. |
55 |
|
56 |
1.4 Wed Jun 29 14:36:19 CEST 2011 |
57 |
- push stream modules in ptytty::get rather than in |
58 |
ptytty::make_controlling_tty. This makes tty ioctls (such as |
59 |
TIOCSWINSZ, to set the window size) work even if |
60 |
make_controlling_tty has not been called. |
61 |
- clear user and host fields in utmp(x) logout records. |
62 |
- fix utmpx detection on upcoming FreeBSD 9. |
63 |
- switch to automake. |
64 |
- refactoring and cleanup. |
65 |
|
66 |
1.3 Sun May 3 23:44:16 CEST 2009 |
67 |
- fedora 9 apparently has isastream but not the stropts.h header |
68 |
file for it, work around this (reported by Tuncer Ayaz). |
69 |
- detect if lastlog is a directory at runtime. |
70 |
- assume ttyslot availability for bsd style utmp. |
71 |
- make sure the alignment for fd passing control messages |
72 |
is correct and work around some NetBSD issues (Taylor R Campbell). |
73 |
- add some missing include statements. |
74 |
|
75 |
1.2 Thu Aug 2 15:50:02 CEST 2007 |
76 |
- restore the SysV way of acquiring a controlling terminal |
77 |
(for systems having no TIOCSCTTY such as cygwin or solaris). |
78 |
- when using openpty, get the slave name with ttyname. |
79 |
- fix invalid free when using _getpty. |
80 |
- update config.guess and config.sub. |
81 |
|
82 |
1.1 Mon Feb 12 18:25:07 CET 2007 |
83 |
- when using the helper, close the pty and tty fd also in the main |
84 |
process (patch by Andrei Paskevich). |
85 |
- implement ptytty::sanitise_stdfd to ensure stdin/out/error exist |
86 |
and are usable and use it. |
87 |
|
88 |
1.0 Tue Oct 3 13:18:00 CEST 2006 |
89 |
- do not call chmod/chown with 0 argument. |
90 |
- reformatted ptytty.C to hopefully be more clear. |
91 |
|
92 |
0.2 Thu Jul 20 04:57:26 CEST 2006 |
93 |
- move include files outside #ifdef PTYTTY_HELPER in proxy.C. |
94 |
- added proxy.C to cvs (was missing before). |
95 |
|
96 |
0.1 Wed Jan 25 22:56:36 CET 2006 |
97 |
- added the C API. |
98 |
- small freebsd patch to fdpass.C by Thierry Thomas. |
99 |
- added eg/c-sample.c. |
100 |
- small fixes to the C api. |
101 |
- restructured source files. |
102 |
- added set*uid checks to ptytty.m4. |
103 |
|
104 |
0.0 |
105 |
- originally cloned from rxvt-unicode. |
106 |
|