Count bytes with audit module?

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Dec 11 17:01:03 GMT 2008


On Thu, Dec 11, 2008 at 08:53:15AM -0800, Jeremy Allison wrote:
> On Thu, Dec 11, 2008 at 08:44:52AM -0800, JPDeFault wrote:
> > 
> > Hi there.
> > After tweaking various VFS modules, I was wondering... would it be possible
> > to modify the audit vfs module in order to know how many bytes have been
> > read by a user?
> 
> Should be possible, just add a count to all the
> read functions.

pread is all we use :-)

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081211/cf0e63df/attachment.bin


More information about the samba-technical mailing list