Search results

  1. victormenegusso

    Crypt MD5 on KLD

    Hello everybody, I create a new syscall follow the examples. http://www.hailang.me/index.php/tech/freebsd/freebsd-kernel-rootkit-design-howtos-%E2%80%93-3-system-call-first-kernel-service-application/ The syscall works fine, but I need to use a function to crypt some characters. I found...
  2. victormenegusso

    How to open a file with KLD

    I find: int kern_open(struct thread *td, char *path, enum uio_seg pathseg,int flags, int mode); int kern_readv(struct thread *td, int fd, struct uio *auio); int kern_writev(struct thread *td, int fd, struct uio *auio); Link http://fxr.watson.org/fxr/source/sys/syscallsubr.h?v=FREEBSD82;
  3. victormenegusso

    Problem in adding a system call to FreeBSD kernel

    Good tutorial http://www.hailang.me/index.php/tech/freebsd/freebsd-kernel-rootkit-design-howtos-%E2%80%93-3-system-call-first-kernel-service-application/
  4. victormenegusso

    How to open a file with KLD

    I try to use open() from fcntl.h but it does not work.
  5. victormenegusso

    How to open a file with KLD

    Hi lockfile, i find a folder 'drivers', but just have a .sh, not .c thanks
  6. victormenegusso

    How to open a file with KLD

    Hello, everybody, I would like to know how to open a file using kld, and be able to write the same. Because I can not use the system call I create a Character Device, where have information, my KLD read a Character Device and write the information on file .txt for example. Thanks:stud
  7. victormenegusso

    How to use kernel_threads on KLD

    SirDice thanks, i will read about this.
  8. victormenegusso

    How to use kernel_threads on KLD

    I try use static struct proc *mainproc; kproc_create(kt_log_rw_arq, NULL, &mainproc, 0, 0, "raymond_main_thread"); and works fine but when I try use kthread_create(kt_log_rw_arq, NULL, &mainproc, 0, 0, "raymond_main_thread"); and not works, what is the difference between kthread_create...
  9. victormenegusso

    How to use kernel_threads on KLD

    Hello everybody, I'm finishing a degree in computer science :stud, and my final project is a module in freebsd, is the first time I'm working with KLD on freebsd and I need help. I'm using an example of kld, and it would like to know how to use kernel_threads, how to put the thread to run on...
Back
Top