Fwd: sys/vimage.h and net/opt_inet6 not exist on 7.1 release?

2009-03-13 Thread Jacky Oh
Hi, Im trying to compile sys/netinet/ip_fw_pfil.c as example of KLD firewall module. This file include net/opt_inet6.h and sys/vimage.h but the compiler dont find it. This files seems that was deleted from the source tree. Anyone know something?. Thanks __

sys/vimage.h and net/opt_inet6 not exist on 7.1 release?

2009-03-13 Thread Jacky Oh
Hi, Im trying to compile sys/netinet/ip_fw_pfil.c as example of KLD firewall module. This file include net/opt_inet6.h and sys/vimage.h but the compiler dont find it. This files seems that was deleted from the source tree. Anyone know something?. Thanks ___

Re: KLD: program.ko: depends of kernel - no avaiable

2009-01-30 Thread Jacky Oh
Hi Warner.. Can the solution become the source tree updates to the same version of my installed kernel? Sorry for my irregular-time questions and responses but currently i cannot access to inet.. It's really difficult for me becouse I don't put instant solution for my systems and my case of study

Fwd: KLD: program.ko: depends of kernel - no avaiable

2009-01-28 Thread Jacky Oh
hi everyone, the main goal of KLD are load code for executing as part of kernel at run-time, so, i don't think that rebuild the kernel are a good solution.. In other way a try to load any dev/syscall example at /usr/share/examples/kld the result was the same.. When i was thinking in S. Sedov reply

KLD: program.ko: depends of kernel - no avaiable

2009-01-20 Thread Jacky Oh
Hi, I'm writing a syscall module and he compiles well but at load time, kldload shows: KLD: program.ko: depends of kernel - no avaiable anyone know something about this? Thanks! ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mai

Re: How to access kernel memory from user space

2008-12-22 Thread Jacky Oh
hi Gerry.. you may be interested in the following functions: int copyin(const void *uaddr, void *kaddr, size_t len); int copyout(const void *kaddr, void *uaddr, size_t len); int copyinstr(const void *uaddr, void *kaddr, size_t len, size_t *done); int bcopy(const void *src, const void *dst, len);

Fwd: How to access kernel memory from user space

2008-12-22 Thread Jacky Oh
hi Gerry.. you may be interested in the following functions: int copyin(const void *uaddr, void *kaddr, size_t len); int copyout(const void *kaddr, void *uaddr, size_t len); int copyinstr(const void *uaddr, void *kaddr, size_t len, size_t *done); int bcopy(const void *src, const void *dst, len);

SYSINIT

2008-07-16 Thread Jacky Oh
Hello, I'm insvestigating about KLD's programming, and I cant find in my way wiht the SYSINIT framework. My problem is that im from spanish, and the SYSINIT concept is more complex for my as I understand in english. My question is, anyone can explain to in a less complex form? please, I would be v