public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Evan Teran" <evan.teran@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-modules/files/
Date: Tue, 14 Oct 2014 01:59:56 +0000 (UTC)	[thread overview]
Message-ID: <1413251898.a5c729fbf9a617c83527554d7a13da097d49c1f8.eteran@gentoo> (raw)

commit:     a5c729fbf9a617c83527554d7a13da097d49c1f8
Author:     Evan Teran <evan.teran <AT> gmail <DOT> com>
AuthorDate: Tue Oct 14 01:58:18 2014 +0000
Commit:     Evan Teran <evan.teran <AT> gmail <DOT> com>
CommitDate: Tue Oct 14 01:58:18 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/vmware.git;a=commit;h=a5c729fb

added comments explaining reason/origin of patches for 271 patches

Package-Manager: portage-2.2.8-r2

---
 app-emulation/vmware-modules/files/271-3.10-00-userns.patch          | 4 ++++
 .../vmware-modules/files/271-3.10-01-create_proc_entry.patch         | 4 ++++
 app-emulation/vmware-modules/files/271-3.10-02-getname.patch         | 5 +++++
 app-emulation/vmware-modules/files/271-3.10-03-deprecated.patch      | 4 ++++
 app-emulation/vmware-modules/files/271-3.10-04-unused-typedef.patch  | 3 +++
 app-emulation/vmware-modules/files/271-3.10-05-dentry.patch          | 4 ++++
 app-emulation/vmware-modules/files/271-3.10-06-inode.patch           | 4 ++++
 app-emulation/vmware-modules/files/271-3.10-07-hub.patch             | 5 +++++
 app-emulation/vmware-modules/files/271-3.11-00-readdir.patch         | 3 +++
 app-emulation/vmware-modules/files/271-3.11-01-filldir.patch         | 3 +++
 app-emulation/vmware-modules/files/271-3.13-00-vmnet.patch           | 3 +++
 app-emulation/vmware-modules/files/271-3.15-00-readlink.patch        | 2 ++
 app-emulation/vmware-modules/files/271-3.15-01-vsock.patch           | 3 +++
 app-emulation/vmware-modules/files/271-3.17-00-netdev.patch          | 4 ++++
 14 files changed, 51 insertions(+)

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


             reply	other threads:[~2014-10-14  2:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-14  1:59 Evan Teran [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-25 21:43 [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-modules/files/ Fabio Rossi
2016-08-17 12:38 Fabio Rossi
2016-08-17 12:38 Fabio Rossi
2016-08-05  7:29 Fabio Rossi
2016-05-27 23:11 Fabio Rossi
2015-07-14  2:01 Evan Teran
2015-05-05 17:10 Evan Teran
2014-10-14  2:28 Evan Teran
2014-10-14  2:08 Evan Teran
2014-10-10 13:55 Evan Teran
2014-10-10 13:55 Evan Teran
2012-09-01 13:15 Vadim Kuznetsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1413251898.a5c729fbf9a617c83527554d7a13da097d49c1f8.eteran@gentoo \
    --to=evan.teran@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox