[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111223145014.4bb74f30@pyx>
Date: Fri, 23 Dec 2011 14:50:14 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: "John Stoffel" <john@...ffel.org>
Cc: Gaurav Saxena <grvsaxena419@...il.com>,
richard -rw- weinberger <richard.weinberger@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: Intercepting system calls
> Write a FUSE module to mount the filesystem through, inside your FUSE
> module you can intercept the unlink/truncate/write calls and decide
> what you want to have happen.
Using fanotify and/or a custom security module (or selinux rules) might
well also be a cleaner way to do it, depending what is actually intended.
Trying to do stuff like archive 'old versions' isn't just about unlink
however because many programs update the inplace file rather than
unlink/replace.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists