Skip to content
Advertisement

Tag: linked-list

Add syscalls to linux kernel

I’m new in working with kernel. I want to add a linked list to my kernel, and I try to fix it like this link : Linux Kernel Programming–Linked List here is code’s that I added to sys.c : syscall defenition: and my struct for linked list: and when I compile the kernel, I saw this error: thanks for your

Deleting Linked List Elements

I’m curious what I have done wrong, since my void *DeleteDoneNodes(node * n) doesn’t do anything, no error but no output neighter, so could anyone help me finding the root of my problem thank you. Scenario: cmd line ./s m n m number of nodes in list, n number of workingThreads should delete each nodes with node->value == 1, but

Advertisement