How to pass argv to syscall defined in a custom Linux kernel module
In a Linux kernel module, I have defined some syscalls that are called from an external user code. The user code invokes (one of) the syscalls passing to it the first two arguments from command line, i.e. argv[1]
and argv[2]
.