From blaisorblade's homepage: 16 February 2006: uml_utilities 20060216: I've fixed here all kinds of bugs in various utilities * Finally included the security fix against local DoS - an attacker with local access could easily bring down an interface by using uml_net, if installed setuid (as done by default). It was included in distros' packages from a lot of time, however. * Fixed the misbehaviour of COW utilities (especially uml_moo) compiled on 64-bit platform: 1. when manipulating COW files generated by 32-bit UML binaries, it crashed immediately without action with floating point exception (moo-64-bit-padding-fix); 2. after fixing that, it gave wrong results (and this probably affected also 64-bit COW files. * Some fixes to honeypot.pl. * Various code fixlets * Better compilation system - by 'make CFLAGS="-O2 -Wall"' you get an optimized build (it was more awkward before).
As a side-note, the current version of usermode-utilities (20040406-r1) is marked stable on amd64. This is a pity, since that version has a pretty decent chance of producing corrupt uml/cow filesystems, something which will probably not be seen by the user until it is too late.
Created attachment 88872 [details] usermode-utilities-20060323.ebuild I'm just getting a UML setup going, so while this builds I can't yet test if it actually works.
Created attachment 88873 [details, diff] files/20060323-ldflags.patch Fixes the QA Notice. QA Notice: the following files are setXid, dyn linked, and using lazy bindings This combination is generally discouraged. Try re-emerging the package: LDFLAGS='-Wl,-z,now' emerge usermode-utilities LAZY usr/bin/uml_net
This should really get into portage soon because version 20040406-r1 can't handle large files properly. Using an 8 GB backing file and a corresponding cow file resulted in COW file open: File too large when using uml_moo to merge both: uml_moo -b gentoo_root_fs_unstable1 gentoo_unstable_cow gentoo_root_fs_unstable 20060216 just does the job using the exact same syntax. The new backing file has the right size and works as expected. I haven't tried the ebuild here but compiled 20060216 manually and so far everything works nicely.
@dang: would like to have a look by chance?
20060323 added.