Hacker News new | ask | show | jobs
by vmorgulis 3516 days ago
> LoWe creates the missing device files (as regular files) under /dev to let them to be opened by the program and have a file descriptor. Later on it intercepts Linux kernel system calls (syscalls) in user mode via ptrace (like strace). When LoWe thinks that she is responsible to handle given syscalls (ioctl, read, write, mmap, etc.) of particular devices identified by file descriptors then it provides her own responses to the syscalls instead of going down to the Windows kernel that has no support for those functions.

Simple and neat idea.

1 comments

Thank you.