Re: [PATCH] autofs4: fix 32-bit userspace vs 64-bit kernel communications

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Emelyanov <xemul@...>
Cc: autofs mailing list <autofs@...>, Linux Kernel Mailing List <linux-kernel@...>, Konstantin Khlebnikov <khlebnikov@...>
Date: Wednesday, June 11, 2008 - 9:08 am

On Wed, 2008-06-11 at 16:47 +0400, Pavel Emelyanov wrote:

Any program that is compiled to use the autofs4 module with the version
5 communication protocol. As far as I know only autofs version 5 uses
this at the moment.

This isn't a problem for a 32-bit daemon running within a 32-bit user
space environment or a 64-bit daemon running within a 64-bit user space
environment.


My point is that I think this change may adversely affect existing
compiled user space applications and I want know if I'm right.

I acknowledge that the struct padding is a problem and I am aware of it
but it is potentially a big problem to just change the kernel structure
size.

Does the test_thread_flag(TIF_IA32) macro only return true for a 32-bit
user-space process running within a 64-bit user space environment
(perhaps I can do away with the check in the autofs daemon, perhaps it
doesn't quite work correctly)?


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] autofs4: fix 32-bit userspace vs 64-bit kernel c..., Mikael Pettersson, (Wed Jun 11, 10:29 am)
Re: [PATCH] autofs4: fix 32-bit userspace vs 64-bit kernel c..., Ian Kent, (Wed Jun 11, 9:08 am)