]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix portability issues with the Capsicum patch committed in r339216:
authordes <des@FreeBSD.org>
Tue, 9 Oct 2018 19:27:42 +0000 (19:27 +0000)
committerdes <des@FreeBSD.org>
Tue, 9 Oct 2018 19:27:42 +0000 (19:27 +0000)
commit5972318805614d4811501c210f65553483fdbe0b
tree6578a09c4eee04b267b0cdb8b0fa42a85ca1a863
parent9d2037cbad7f26d75a2ffb2504dca82ea176634c
Fix portability issues with the Capsicum patch committed in r339216:

- Wrap access to pw_change and pw_expire in the appropriate #ifdefs.
- Wrap calls to login_cap(3) API in appropriate #ifdefs.
- Add wrapper for transferring time_t, which is still only 32 bits wide
  on FreeBSD i386.
- Use a temporary variable to deserialize size_t.

Approved by: re (gjb)
crypto/openssh/monitor.c
crypto/openssh/monitor_wrap.c
crypto/openssh/monitor_wrap.h
crypto/openssh/sshbuf-getput-basic.c
crypto/openssh/sshbuf.h