How to call my system call by it's name?
lin shane
bsdmaillist at gmail.com
Wed Oct 12 22:38:55 PDT 2005
Hello,
Recent I add a simple system call - syshello() to my kernel.
Then recompile the kernel. And I can call my system call by:
syscall(455,parameter);
But how do I do if I want call it by:
syshello(parameter);
Actually I recompile /usr/src/lib, but after doing that,
I nearly cannot do anything! Becasue my screen always shows:
/libexec/ld-elf.so.1: /lib/libc.so.5: Undefined symbol "SYS_syshello"
Help me! Plase, thanks in advance. ^_^
More information about the freebsd-questions
mailing list