Skip to contentSkip to conversation

lstrncpy_from_user symbol not exported

parisc-linux William Waites 2 participants 2 messages Mar 4, 2004 – Mar 6, 2004 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

I tried sending this to [email protected] but it bounced...

----- Forwarded message from William Waites <[email protected]> -----

Date: Thu, 4 Mar 2004 13:59:49 -0500
From: William Waites
Subject: lstrncpy_from_user symbol not exported
To: [email protected]

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

arch/parisc/kernel/parisc_ksyms.c 4 Mar 2004 18:53:07 -0000 renamed from arch/parisc/kernel/parisc_ksyms.c 17 Jan 2004 06:40:11 -0000 1.49 +1 -0
diff -u -r1.49 parisc_ksyms.c
@@ -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 */
Signature · 4 lines
/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards
#1 lore raw

In reference to a message from William Waites, dated Mar 04:

Quoted 2 lines

I tried sending this to [email protected] but it bounced...

commited, thanks

randolph

Signature · 3 lines
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/