Linux kernel source tree reducer is a helper program to clean unused files from a project source directory. It’s main purpose is for reducing the size of a Linux Kernel source tree. This program uses the Linux inotify subsystem to monitor for accesses and modifications within a directory hierarchy. By watching which files are and are not accessed during a successful build, we can determine which files are unecessary and thus able to be removed.
From the blog post:
In Android, the Linux kernel is the crux of security. It is responsible for enforcing access control to just about everything in the system. If an attacker can gain arbitrary code execution in kernel mode, they can bypass application sandboxing, access hardware directly, and more.
- Read more: A Simple Tool for Linux Kernel Audits