summaryrefslogtreecommitdiffstats
path: root/src/appl/bsd/logutil.c
Commit message (Collapse)AuthorAgeFilesLines
* Change to use libpty for utmp handling in login.krb5. RemoveSam Hartman1995-08-011-225/+0
| | | | | | logutil.c as it is no longer needed. Use new interface to pty_getpty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6375 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.c (EMPTY): linux has UT_UNKNOWN, not EMPTYMark Eichin1995-04-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5524 dc483132-0cff-0310-8789-dd5450dbe970
* * forward.c (rd_and_store_for_creds()) : Rewritten to useChris Provenzano1995-04-261-12/+8
| | | | | | | | | | | | | | | auth_context and the new krb5_rd_creds(). * forward.c (get_for_creds()) : New function replacing krb5_get_for_creds() and uses auth_context and new krb5_mk_creds() routine. * kcmd.c (kcmd()): Use new get_for_creds() routine. * krlogind.c (recvauth()): Use new rd_and_store_for_creds() routine. * configure.in, krlogind.c, krsh.c, krshd.c, login.c, logutil.c. A bunch of patches from Ezra to get BSD to work on The Alpha that looked reasonable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5484 dc483132-0cff-0310-8789-dd5450dbe970
* fix copied code in HAVE_GETUTENT caseMark Eichin1995-03-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5244 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.c (update_wtmp): initialize ut from ent the way the V4Mark Eichin1995-03-241-0/+16
| | | | | | | code did. Appears to handle SunOS case (when nearly all of the ifdef's are off) correctly now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5207 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.c (update_wtmp): declare missing variables ifMark Eichin1995-01-111-1/+7
| | | | | | | | | | HAVE_SETUTENT isn't set. (update_utmp): declare tty at top of function. Now the whole tree builds under raw sunos, native cc (still needs gnumake though) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4804 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.cRichard Basch1994-12-301-23/+45
| | | | | | | | | | | | | * login.c Tidied up the code a bit. Do not rely on NO_UT_TYPE (it has problems with AIX headers) * krlogind.c Tidied up the code a bit. Set the controlling tty for Ultrix Do not rely on NO_UT_TYPE (it has problems with AIX headers) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4782 dc483132-0cff-0310-8789-dd5450dbe970
* configure.in: Removed extraneous charactersRichard Basch1994-12-301-3/+6
| | | | | | | krlogind.c: Try all the forms of tty access (for most types of machines) logutil.c: Corrected conditionalization for ut_pid. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4780 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.cRichard Basch1994-12-291-0/+2
| | | | | | | | | | | | | | | | * logutil.c Conditionalized references to ut_type. * krlogind.c * configure.in Conditionalize grantpt/unlockpt on HAVE_GRANTPT (added check to configure.in) * krlogind.c Try all the pty master devices. Other systems frequently use the same names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4779 dc483132-0cff-0310-8789-dd5450dbe970
* Corrected the arguments to updwtmpx, and getutxidRichard Basch1994-12-281-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4768 dc483132-0cff-0310-8789-dd5450dbe970
* * logutil.cRichard Basch1994-12-281-16/+2
| | | | | | Search to the proper position in the utmp/utmpx files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4764 dc483132-0cff-0310-8789-dd5450dbe970
* * krlogind.cRichard Basch1994-12-271-104/+128
| | | | | | | | * logutil.c * login.c Revamped the utmp/wtmp handling routines git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4758 dc483132-0cff-0310-8789-dd5450dbe970
* Checked in Richard's changes of November 2nd. (See changelog). Lots ofTheodore Tso1994-11-081-4/+3
| | | | | | portability fixes: POSIX_SIGNALS, POSIX_SETJMP, use of POSIX waitpid, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4632 dc483132-0cff-0310-8789-dd5450dbe970
* Remove declaration for strncpy()Theodore Tso1994-10-031-1/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4423 dc483132-0cff-0310-8789-dd5450dbe970
* more posix and linux fixesMark Eichin1994-08-071-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4059 dc483132-0cff-0310-8789-dd5450dbe970
* ultrix has wierd getutent, so check if utmp.ut_pid exists, and conditionalizeMark Eichin1994-08-051-3/+3
| | | | | | on that too... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4051 dc483132-0cff-0310-8789-dd5450dbe970
* need HAVE_UNISTD_HMark Eichin1994-07-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4021 dc483132-0cff-0310-8789-dd5450dbe970
* some more solaris cleanupMark Eichin1994-07-261-12/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4016 dc483132-0cff-0310-8789-dd5450dbe970
* strings.h is always wrongMark Eichin1994-07-261-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4015 dc483132-0cff-0310-8789-dd5450dbe970
* step 1: bzero->memset(,0,)Mark Eichin1994-06-151-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3809 dc483132-0cff-0310-8789-dd5450dbe970
* Lots of cleanup. V4/V5 compatibility recvauth moved to separateTheodore Tso1993-12-241-55/+35
| | | | | | | | library function. Folded in rest of GZA's patches. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3278 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Theodore Tso1992-09-291-0/+178
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2444 dc483132-0cff-0310-8789-dd5450dbe970