ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libptytty/Changes
Revision: 1.61
Committed: Tue Sep 6 10:51:13 2022 UTC (21 months, 1 week ago) by root
Branch: MAIN
Changes since 1.60: +2 -0 lines
Log Message:
*** empty log message ***

File Contents

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