An FsNodeOps implementation that panics if you try to open it. Useful as a stand-in for testing
APIs that require a FsNodeOps implementation but don’t actually use it.
Checks that the page in current_task’s address space starting at addr is readable.
Panics if the read failed, or the page was not filled with the ASCII character data.
Checks that the page in current_task’s address space starting at addr is readable.
Panics if the read failed, or the page was filled with the ASCII character data.
Checks that the page in current_task’s address space starting at addr is unmapped.
Panics if the read succeeds, or if an error other than EFAULT occurs.
Maps a region of memory large enough for the object with PROT_READ | PROT_WRITE,
MAP_ANONYMOUS | MAP_PRIVATE and writes the object to it, returning the mapped address.
Variant of spawn_kernel_and_run() that configures the kernel with SELinux enabled.
The supplied callback is invoked with an additional argument providing test access to the
SELinux security-server.