diff options
14 files changed, 51 insertions, 0 deletions
diff --git a/app-emulation/vmware-modules/files/271-3.10-00-userns.patch b/app-emulation/vmware-modules/files/271-3.10-00-userns.patch index c960b78..b1b78b7 100644 --- a/app-emulation/vmware-modules/files/271-3.10-00-userns.patch +++ b/app-emulation/vmware-modules/files/271-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/271-3.10-01-create_proc_entry.patch b/app-emulation/vmware-modules/files/271-3.10-01-create_proc_entry.patch index 85c3def..889ae71 100644 --- a/app-emulation/vmware-modules/files/271-3.10-01-create_proc_entry.patch +++ b/app-emulation/vmware-modules/files/271-3.10-01-create_proc_entry.patch @@ -1,3 +1,7 @@ +uses the new proc_create function to create /proc entries +instead of create_proc_entry which was deprecated: +https://lkml.org/lkml/2013/4/11/215 + --- a/vmblock-only/linux/control.c 2013-05-21 19:21:19.165750556 +0200 +++ b/vmblock-only/linux/control.c 2013-05-21 19:22:18.363747723 +0200 @@ -208,9 +208,10 @@ diff --git a/app-emulation/vmware-modules/files/271-3.10-02-getname.patch b/app-emulation/vmware-modules/files/271-3.10-02-getname.patch index 7bcf536..05ed8db 100644 --- a/app-emulation/vmware-modules/files/271-3.10-02-getname.patch +++ b/app-emulation/vmware-modules/files/271-3.10-02-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/271-3.10-03-deprecated.patch b/app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch index 3a9f785..981aabd 100644 --- a/app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch +++ b/app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch @@ -1,3 +1,7 @@ +undefines DEPRECATED which is unfortunately also defined (as a string) +in <linux/printk.h>. 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-10-09 21:50:54.221159088 -0400 +++ vmblock-only.new/shared/vm_assert.h 2014-10-09 21:53:04.612166156 -0400 diff --git a/app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch b/app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch index d030110..d5129ec 100644 --- a/app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch +++ b/app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch @@ -1,3 +1,6 @@ +hushes warnings about unused typedefs which are part of the "static assert" +technique that the code uses. We simply add an "__attribute__((unused)) to each of them + --- vmblock-only/shared/vm_assert.h 2014-10-07 22:43:39.519402467 -0400 +++ vmblock-only/shared/vm_assert.h 2014-10-07 22:48:01.346409957 -0400 @@ -317,7 +317,7 @@ EXTERN void WarningThrottled(uint32 *cou diff --git a/app-emulation/vmware-modules/files/271-3.10-05-dentry.patch b/app-emulation/vmware-modules/files/271-3.10-05-dentry.patch index 8acecf5..f4f59d9 100644 --- a/app-emulation/vmware-modules/files/271-3.10-05-dentry.patch +++ b/app-emulation/vmware-modules/files/271-3.10-05-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/271-3.10-06-inode.patch b/app-emulation/vmware-modules/files/271-3.10-06-inode.patch index 0d30dbe..4f6246d 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,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/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/271-3.10-07-hub.patch b/app-emulation/vmware-modules/files/271-3.10-07-hub.patch index 50ab341..eebe4a2 100644 --- a/app-emulation/vmware-modules/files/271-3.10-07-hub.patch +++ b/app-emulation/vmware-modules/files/271-3.10-07-hub.patch @@ -1,3 +1,8 @@ +fixes a bug where sizeof was being used on a pointer when they clearly +meant to use the size of the array referred to. Fortunately, the amount is +always smaller than the actual size of the buffer, so likely not a security issue +(and was fixed in vmware-workstaiton 10 + diff -rupN vmnet-only/hub.c vmnet-only.new/hub.c --- vmnet-only/hub.c 2013-11-06 00:40:52.000000000 -0500 +++ vmnet-only.new/hub.c 2014-10-07 18:45:34.403918680 -0400 diff --git a/app-emulation/vmware-modules/files/271-3.11-00-readdir.patch b/app-emulation/vmware-modules/files/271-3.11-00-readdir.patch index 15a9a8f..b2f76d3 100644 --- a/app-emulation/vmware-modules/files/271-3.11-00-readdir.patch +++ b/app-emulation/vmware-modules/files/271-3.11-00-readdir.patch @@ -1,3 +1,6 @@ +replaces usage of vfs_readdir with iterate_dir. origionally found here: +https://bugs.gentoo.org/show_bug.cgi?id=508204 + diff -Naur vmblock-only/linux/file.c vmblock-only/linux/file.c --- vmblock-only/linux/file.c 2013-11-05 23:33:26.000000000 -0500 +++ vmblock-only/linux/file.c 2014-04-26 10:58:03.062635343 -0400 diff --git a/app-emulation/vmware-modules/files/271-3.11-01-filldir.patch b/app-emulation/vmware-modules/files/271-3.11-01-filldir.patch index d36c61a..2eec99b 100644 --- a/app-emulation/vmware-modules/files/271-3.11-01-filldir.patch +++ b/app-emulation/vmware-modules/files/271-3.11-01-filldir.patch @@ -1,3 +1,6 @@ +simply remove the code for Filldir since it is no longer used with the new +iterate_dir API + diff -rupN vmblock-only/linux/file.c vmblock-only.new/linux/file.c --- vmblock-only/linux/file.c 2014-10-07 23:22:46.832469618 -0400 +++ vmblock-only.new/linux/file.c 2014-10-07 23:24:35.276472720 -0400 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 4e9d7e9..f65284f 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,3 +1,6 @@ +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 +++ patched/vmnet-only/filter.c 2014-01-26 01:09:05.184893854 +0000 @@ -27,6 +27,7 @@ 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 36be37f..b1c7f24 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,3 +1,5 @@ +replacing usage of vfs_readlink with new readlink_copy API + 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/271-3.15-01-vsock.patch b/app-emulation/vmware-modules/files/271-3.15-01-vsock.patch index a880a75..9e8d9d1 100644 --- a/app-emulation/vmware-modules/files/271-3.15-01-vsock.patch +++ b/app-emulation/vmware-modules/files/271-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/271-3.17-00-netdev.patch b/app-emulation/vmware-modules/files/271-3.17-00-netdev.patch index fbe1741..7c52455 100644 --- a/app-emulation/vmware-modules/files/271-3.17-00-netdev.patch +++ b/app-emulation/vmware-modules/files/271-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 |