i am a beginner kernel programmer. i need to write a kernel code for a new system call called
int sys_printstr(void *buf);
This system call returns the usual success/failure codes. The buf argument that it gets is an
encoded string as follows:
• the first byte in buf contains the length of the string in bytes
• the bytes that follow in buf contain the actual string, excluding the terminating null it should correctly printk this encoded string which is passed from user-land.
thanks in advance..