commit:     5f6e3b9c5c56a7f3d470a42d628736f1f90a5e4e
Author:     Fabio Rossi <rossi.f <AT> inwind <DOT> it>
AuthorDate: Wed Aug 17 12:35:18 2016 +0000
Commit:     Fabio Rossi <rossi.f <AT> inwind <DOT> net>
CommitDate: Wed Aug 17 12:35:18 2016 +0000
URL:        https://gitweb.gentoo.org/proj/vmware.git/commit/?id=5f6e3b9c

app-emulation/vmware-modules: really fix hardened with 304.x

 app-emulation/vmware-modules/files/304-hardened.patch | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/app-emulation/vmware-modules/files/304-hardened.patch 
b/app-emulation/vmware-modules/files/304-hardened.patch
index cc3e041..588abca 100644
--- a/app-emulation/vmware-modules/files/304-hardened.patch
+++ b/app-emulation/vmware-modules/files/304-hardened.patch
@@ -82,7 +82,7 @@ index b12b982..40bd4cf 100644
  
  /*
   * Utility functions
-@@ -476,28 +491,6 @@ init_module(void)
+@@ -476,22 +491,6 @@ init_module(void)
        goto err_proto;
     }
  
@@ -97,14 +97,8 @@ index b12b982..40bd4cf 100644
 -   vnetFileOps.read = VNetFileOpRead;
 -   vnetFileOps.write = VNetFileOpWrite;
 -   vnetFileOps.poll = VNetFileOpPoll;
--#ifdef HAVE_UNLOCKED_IOCTL
 -   vnetFileOps.unlocked_ioctl = VNetFileOpUnlockedIoctl;
--#else
--   vnetFileOps.ioctl = VNetFileOpIoctl;
--#endif
--#ifdef HAVE_COMPAT_IOCTL
 -   vnetFileOps.compat_ioctl = VNetFileOpUnlockedIoctl;
--#endif
 -   vnetFileOps.open = VNetFileOpOpen;
 -   vnetFileOps.release = VNetFileOpClose;
 -

Reply via email to