]> andersk Git - openssh.git/commit - loginrec.h
Big loginrec.c update
authorandre <andre>
Mon, 19 Jun 2000 08:20:03 +0000 (08:20 +0000)
committerandre <andre>
Mon, 19 Jun 2000 08:20:03 +0000 (08:20 +0000)
commit5abcdf8e4c0fa0d13baefe3e1b66b2d4c6908c0c
treee1c9766fd9d87201ab8aac953d698611e2240ad3
parent729bfe594e78ea7744c3af89a4407bf316bf28c4
Big loginrec.c update
- 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
loginrec.c
loginrec.h
This page took 0.945485 seconds and 5 git commands to generate.