All of lore.kernel.org
 help / color / mirror / Atom feed
* vfs: getname() / putname() used by VMware drivers
@ 2014-09-12 13:57 Thomas Jarosch
  2014-09-12 22:11 ` Christoph Hellwig
  2014-09-13  2:12 ` Jeff Layton
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Jarosch @ 2014-09-12 13:57 UTC (permalink / raw)
  To: Jeff Layton; +Cc: linux-fsdevel, Dmitry Torokhov

Hi Jeff,

I just compiled the VMware kernel modules 9.4.6-1770165
on kernel 3.14.18 (upgrading from 3.4.101).

The functions getname() and putname() are both used
by the "vmblock" and "vmsync" module.

Any chance to revert 8e377d15078a501c4da98471f56396343c407d92
---------------------------------------
vfs: unexport getname and putname symbols

I see no callers in module code.
---------------------------------------

since there are callers to those functions?

Otherwise the VMware code needs to be changed downstream.
For now I've reverted the commit in question locally.

Cheers,
Thomas


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vfs: getname() / putname() used by VMware drivers
  2014-09-12 13:57 vfs: getname() / putname() used by VMware drivers Thomas Jarosch
@ 2014-09-12 22:11 ` Christoph Hellwig
  2014-09-13  2:12 ` Jeff Layton
  1 sibling, 0 replies; 7+ messages in thread
From: Christoph Hellwig @ 2014-09-12 22:11 UTC (permalink / raw)
  To: Thomas Jarosch; +Cc: Jeff Layton, linux-fsdevel, Dmitry Torokhov

On Fri, Sep 12, 2014 at 03:57:39PM +0200, Thomas Jarosch wrote:
> Hi Jeff,
> 
> I just compiled the VMware kernel modules 9.4.6-1770165
> on kernel 3.14.18 (upgrading from 3.4.101).
> 
> The functions getname() and putname() are both used
> by the "vmblock" and "vmsync" module.
> 
> Any chance to revert 8e377d15078a501c4da98471f56396343c407d92
> ---------------------------------------
> vfs: unexport getname and putname symbols

No.  that was intentional an no module should use them.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vfs: getname() / putname() used by VMware drivers
  2014-09-12 13:57 vfs: getname() / putname() used by VMware drivers Thomas Jarosch
  2014-09-12 22:11 ` Christoph Hellwig
@ 2014-09-13  2:12 ` Jeff Layton
  2014-09-15  7:41   ` Thomas Jarosch
  1 sibling, 1 reply; 7+ messages in thread
From: Jeff Layton @ 2014-09-13  2:12 UTC (permalink / raw)
  To: Thomas Jarosch; +Cc: hch, linux-fsdevel, Dmitry Torokhov

On Fri, 12 Sep 2014 15:57:39 +0200
Thomas Jarosch <thomas.jarosch@intra2net.com> wrote:

> Hi Jeff,
> 
> I just compiled the VMware kernel modules 9.4.6-1770165
> on kernel 3.14.18 (upgrading from 3.4.101).
> 
> The functions getname() and putname() are both used
> by the "vmblock" and "vmsync" module.
> 
> Any chance to revert 8e377d15078a501c4da98471f56396343c407d92
> ---------------------------------------
> vfs: unexport getname and putname symbols
> 
> I see no callers in module code.
> ---------------------------------------
> 
> since there are callers to those functions?
> 
> Otherwise the VMware code needs to be changed downstream.
> For now I've reverted the commit in question locally.
> 
> Cheers,
> Thomas
> 

(I've left Red Hat so the redhat.com address no longer works)

As Christoph says...no, there's no way that we'll revert that.

Those functions have hooks into the audit layer and 3rd party modules
almost universally got their usage wrong.

-- 
Jeff Layton <jlayton@poochiereds.net>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vfs: getname() / putname() used by VMware drivers
  2014-09-13  2:12 ` Jeff Layton
@ 2014-09-15  7:41   ` Thomas Jarosch
  2014-09-15 15:28     ` Dmitry Torokhov
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Jarosch @ 2014-09-15  7:41 UTC (permalink / raw)
  To: Jeff Layton
  Cc: hch, linux-fsdevel, Dmitry Torokhov, Dyno Hongjun Fu, dmitry.torokhov

Hi Jeff,

