All of lore.kernel.org
 help / color / mirror / Atom feed
From: William Waites <parisc@lists.styx.org>
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] lstrncpy_from_user symbol not exported
Date: Thu, 4 Mar 2004 14:06:43 -0500	[thread overview]
Message-ID: <20040304190643.GC19629@styx.org> (raw)

I tried sending this to submit@bugs.parisc-linux.org
but it bounced...

----- Forwarded message from William Waites <ww@styx.org> -----

Date: Thu, 4 Mar 2004 13:59:49 -0500
From: William Waites 
Subject: lstrncpy_from_user symbol not exported
To: submit@bugs.parisc-linux.org

Hello, 

I am running LiS on Linux/parsic. The streams kernel
module uses the strncpy_from_user function which on
parisc is macro that calls lstrncpy_from_user. This
function is not exported by the kernel, so the module
gets an unresolved symbol. The following patch fixes
this.

Index: arch/parisc/kernel/parisc_ksyms.c
===================================================================
RCS file: /var/cvs/linux-2.4/arch/parisc/kernel/parisc_ksyms.c,v
retrieving revision 1.49
diff -u -r1.49 parisc_ksyms.c
--- a/arch/parisc/kernel/parisc_ksyms.c 17 Jan 2004 06:40:11 -0000      1.49
+++ b/arch/parisc/kernel/parisc_ksyms.c 4 Mar 2004 18:53:07 -0000
@@ -110,6 +110,7 @@
 EXPORT_SYMBOL(lcopy_from_user);
 EXPORT_SYMBOL(lstrnlen_user);
 EXPORT_SYMBOL(lclear_user);
+EXPORT_SYMBOL(lstrncpy_from_user);

 #ifndef __LP64__
 /* Needed so insmod can set dp value */

-- 
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards

             reply	other threads:[~2004-03-04 19:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-04 19:06 William Waites [this message]
2004-03-06 14:46 ` [parisc-linux] lstrncpy_from_user symbol not exported Randolph Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040304190643.GC19629@styx.org \
    --to=parisc@lists.styx.org \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.