]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix portability issues with the Capsicum patch committed in r339216:
authorDag-Erling Smørgrav <des@FreeBSD.org>
Tue, 9 Oct 2018 19:27:42 +0000 (19:27 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Tue, 9 Oct 2018 19:27:42 +0000 (19:27 +0000)
commitbd393de91cc39fc04033caa53ada48aa34df9607
tree6578a09c4eee04b267b0cdb8b0fa42a85ca1a863
parent6f1f1a6395c91c5a845727d7313921a6fe3d297b
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