On Wed, Apr 23, 2003 at 02:20:38PM +0200, Nir Livni wrote:
> My goal is to write a driver that runs above the filesystem driver, and
> filters calls to this driver.
> Actually, it should pass all calls to the filesystem driver, except very few
> that it should fail for "Access Denied". Are there any simple examples for
> that matter ?
A. Sounds like it could be implemented using the LSM (linux security
modules) framework, assuming the appropriate hooks are in place.
B. The May 2003 Linux Journal issue has an article on "Writing
Stackable Filesystems" by Erez Zadok, which might fit your needs
better.
Hope this helps,
Muli.
-- Muli Ben-Yehuda http://www.mulix.org
This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:36 EST