Devon H. O'Dell wrote:
> Hey everyone,
> 
> I implemented a syscall that I think addresses this issue, but I'm having 
> trouble getting everything to build. I read SYSCALLS.README and Eric 
> Schrock's blog on adding new syscalls, so I've got sysent.c / syscalls.h / 
> the rest of the stuff all put in. However, when I was browsing through the 
> code to try to figure out where to put it, the only place I saw syscalls for 
> sockets was under common/fs/sockfs. So I went ahead and put my new syscall in 
> socksyscalls.c. The issue here seems to be that this file never gets built 
> and I end up with an undefined reference to sogetpid when linking the kernel. 
> What is the terribly obvious thing I'm missing here? :)

You can see all the pieces for the so_socket syscall at:

http://cvs.opensolaris.org/source/search?q=so_socket&defs=&refs=&path=&hist=&project=%2Fonnv

You might be missing the modstubs.s parts.

    Erik
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to