Find the answer to your Linux question:
Results 1 to 2 of 2
thanks. (Linux version is : linux-2.6)...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    jzh
    jzh is offline
    Just Joined!
    Join Date
    Sep 2004
    Location
    BeiJing, China
    Posts
    3

    How to do a system call in kernel module programming?


    thanks.
    (Linux version is : linux-2.6)

  2. #2
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    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
  •