|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] reworked lomount
This patch started out as fixing a warning (due to system()'s return
value not being used). Then I realized if lomount functioned well it
could be a replacement for kpartx in domUloader (or whatever the
combined pygrub+domUloader story turns out to be), so I gave it a closer
look.
Changes:
- Fixed several overflows, off-by-one, and uninitialized variables.
- Added well-defined exit codes.
- Proper handling of system()'s return value.
- Errors parsing partition table cause it to stop now.
- etcetera...
Tested on 32 and 64 bit, with valgrind, with physical disks and disk
images.
Please apply to xen-unstable.
Signed-off-by: Charles Coffing <ccoffing@xxxxxxxxxx>
lomount.diff
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] reworked lomount,
Charles Coffing <=
|
|
|
|
|