]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 306563: Decode arguments to truncate and ftruncate.
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 Jan 2017 19:16:53 +0000 (19:16 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 7 Jan 2017 19:16:53 +0000 (19:16 +0000)
commit71be2e2b7039caf0431ff5df81f7a466f9e40acc
tree20a8f6114b5ae2170ae582caa1c620c080b54e83
parent2719170d56b1f3752641284d84ba55ed2b8e1165
MFC 306563: Decode arguments to truncate and ftruncate.

In particular, decode the off_t argument as a 64-bit argument to fix
decoding for 32-bit processes.

git-svn-id: svn://svn.freebsd.org/base/stable/10@311654 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/kdump/kdump.c