Implement linux_sendfile for the linuxulator using FreeBSD's sendfile. FreeBSD's sendfile only works if the target descriptor is a socket stream. So linux_sendfile is only implemented for this case and currently doesn't work with any descriptor so it returns not implemented in the other cases.
Submitted by: Bora Ozarslan borako.ozarslan@gmail.com
Yang Wang 2333@outlook.jp