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.
- 09-14-2004 #1Just 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)
- 09-21-2004 #2Linux 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?


Reply With Quote
