RFC: Added utimensat(2) to Linuxulator (was RE: Current status of utimensat(2))

Andrew Wilcox AWilcox at Wilcox-Tech.com
Sat Jan 31 08:59:36 UTC 2015


Jilles Tjoelker sent 29 January 2015 17:06:
> I committed utimensat/futimens to head. I also made a start at Linuxulator
> utimensat, see attached patch. Please complete it and test it.
> 
> --
> Jilles Tjoelker


I have merged some of the things Jilles' patch does into the patch I was already working on.  I have tested a number of corner cases with it, and compared the results to a running Linux system.  I have also run software which all use utimensat(2) on Linux, such as recent tar(1), touch(1), and Python 3.3's shutil library, inside the Linuxulator with this patch applied.  I have found this patch's behaviour to be correct in these tests.  Please let me know of any comments or issues.

I will be additionally trying to merge this into dchagin's lemul branch, but that discussion will take place on Phabricator (and will involve testing on amd64-native Linuxulator, which I have not yet done). 

Regards,
Andrew

--
Andrew Wilcox, C/C++/Python developer, kernel hacker
Blog:   http://blog.foxkit.us/  WWW: http://foxkit.us/
GitHub: https://github.com/awilfox




-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_utimensat.diff
Type: application/octet-stream
Size: 11614 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20150131/deaf4d1f/attachment.obj>


More information about the freebsd-arch mailing list