Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    BeiJing, China

    How to do a system call in kernel module programming?

    (Linux version is : linux-2.6)

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    You simply don't want to do a syscall from kernel space. Unless you're extremely lucky, it won't work, since any addresses you pass to the syscall will be interpreted as userspace addresses as opposed to kernelspace, as you'd want.

    What exactly is it that you want to do that would require a syscall?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts