Linux kernel linked list, modified for userspace