All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: rtdm_fd_is_compat () in xenomai 3.0
@ 2018-10-30 17:15 Manikanta Mylavarapu
  2018-10-31 17:14 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Manikanta Mylavarapu @ 2018-10-30 17:15 UTC (permalink / raw)
  To: xenomai

Hi to all,

I am running 32bit application on 64bit kernel i.e my driver compiled on
64bit.

In my driver I used rtdm_fd_is_compat(), to know user land request came
from 32-bit or 64bit app.

My doubt is what it will return if both the driver & app are different?

Regards,
Manikanta

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

* Re: rtdm_fd_is_compat () in xenomai 3.0
  2018-10-30 17:15 rtdm_fd_is_compat () in xenomai 3.0 Manikanta Mylavarapu
@ 2018-10-31 17:14 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2018-10-31 17:14 UTC (permalink / raw)
  To: Manikanta Mylavarapu, xenomai

On 10/30/18 6:15 PM, Manikanta Mylavarapu wrote:
> Hi to all,
> 
> I am running 32bit application on 64bit kernel i.e my driver compiled on
> 64bit.
> 
> In my driver I used rtdm_fd_is_compat(), to know user land request came
> from 32-bit or 64bit app.
> 
> My doubt is what it will return if both the driver & app are different?
> 

rtdm_fd_is_compat() returns true when the current request to the 64bit
kernel originates from a 32bit app.

-- 
Philippe.


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

end of thread, other threads:[~2018-10-31 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-30 17:15 rtdm_fd_is_compat () in xenomai 3.0 Manikanta Mylavarapu
2018-10-31 17:14 ` Philippe Gerum

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.