Listing 5-4 shows a system callmodule designed to allocate kernel memory.
清单5 - 4演示了一个用于分配内核内存的系统调用。
3
While writing a user space program to execute a system call is the "proper" way to do it, when you just want to test a system callmodule, it's annoying to have to write an additional program first.