summaryrefslogtreecommitdiffstats
path: root/src/util/pty
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes for Solaris and UltrixSam Hartman1995-08-115-4/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6508 dc483132-0cff-0310-8789-dd5450dbe970
* DDon't call vhangup() on Ultrix until after session. This actually turns ↵Sam Hartman1995-08-103-2/+11
| | | | | | out to be secure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6495 dc483132-0cff-0310-8789-dd5450dbe970
* Fix test for slave buffer lengthSam Hartman1995-08-092-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6477 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (UTMP_FILE): _PATH_UTMP under NetBSD, notTom Yu1995-08-092-3/+9
| | | | | | | _UTMP_PATH; also fix typo (missing '&' on reference to ent) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6476 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c (pty_update_utmp): change #ifdef NO_UT_PID toTom Yu1995-08-092-2/+7
| | | | | | #ifndef git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6473 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to get telnet working on AlphaSam Hartman1995-08-095-15/+42
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6471 dc483132-0cff-0310-8789-dd5450dbe970
* * update_utmp.c: flush preprocessor directive to left marginTom Yu1995-08-092-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6470 dc483132-0cff-0310-8789-dd5450dbe970
* Pass correct argument to getutmpx()Paul Park1995-08-082-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6469 dc483132-0cff-0310-8789-dd5450dbe970
* * Modify pty_update_utmp so it takes additional parameters instead ofSam Hartman1995-08-078-35/+80
| | | | | | | | | | | | | | struct utmp. * Move pty_update_wtmp to an internal function; pty_update_utmp and pty_logwtmp call it. * Don't include utmp.h or utmpx.h in libpty.h; they don't need it any more. * Don't use pid_t in libpty.h or any interfaces it defines\. We'll have to settle for int. * Add logic so that UTMP_FILE and WTMP_FILE get defined on NetBSD (Actually fairly clean). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6453 dc483132-0cff-0310-8789-dd5450dbe970
* Return value from pty_open_ctty is non-zero on error, not negativeEzra Peisach1995-08-052-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6426 dc483132-0cff-0310-8789-dd5450dbe970
* libpty.h (pty_cleanup): Fix argument type of pid to patch that used in theTheodore Tso1995-08-053-2/+15
| | | | | | | | | C file. Include <utmpx.h> if present. Only include <utmp.h> if it is present. configure.in: Check for utmp.h and utmpx.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6422 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: use libupdate so to not get multiple copies ofTom Yu1995-08-046-12/+29
| | | | | | | | | | | | | | | | | | object files upon rebuild. * vhangup.c (ptyint_vhangup): Make sure preprocessor directives are at left margin. * open_slave.c (pty_open_slave): Make sure preprocessor directives are at left margin. * open_ctty.c (pty_open_ctty): Make sure preprocessor directives are at left margin. * cleanup.c (pty_cleanup): Add missing declarations for retval and fd. Also, align preprocessor directives with left margin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6421 dc483132-0cff-0310-8789-dd5450dbe970
* Fix up Copyright notice to have correct year (1995 instead of 1990)Theodore Tso1995-08-0412-159/+136
| | | | | | | Remove #include of mit-copyright.h, since we don't include it and its legal value is pretty dubious anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6409 dc483132-0cff-0310-8789-dd5450dbe970
* Add .cvsignore to ignore configureEzra Peisach1995-08-041-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6408 dc483132-0cff-0310-8789-dd5450dbe970
* missed a #endifTom Yu1995-08-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6407 dc483132-0cff-0310-8789-dd5450dbe970
* * cleanup.c (pty_cleanup): Add missing declarations for retval andTom Yu1995-08-042-3/+10
| | | | | | fd. Also, align preprocessor directives with left margin. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6406 dc483132-0cff-0310-8789-dd5450dbe970
* Attempt to HUP processes associated with the pty when it is revoked ifSam Hartman1995-08-033-1/+25
| | | | | | vhangup is not available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6402 dc483132-0cff-0310-8789-dd5450dbe970
* * Fix tests for length of slave buffer.Sam Hartman1995-08-027-6/+47
| | | | | | * Add pty_init to initialize error tables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6379 dc483132-0cff-0310-8789-dd5450dbe970
* Make interface change so getpty doesn't overwriteSam Hartman1995-08-017-12/+107
| | | | | | | user-supplied buffer. Allow for telnetd not knowing PID of slave process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6374 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo TIOCSTTY to TIOCSCTTY in ioctlEzra Peisach1995-08-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6373 dc483132-0cff-0310-8789-dd5450dbe970
* Add missing logwtmp fileSam Hartman1995-08-011-0/+64
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6372 dc483132-0cff-0310-8789-dd5450dbe970
* Check in first version of libptySam Hartman1995-07-3114-0/+1078
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6370 dc483132-0cff-0310-8789-dd5450dbe970