All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] __get_user/__put_user
@ 2013-03-16 20:19 Gilles Chanteperdrix
  2013-03-16 20:25 ` Jan Kiszka
  0 siblings, 1 reply; 23+ messages in thread
From: Gilles Chanteperdrix @ 2013-03-16 20:19 UTC (permalink / raw)
  To: Xenomai


Hi,

xenomai asm-generic/syscall.h defines __xn_put_user/__xn_get_user as
aliases for __put_user/__get_user, which implementation, for the ARM
architecture calls might_fault() which triggers an ipipe_root_only() check.

So, the question is, what is the best way of avoiding this issue? Remove
the call to might_fault() when compiling with CONFIG_IPIPE enabled?
Define __ipipe_safe_put_user which avoids the call to might_fault() ?

Thanks in advance.

-- 
                                                                Gilles.


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

end of thread, other threads:[~2013-05-10 13:20 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-16 20:19 [Xenomai] __get_user/__put_user Gilles Chanteperdrix
2013-03-16 20:25 ` Jan Kiszka
2013-03-16 20:27   ` Gilles Chanteperdrix
2013-03-16 20:28     ` Jan Kiszka
2013-03-16 20:50       ` Gilles Chanteperdrix
2013-05-09 17:32         ` Gilles Chanteperdrix
2013-05-09 17:58           ` Jan Kiszka
2013-05-09 18:02             ` Gilles Chanteperdrix
2013-05-09 18:02               ` Jan Kiszka
2013-05-09 18:03                 ` Gilles Chanteperdrix
2013-05-09 18:11                   ` Jan Kiszka
2013-05-09 18:27                     ` Gilles Chanteperdrix
2013-05-09 18:34                       ` Jan Kiszka
2013-05-09 18:36                         ` Gilles Chanteperdrix
2013-05-09 18:41                           ` Jan Kiszka
2013-05-09 19:08                             ` Gilles Chanteperdrix
2013-05-09 19:23                               ` Jan Kiszka
2013-05-09 19:16                             ` Gilles Chanteperdrix
2013-05-09 19:20                               ` Jan Kiszka
2013-05-09 19:20                               ` Philippe Gerum
2013-05-09 19:29                                 ` Jan Kiszka
2013-05-10 13:16                                 ` Gilles Chanteperdrix
2013-05-10 13:20                                   ` Jan Kiszka

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.