syscall to userland interface

2013-05-10 Thread Karl Dreger
Hello, I have been taking a look at a few syscalls in /usr/src/sys/kern/ and always find that in their actuall c definition the function names are preprended by a sys_. Take for example the fork system call which is found in /usr/src/sys/kern/kern_fork.c int sys_fork(struct thread *td, struct fork

Re: syscall to userland interface

2013-05-11 Thread Karl Dreger
close(), ... in their actual c definition. If the assembler files that you spoke about answer this discrepancy, then the reason why the penny hasn't dropped yet is because I haven't found them. Karl Von: Alfred Perlstein An: Karl Dreger CC: &

Re: syscall to userland interface

2013-05-11 Thread Karl Dreger
Yes, that makes it clear. Now, that you are actually speaking about the syscall table, I have to say that I was aware of there being one, but I never before saw it that way. Thanks Von: Mateusz Guzik An: Karl Dreger CC: "freebsd-hackers@freebs