On Friday, 12. September 2014 22:12:08 Jeff Layton wrote:
> > I just compiled the VMware kernel modules 9.4.6-1770165
> > on kernel 3.14.18 (upgrading from 3.4.101).
> > 
> > The functions getname() and putname() are both used
> > by the "vmblock" and "vmsync" module.
> > 
> > Any chance to revert 8e377d15078a501c4da98471f56396343c407d92
> > ---------------------------------------
> > vfs: unexport getname and putname symbols
> > 
> > I see no callers in module code.
> > ---------------------------------------
> > 
> > since there are callers to those functions?
> > 
> > Otherwise the VMware code needs to be changed downstream.
> > For now I've reverted the commit in question locally.
> > 
> > Cheers,
> > Thomas
> 
> (I've left Red Hat so the redhat.com address no longer works)
> 
> As Christoph says...no, there's no way that we'll revert that.
> 
> Those functions have hooks into the audit layer and 3rd party modules
> almost universally got their usage wrong.

thanks for the explanation, especially about the audit layer part.

Let's see if Dmitry still works for VMware as the @vmware.com address 
bounces. Adding CC: to Dyno and Dmitry (another address).

Cheers,
Thomas


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: vfs: getname() / putname() used by VMware drivers
  2014-09-15  7:41   ` Thomas Jarosch
@ 2014-09-15 15:28     ` Dmitry Torokhov
  2014-09-18 13:48       ` Thomas Jarosch
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Torokhov @ 2014-09-15 15:28 UTC (permalink / raw)
  To: Thomas Jarosch, Jeff Layton
  Cc: hch, linux-fsdevel, Dmitry Torokhov, Dyno Hongjun Fu

On September 15, 2014 12:41:40 AM PDT, Thomas Jarosch <thomas.jarosch@intra2net.com> wrote:
>Hi Jeff,
>
>On Friday, 12. September 2014 22:12:08 Jeff Layton wrote:
>> > I just compiled the VMware kernel modules 9.4.6-1770165
>> > on kernel 3.14.18 (upgrading from 3.4.101).
>> > 
>> > The functions getname() and putname() are both used
>> > by the "vmblock" and "vmsync" module.
>> > 
>> > Any chance to revert 8e377d15078a501c4da98471f56396343c407d92
>> > ---------------------------------------
>> > vfs: unexport getname and putname symbols
>> > 
>> > I see no callers in module code.
>> > ---------------------------------------
>> > 
>> > since there are callers to those functions?
>> > 
>> > Otherwise the VMware code needs to be changed downstream.
>> > For now I've reverted the commit in question locally.
>> > 
>> > Cheers,
>> > Thomas
>> 
>> (I've left Red Hat so the redhat.com address no longer works)
>> 
>> As Christoph says...no, there's no way that we'll revert that.
>> 
>> Those functions have hooks into the audit layer and 3rd party modules
>> almost universally got their usage wrong.
>
>thanks for the explanation, especially about the audit layer part.
>

You do not need neither vmsync nor vmblock on kernels past 3.0 so just hack around vmware-coonfig-tools.pl (or whatever the install script is called) and do not compile them.

Hi Thomas,
Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: vfs: getname() / putname() used by VMware drivers
  2014-09-15 15:28     ` Dmitry Torokhov
@ 2014-09-18 13:48       ` Thomas Jarosch
  2014-09-18 17:00         ` Dmitry Torokhov
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Jarosch @ 2014-09-18 13:48 UTC (permalink / raw)
  To: Dmitry Torokhov
  Cc: Jeff Layton, hch, linux-fsdevel, Dmitry Torokhov, Dyno Hongjun Fu

Hi Dmitry,

On Monday, 15. September 2014 08:28:33 Dmitry Torokhov wrote:
> >> As Christoph says...no, there's no way that we'll revert that.
> >> 
> >> Those functions have hooks into the audit layer and 3rd party modules
> >> almost universally got their usage wrong.
> >
> >thanks for the explanation, especially about the audit layer part.
> 
> You do not need neither vmsync nor vmblock on kernels past 3.0 so just
> hack around vmware-coonfig-tools.pl (or whatever the install script is
> called) and do not compile them.

thanks for the hint, that makes things a lot easier.

Probably a lot of people on the web could stop to publish
compiling-but-more-or-less-working patches to port
those modules to recent kernels ;)

Thanks again,
Thomas


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: vfs: getname() / putname() used by VMware drivers
  2014-09-18 13:48       ` Thomas Jarosch
@ 2014-09-18 17:00         ` Dmitry Torokhov
  0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Torokhov @ 2014-09-18 17:00 UTC (permalink / raw)
  To: Thomas Jarosch; +Cc: Jeff Layton, hch, linux-fsdevel, Dyno Hongjun Fu

On Thu, Sep 18, 2014 at 03:48:03PM +0200, Thomas Jarosch wrote:
> Hi Dmitry,
> 
> On Monday, 15. September 2014 08:28:33 Dmitry Torokhov wrote:
> > >> As Christoph says...no, there's no way that we'll revert that.
> > >> 
> > >> Those functions have hooks into the audit layer and 3rd party modules
> > >> almost universally got their usage wrong.
> > >
> > >thanks for the explanation, especially about the audit layer part.
> > 
> > You do not need neither vmsync nor vmblock on kernels past 3.0 so just
> > hack around vmware-coonfig-tools.pl (or whatever the install script is
> > called) and do not compile them.
> 
> thanks for the hint, that makes things a lot easier.
> 
> Probably a lot of people on the web could stop to publish
> compiling-but-more-or-less-working patches to port
> those modules to recent kernels ;)

Yeah. Well, it is hard for VMware to go back and adjust already released
tools packages ;). I believe this issue is fixed in newer versions and in
open-vm-tools.

BTW, more and more distributions package open-vm-tools and I believe most of
the needed kernel drivers are now in mainline so things should be getting
better. 

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-18 17:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-12 13:57 vfs: getname() / putname() used by VMware drivers Thomas Jarosch
2014-09-12 22:11 ` Christoph Hellwig
2014-09-13  2:12 ` Jeff Layton
2014-09-15  7:41   ` Thomas Jarosch
2014-09-15 15:28     ` Dmitry Torokhov
2014-09-18 13:48       ` Thomas Jarosch
2014-09-18 17:00         ` Dmitry Torokhov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.