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

* Re: [Linux-ia64] missing exports of __strlen_user(), __strncpy_from_user()?
  2000-12-05 22:04 [Linux-ia64] missing exports of __strlen_user(), __strncpy_from_user()? John Kohl
@ 2000-12-05 22:18 ` David Mosberger
  0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger @ 2000-12-05 22:18 UTC (permalink / raw)
  To: linux-ia64

__copy_user and __do_clear_user were already in the current kernel
sources but I added the other three now.

Thanks,

	--david

>>>>> On Tue, 5 Dec 2000 17:04:06 -0500 (EST), John Kohl <jtk@rational.com> said:

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

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

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

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


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

  John> _______________________________________________ Linux-IA64
  John> mailing list Linux-IA64@linuxia64.org
  John> http://lists.linuxia64.org/lists/listinfo/linux-ia64


^ 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