| 1 |
root |
1.58 |
|
| 2 |
root |
1.60 |
- 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 |
root |
1.58 |
|
| 8 |
sf-exg |
1.57 |
2.0 Wed Aug 4 15:59:08 CEST 2021 |
| 9 |
sf-exg |
1.56 |
- change build system to cmake. |
| 10 |
sf-exg |
1.55 |
- add pkg-config file. |
| 11 |
sf-exg |
1.54 |
- 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 |
root |
1.53 |
1.8 Thu Feb 25 21:17:12 CET 2016 |
| 17 |
sf-exg |
1.52 |
- 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 |
sf-exg |
1.51 |
- 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 |
root |
1.50 |
1.7 Thu Mar 19 22:04:33 CET 2015 |
| 26 |
sf-exg |
1.49 |
- 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 |
root |
1.48 |
- nuke the pid check when !PTYTTY_REENTRANT: it breaks urxvtd, and |
| 31 |
root |
1.47 |
serves little purpose as it is off in normal builds anyway. |
| 32 |
root |
1.45 |
- add ecb.h. |
| 33 |
|
|
|
| 34 |
sf-exg |
1.43 |
1.6 Sat Jan 21 16:59:22 CET 2012 |
| 35 |
sf-exg |
1.42 |
- fix compilation on solaris. |
| 36 |
sf-exg |
1.44 |
- remove dependency on STL. |
| 37 |
sf-exg |
1.42 |
|
| 38 |
root |
1.41 |
1.5 Thu Dec 22 23:32:08 CET 2011 |
| 39 |
sf-exg |
1.36 |
- INCOMPATIBLE CHANGE: ptytty::get no longer sets the pty fd |
| 40 |
|
|
non-blocking. |
| 41 |
sf-exg |
1.39 |
- the login_shell argument of ptytty::login is now properly |
| 42 |
|
|
honoured. |
| 43 |
sf-exg |
1.33 |
- ptytty::get no longer makes the pty a controlling terminal |
| 44 |
|
|
when using posix_openpt. |
| 45 |
sf-exg |
1.37 |
- remove support for utmpx ut_session extension, it serves no |
| 46 |
|
|
purpose. |
| 47 |
sf-exg |
1.32 |
- remove support for writing lastlog when the lastlog file is a |
| 48 |
|
|
directory, no system is known to require this code. |
| 49 |
sf-exg |
1.35 |
- do not clear ut_user in utmpx logout records because |
| 50 |
sf-exg |
1.40 |
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 |
sf-exg |
1.30 |
such as openbsd. |
| 55 |
|
|
|
| 56 |
root |
1.29 |
1.4 Wed Jun 29 14:36:19 CEST 2011 |
| 57 |
sf-exg |
1.27 |
- 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 |
sf-exg |
1.26 |
- clear user and host fields in utmp(x) logout records. |
| 62 |
sf-exg |
1.24 |
- fix utmpx detection on upcoming FreeBSD 9. |
| 63 |
sf-exg |
1.25 |
- switch to automake. |
| 64 |
|
|
- refactoring and cleanup. |
| 65 |
sf-exg |
1.24 |
|
| 66 |
root |
1.22 |
1.3 Sun May 3 23:44:16 CEST 2009 |
| 67 |
root |
1.21 |
- fedora 9 apparently has isastream but not the stropts.h header |
| 68 |
|
|
file for it, work around this (reported by Tuncer Ayaz). |
| 69 |
ayin |
1.20 |
- detect if lastlog is a directory at runtime. |
| 70 |
|
|
- assume ttyslot availability for bsd style utmp. |
| 71 |
root |
1.22 |
- make sure the alignment for fd passing control messages |
| 72 |
|
|
is correct and work around some NetBSD issues (Taylor R Campbell). |
| 73 |
root |
1.23 |
- add some missing include statements. |
| 74 |
ayin |
1.20 |
|
| 75 |
root |
1.19 |
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 |
sf-exg |
1.39 |
- fix invalid free when using _getpty. |
| 80 |
sf-exg |
1.38 |
- update config.guess and config.sub. |
| 81 |
ayin |
1.18 |
|
| 82 |
root |
1.17 |
1.1 Mon Feb 12 18:25:07 CET 2007 |
| 83 |
ayin |
1.16 |
- when using the helper, close the pty and tty fd also in the main |
| 84 |
root |
1.17 |
process (patch by Andrei Paskevich). |
| 85 |
|
|
- implement ptytty::sanitise_stdfd to ensure stdin/out/error exist |
| 86 |
|
|
and are usable and use it. |
| 87 |
ayin |
1.14 |
|
| 88 |
root |
1.13 |
1.0 Tue Oct 3 13:18:00 CEST 2006 |
| 89 |
sf-exg |
1.38 |
- do not call chmod/chown with 0 argument. |
| 90 |
root |
1.13 |
- reformatted ptytty.C to hopefully be more clear. |
| 91 |
root |
1.10 |
|
| 92 |
root |
1.12 |
0.2 Thu Jul 20 04:57:26 CEST 2006 |
| 93 |
ayin |
1.20 |
- move include files outside #ifdef PTYTTY_HELPER in proxy.C. |
| 94 |
root |
1.11 |
- added proxy.C to cvs (was missing before). |
| 95 |
root |
1.10 |
|
| 96 |
root |
1.7 |
0.1 Wed Jan 25 22:56:36 CET 2006 |
| 97 |
ayin |
1.20 |
- added the C API. |
| 98 |
root |
1.4 |
- small freebsd patch to fdpass.C by Thierry Thomas. |
| 99 |
root |
1.6 |
- added eg/c-sample.c. |
| 100 |
|
|
- small fixes to the C api. |
| 101 |
|
|
- restructured source files. |
| 102 |
root |
1.8 |
- added set*uid checks to ptytty.m4. |
| 103 |
root |
1.2 |
|
| 104 |
root |
1.1 |
0.0 |
| 105 |
root |
1.5 |
- originally cloned from rxvt-unicode. |
| 106 |
root |
1.1 |
|