public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] missing exports of __strlen_user(), __strncpy_from_user()?
@ 2000-12-05 22:04 John Kohl
  2000-12-05 22:18 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: John Kohl @ 2000-12-05 22:04 UTC (permalink / raw)
  To: linux-ia64

i386 kernels export strnlen_user() and strncpy_from_user(); the former
is referenced by the macro for strlen_user().

ia64 does not export either __strlen_user() or __strncpy_from_user()
(referenced by strlen_user() and strncpy_from_user() macros functions).
We need these symbols to implement some code in our kernel module
(ClearCase MVFS).

I presume this is just an oversight, and they should be added to
arch/ia64/kernel/ia64_ksyms.c?  I'd suggest adding these, as similar to
exported symbols in i386, to make copy_{from,to}_user(),
strncpy_from_user(), and clear_user() usable by modules.

EXPORT_SYMBOL(__strncpy_from_user);
EXPORT_SYMBOL(__do_clear_user);
EXPORT_SYMBOL(__strlen_user);
EXPORT_SYMBOL(__strnlen_user);
EXPORT_SYMBOL(__copy_user);


-- 
=John Kohl <jtk@rational.com>, Software Engineer
Rational Software, Configuration Management Business Unit
Mark your calendars!  Rational User Conference 2001, July 22-26, 2001
in beautiful Denver, Colorado


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

end of thread, other threads:[~2000-12-05 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-05 22:04 [Linux-ia64] missing exports of __strlen_user(), __strncpy_from_user()? John Kohl
2000-12-05 22:18 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox