From 2513650a3e9235695b3e37dc924fd26c1d65442f Mon Sep 17 00:00:00 2001 From: Evan Teran Date: Mon, 13 Oct 2014 22:03:46 -0400 Subject: added comments for 279 and fixed up some comments for 271 patches Package-Manager: portage-2.2.8-r2 --- app-emulation/vmware-modules/files/271-3.10-06-inode.patch | 3 ++- app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch | 2 +- app-emulation/vmware-modules/files/271-3.15-00-readlink.patch | 1 + app-emulation/vmware-modules/files/279-3.10-00-userns.patch | 4 ++++ app-emulation/vmware-modules/files/279-3.10-01-getname.patch | 5 +++++ app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch | 4 ++++ app-emulation/vmware-modules/files/279-3.10-04-dentry.patch | 4 ++++ app-emulation/vmware-modules/files/279-3.10-05-inode.patch | 5 +++++ app-emulation/vmware-modules/files/279-3.15-00-readlink.patch | 3 +++ app-emulation/vmware-modules/files/279-3.15-01-vsock.patch | 3 +++ app-emulation/vmware-modules/files/279-3.17-00-netdev.patch | 4 ++++ 11 files changed, 36 insertions(+), 2 deletions(-) (limited to 'app-emulation/vmware-modules') diff --git a/app-emulation/vmware-modules/files/271-3.10-06-inode.patch b/app-emulation/vmware-modules/files/271-3.10-06-inode.patch index 4f6246d..01c8893 100644 --- a/app-emulation/vmware-modules/files/271-3.10-06-inode.patch +++ b/app-emulation/vmware-modules/files/271-3.10-06-inode.patch @@ -1,6 +1,7 @@ starting with kernel 3.6, d_revalidate takes an unsigned int "flags" as the second argument, not a nameidata pointer! see fs/namei.c -for implementation +for implementation. Also changing vfs_follow_link to nd_set_link. +See: https://lkml.org/lkml/2013/9/9/236 diff -Naur vmblock-only/linux/inode.c vmblock-only/linux/inode.c --- vmblock-only/linux/inode.c 2013-11-05 23:33:26.000000000 -0500 diff --git a/app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch b/app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch index f65284f..1bf2207 100644 --- a/app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch +++ b/app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch @@ -1,4 +1,4 @@ -The new API to get the hooknum +the new API to get the hooknum origionally from http://forums.gentoo.org/viewtopic-t-979802-start-25.html --- work/vmnet-only/filter.c 2013-08-27 20:29:04.000000000 +0100 diff --git a/app-emulation/vmware-modules/files/271-3.15-00-readlink.patch b/app-emulation/vmware-modules/files/271-3.15-00-readlink.patch index b1c7f24..b8ee078 100644 --- a/app-emulation/vmware-modules/files/271-3.15-00-readlink.patch +++ b/app-emulation/vmware-modules/files/271-3.15-00-readlink.patch @@ -1,4 +1,5 @@ replacing usage of vfs_readlink with new readlink_copy API +see: http://permalink.gmane.org/gmane.linux.kernel.commits.head/445090 diff -rupN vmblock-only/linux/inode.c vmblock-only/linux/inode.c --- vmblock-only/linux/inode.c 2014-10-05 23:20:14.545218357 -0400 diff --git a/app-emulation/vmware-modules/files/279-3.10-00-userns.patch b/app-emulation/vmware-modules/files/279-3.10-00-userns.patch index c960b78..b1b78b7 100644 --- a/app-emulation/vmware-modules/files/279-3.10-00-userns.patch +++ b/app-emulation/vmware-modules/files/279-3.10-00-userns.patch @@ -1,3 +1,7 @@ +correctly initializes UID/GID values +gets UID correctly in light of user namespace API +origionally from https://462666.bugs.gentoo.org/attachment.cgi?id=342888 + --- a/vmblock-only/linux/inode.c 2013-03-20 17:37:48.000000000 +0100 +++ b/vmblock-only/linux/inode.c 2013-03-20 17:41:22.000000000 +0100 @@ -135,7 +135,8 @@ diff --git a/app-emulation/vmware-modules/files/279-3.10-01-getname.patch b/app-emulation/vmware-modules/files/279-3.10-01-getname.patch index 7bcf536..05ed8db 100644 --- a/app-emulation/vmware-modules/files/279-3.10-01-getname.patch +++ b/app-emulation/vmware-modules/files/279-3.10-01-getname.patch @@ -1,3 +1,8 @@ +uses __getname/__putname instead of getname. getname was deprecated +the new code calls __getname (which really is a specific type of +memory allocator, then copies the string safely from user space +into the allocated buffer + --- vmblock-only/linux/control.c 2014-03-15 15:28:40.871076076 +0100 +++ vmblock-only/linux/control.c.new 2014-03-15 15:29:15.079074439 +0100 @@ -279,11 +279,17 @@ diff --git a/app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch b/app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch index 0cd1a16..98b28aa 100644 --- a/app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch +++ b/app-emulation/vmware-modules/files/279-3.10-03-deprecated.patch @@ -1,3 +1,7 @@ +undefines DEPRECATED which is unfortunately also defined (as a string) +in . Realistically, this macro isn't even used, so this +doesn't matter much. But it hushes some very loud warnings. + diff -rupN vmblock-only/shared/vm_assert.h vmblock-only.new/shared/vm_assert.h --- vmblock-only/shared/vm_assert.h 2014-04-14 17:41:41.000000000 -0400 +++ vmblock-only.new/shared/vm_assert.h 2014-10-11 17:37:23.010352172 -0400 diff --git a/app-emulation/vmware-modules/files/279-3.10-04-dentry.patch b/app-emulation/vmware-modules/files/279-3.10-04-dentry.patch index 8acecf5..f4f59d9 100644 --- a/app-emulation/vmware-modules/files/279-3.10-04-dentry.patch +++ b/app-emulation/vmware-modules/files/279-3.10-04-dentry.patch @@ -1,3 +1,7 @@ +starting with kernel 3.6, d_revalidate takes an unsigned int "flags" +as the second argument, not a nameidata pointer! see fs/namei.c +for implementation + diff -Naur vmblock-only/linux/dentry.c vmblock-only/linux/dentry.c --- vmblock-only/linux/dentry.c 2013-11-05 23:33:26.000000000 -0500 +++ vmblock-only/linux/dentry.c 2014-04-26 10:58:03.062635343 -0400 diff --git a/app-emulation/vmware-modules/files/279-3.10-05-inode.patch b/app-emulation/vmware-modules/files/279-3.10-05-inode.patch index 0d30dbe..01c8893 100644 --- a/app-emulation/vmware-modules/files/279-3.10-05-inode.patch +++ b/app-emulation/vmware-modules/files/279-3.10-05-inode.patch @@ -1,3 +1,8 @@ +starting with kernel 3.6, d_revalidate takes an unsigned int "flags" +as the second argument, not a nameidata pointer! see fs/namei.c +for implementation. Also changing vfs_follow_link to nd_set_link. +See: https://lkml.org/lkml/2013/9/9/236 + diff -Naur vmblock-only/linux/inode.c vmblock-only/linux/inode.c --- vmblock-only/linux/inode.c 2013-11-05 23:33:26.000000000 -0500 +++ vmblock-only/linux/inode.c 2014-04-26 10:58:03.063635343 -0400 diff --git a/app-emulation/vmware-modules/files/279-3.15-00-readlink.patch b/app-emulation/vmware-modules/files/279-3.15-00-readlink.patch index 36be37f..b8ee078 100644 --- a/app-emulation/vmware-modules/files/279-3.15-00-readlink.patch +++ b/app-emulation/vmware-modules/files/279-3.15-00-readlink.patch @@ -1,3 +1,6 @@ +replacing usage of vfs_readlink with new readlink_copy API +see: http://permalink.gmane.org/gmane.linux.kernel.commits.head/445090 + diff -rupN vmblock-only/linux/inode.c vmblock-only/linux/inode.c --- vmblock-only/linux/inode.c 2014-10-05 23:20:14.545218357 -0400 +++ vmblock-only/linux/inode.c 2014-10-05 23:33:01.549259933 -0400 diff --git a/app-emulation/vmware-modules/files/279-3.15-01-vsock.patch b/app-emulation/vmware-modules/files/279-3.15-01-vsock.patch index a880a75..9e8d9d1 100644 --- a/app-emulation/vmware-modules/files/279-3.15-01-vsock.patch +++ b/app-emulation/vmware-modules/files/279-3.15-01-vsock.patch @@ -1,3 +1,6 @@ +removing the no longer existing second parameter to sk_data_ready +doesn't seem it ever served a purpose. + diff -rupN vsock-only/linux/notify.c vsock-only.new/linux/notify.c --- vsock-only/linux/notify.c 2013-11-05 23:33:27.000000000 -0500 +++ vsock-only.new/linux/notify.c 2014-10-05 23:46:47.943304728 -0400 diff --git a/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch b/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch index fbe1741..7c52455 100644 --- a/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch +++ b/app-emulation/vmware-modules/files/279-3.17-00-netdev.patch @@ -1,3 +1,7 @@ +new alloc_netdev requires a new parameter. All examples in the kernel i've seen just +use the constant NET_NAME_UNKNOWN. +origionally from: https://communities.vmware.com/message/2425189 + diff -rupN vmnet-only/netif.c vmnet-only.new/netif.c --- vmnet-only/netif.c 2013-11-06 00:40:52.000000000 -0500 +++ vmnet-only.new/netif.c 2014-10-09 17:29:12.361307961 -0400 -- cgit v1.2.3-18-g5258