pvmove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



What's more secure, the Redhat patched pvmove or the original one?

BTW, I have a little patch to fix RedHat patched pvmove and make it work with unpatched kernels...

--- lib/pv_move.c	2003-07-11 19:10:26.000000000 -0300
+++ lib/pv_move.c.rcom	2003-07-11 19:09:35.000000000 -0300
@@ -916,7 +916,7 @@
 	ret = ioctl(group, PE_LOCKED_COPY, &pe_copy_req);
 	if (ret < 0)
 		ret = -errno;
-	if (ret == -EINVAL)
+	if (ret == -EINVAL || ret == -ENOTTY)
 		ret = -LVM_EPV_LOCKED_COPY_EINVAL;
 	
 	close(group);

Juan Pablo Giménez

http://www.rcom.com.ar/
http://www.rcom.com.ar/comunidad/

Llave GnuPG:
MIT keyserver
Web Rcom


GnuPG fingerprint: ED97 6FB8 A9BE 26A6 789B 6657 0A15 EC2B D3D8 FD2B

http://www.greenpeace.org.ar/secciones/cyberactivismo/nuclear.php3

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux