Stacking IS allowed.
Posted Oct 23, 2006 18:44 UTC (Mon) by dwheeler
In reply to: Critical Linux security API is still a kludge (Inquirer)
Parent article: Critical Linux security API is still a kludge (Inquirer)
Stacking LSM modules IS allowed, just not in the way that you first consider.
When you install an LSM module, it explicitly takes over. If you want to have "stacked" modules, you need to FIRST install a "stacking" LSM module, and THEN install the other modules. The LSM interface was SPECIFICALLY designed to support this.
I wrote the first LSM stacking module. But it has now been taken over, and it's now the lsm-stacker project (I no longer have anything to do with it, other than being a fan of the concept).
Unfortunately, this module is not currently in the main kernel tree... but that is the eventual intent.
to post comments)