Stefan (metze) Metzmacher
metze at samba.org
Sun Apr 23 08:31:21 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Volker Lendecke schrieb:
> On Sun, Apr 23, 2006 at 11:41:38AM +0900, Linux wrote:
>> I'm writing a module that is extended version of vfs_audit.
>> In that module I need to keep some data storage while
>> conn is up. Then I found there's a member "data" in
>> vfs_handle_struct which seems not being used in smbd
>> sources, it just gets freed in conn_free if alloc'ed.
>> So I thought I could use it to hold malloc'ed memory storage
>> until close() gets called as module private storage.
>> Would it be problematic in some case or possibly stomping
>> "data" storage in some case?
> The data member of the vfs_handle_struct is exactly made for
also read this
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical