Re: Out of tree module using LSM

From: Jan Engelhardt
Date: Thu Nov 29 2007 - 11:53:46 EST



On Nov 29 2007 08:47, Greg KH wrote:
>On Thu, Nov 29, 2007 at 11:36:12AM -0500, Jon Masters wrote:
>> On Wed, 2007-11-28 at 17:07 -0800, Greg KH wrote:
>>
>> > The easiest way is as Al described above, just have the userspace
>> > program that wrote the file to disk, check it then.
>>
>> But the problem is that this isn't just Samba, this is a countless
>> myriad of different applications. And if one of them doesn't support
>> on-access scanning, then the whole solution isn't worth using.
>
>Ok, which specific applications do they care about? Last time I asked
>it was still limited to a very small handful, all of which would be
>trivial to add such a hook to.
>
Well, think bash, syscalls. While you can add a plugin to samba "easily",
it seems overkill to do the same for rm, mv, cp, bash.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/