When being explicit is too much hassle
The real result, however, was that real-world security modules were bloated by boilerplate stub implementations of dozens of unused hooks. It also was difficult to make modules portable across multiple kernel versions. Greg Kroah-Hartman finally got tired of all this, and posted a patch which removes the "implement all hooks" requirement. There has not been any real opposition to this change; it will likely go to Linus soon.
Security issues often go this way. The real-world costs of proposed
security regimes reach a level where they outweigh the benefits. At that
point, the best thing to do can be to back off before people start to
develop unofficial ways around overly onerous requirements.
