Attached is a patch that adds in the necessary code for vmware-user-suid-wrapper
to properly modprobe to remove and add the vmblock module.
I tried very hard to follow the style conventions of the existing code.
One thing that's a bit kludgy: The platform independent code thinks it should create
the vmblock directory in /proc/fs. Under linux, that's done in the vmblock kernel module
initialization. I chose to add a platform specific "if !defined(linux)" to the platform
independent code in main. Others may want a different style.
**IMPORTANT** NONE of this will work unless one more packaging mistake is corrected:
vmware-user-suid-wrapper is currently not installed suid root.
To do its work properly it must be installed suid root.
Attached is a patch that adds in the necessary code for vmware- user-suid- wrapper
to properly modprobe to remove and add the vmblock module.
I tried very hard to follow the style conventions of the existing code.
One thing that's a bit kludgy: The platform independent code thinks it should create
the vmblock directory in /proc/fs. Under linux, that's done in the vmblock kernel module
initialization. I chose to add a platform specific "if !defined(linux)" to the platform
independent code in main. Others may want a different style.
**IMPORTANT** NONE of this will work unless one more packaging mistake is corrected:
vmware- user-suid- wrapper is currently not installed suid root.
To do its work properly it must be installed suid root.