[lkml]   [2001]   [Dec]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: syscall from modules
>>>>> " " == Amber Palekar <> writes:

> Hi,
> I am trying to write a linux kernel module.I want
> to use sys_sendto,sys_recvfrom etc calls from the
> module.However these symbols are not present in 'ksyms'.One
> sluggish option is to modify socket.c ( which contains these
> function definitions ) to export the symbols. However this
> would require
> comiling the entire kernel.Is there a descent way to do this ??


Just use sock_sendmsg() and sock_recvmsg() directly. They are both
exported in netsyms.c.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:14    [W:0.048 / U:7.456 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site