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
2 files changed
tree: b6c2834547a02f9c102f45045e72b5a2c5a9d7b5
  1. COPYING.Ylonen
  2. CREDITS
  3. ChangeLog
  4. INSTALL
  5. Makefile.in
  6. OVERVIEW
  7. README
  8. README.Ylonen
  9. README.openssh2
  10. RFC.nroff
  11. TODO
  12. UPGRADING
  13. acconfig.h
  14. aclocal.m4
  15. atomicio.c
  16. auth-krb4.c
  17. auth-options.c
  18. auth-options.h
  19. auth-pam.c
  20. auth-pam.h
  21. auth-passwd.c
  22. auth-rh-rsa.c
  23. auth-rhosts.c
  24. auth-rsa.c
  25. auth-skey.c
  26. auth.c
  27. auth.h
  28. auth1.c
  29. auth2.c
  30. authfd.c
  31. authfd.h
  32. authfile.c
  33. authfile.h
  34. aux.c
  35. bsd-base64.c
  36. bsd-base64.h
  37. bsd-bindresvport.c
  38. bsd-bindresvport.h
  39. bsd-daemon.c
  40. bsd-daemon.h
  41. bsd-misc.c
  42. bsd-misc.h
  43. bsd-mktemp.c
  44. bsd-mktemp.h
  45. bsd-rresvport.c
  46. bsd-rresvport.h
  47. bsd-setenv.c
  48. bsd-setenv.h
  49. bsd-snprintf.c
  50. bsd-snprintf.h
  51. bsd-strlcat.c
  52. bsd-strlcat.h
  53. bsd-strlcpy.c
  54. bsd-strlcpy.h
  55. bufaux.c
  56. bufaux.h
  57. buffer.c
  58. buffer.h
  59. canohost.c
  60. channels.c
  61. channels.h
  62. cipher.c
  63. cipher.h
  64. clientloop.c
  65. compat.c
  66. compat.h
  67. compress.c
  68. compress.h
  69. config.guess
  70. config.sub
  71. configure.in
  72. contrib/
  73. crc32.c
  74. crc32.h
  75. deattack.c
  76. deattack.h
  77. defines.h
  78. dispatch.c
  79. dispatch.h
  80. dsa.c
  81. dsa.h
  82. entropy.c
  83. entropy.h
  84. fake-gai-errnos.h
  85. fake-getaddrinfo.c
  86. fake-getaddrinfo.h
  87. fake-getnameinfo.c
  88. fake-getnameinfo.h
  89. fake-socket.h
  90. fingerprint.c
  91. fingerprint.h
  92. fixpaths
  93. fixprogs
  94. getput.h
  95. hmac.c
  96. hmac.h
  97. hostfile.c
  98. hostfile.h
  99. includes.h
  100. install-sh
  101. kex.c
  102. kex.h
  103. key.c
  104. key.h
  105. log-client.c
  106. log-server.c
  107. log.c
  108. login.c
  109. loginrec.c
  110. loginrec.h
  111. logintest.c
  112. match.c
  113. match.h
  114. md5crypt.c
  115. md5crypt.h
  116. mkinstalldirs
  117. mpaux.c
  118. mpaux.h
  119. myproposal.h
  120. nchan.c
  121. nchan.h
  122. nchan.ms
  123. nchan2.ms
  124. next-posix.c
  125. next-posix.h
  126. openbsd-compat.h
  127. packet.c
  128. packet.h
  129. pty.c
  130. pty.h
  131. radix.c
  132. readconf.c
  133. readconf.h
  134. readpass.c
  135. rsa.c
  136. rsa.h
  137. scp.1
  138. scp.c
  139. servconf.c
  140. servconf.h
  141. serverloop.c
  142. session.c
  143. session.h
  144. ssh-add.1
  145. ssh-add.c
  146. ssh-agent.1
  147. ssh-agent.c
  148. ssh-keygen.1
  149. ssh-keygen.c
  150. ssh.1
  151. ssh.c
  152. ssh.h
  153. ssh2.h
  154. ssh_config
  155. ssh_prng_cmds.in
  156. sshconnect.c
  157. sshconnect.h
  158. sshconnect1.c
  159. sshconnect2.c
  160. sshd.8
  161. sshd.c
  162. sshd_config
  163. tildexpand.c
  164. ttymodes.c
  165. ttymodes.h
  166. uidswap.c
  167. uidswap.h
  168. uuencode.c
  169. uuencode.h
  170. version.h
  171. xmalloc.c
  172. xmalloc.h