summaryrefslogtreecommitdiff
path: root/loginrec.c
AgeCommit message (Collapse)Author
2000-06-20 - (djm) Typo in loginrec.cDamien Miller
2000-06-19*** empty log message ***andre
2000-06-19Big loginrec.c updateandre
- MIN_SIZEOF macro to pick smallest buffer for str[ln]cpy() - fixes lastlog clobber spotted by P.S.S.Camp <P.S.S.Camp@ukc.ac.uk> - Added some top-level api documentation - Re-ordered construct_utmp(x)() to build well-formed structures for both login and logout, based on li->type. - change wtmp(x)_logout() to match new construct_*() form - Improved error responses throughout - Add ut_type cross-check for 'lastlog-from-wtmp(x)' where available - utmp_write_direct() has had some testing. Oh yes! - Re-ordered loginrec.h slightly
2000-06-13 - (djm) Fix short copy in loginrec.c (based on patch from Phill CampDamien Miller
<P.S.S.Camp@ukc.ac.uk>
2000-06-12Fixed getlast_entry() so that it doesn't try to use utmp(x) ifandre
DISABLE_LASTLOG is defined. Bug reported by Tom Bertelson <tbert@abac.com> for AIX.
2000-06-07 - (djm) Remove duplicate headers from loginrec.cDamien Miller
2000-06-04Many changes to new login code based on Damien's feedback:andre
- Removed many redundant accessor/mutator methods as they're not necesary in OpenSSH - Added proper credits for OpenBSD code in loginrec.c - Changed function definitions to the OpenBSD style - Removed spurious 'L' prefix in line filename abbreviation for ut_line - Added some documentation in loginrec.c - Changed lastlog access function names - Removed #include lines in mid-file loginrec.c - loginrec.h, login.c and logintest.c changed to reflect new interface - Added TODO note for ttyslot() replacement
2000-06-03Disable lastlog for AIX, as it's handled by the OS as part of the loginandre
message
2000-06-03Added new login recording codeandre
Added test program for login code (make logintest)