I\'m trying to call
sys_readlink(const char __user *path, char __user *buf, int bufsiz)
directly, but get EFAULT error code. This error ap
You can temporarily disable memory address validity checking by using set_fs
set_fs
mm_segment_t old_fs; old_fs = get_fs(); set_fs(KERNEL_DS); /* Your syscall here */ set_fs(old_fs);