Re: functions that are responsible for copying/reading
x9nx at mail.ru
Tue Jun 7 18:54:18 MDT 2011
Tue, 07 Jun 2011 19:39:10 -0500 письмо от "Christopher R. Hertel" <crh at ubiqx.mn.org>:
> Buratino wrote:
> > Good daytime gentlemen.
> > 1. Where can i find functions that are responsible for copying/reading
> files and are those calls distinct.
> > Sincerely,
> > Buratino
> Client or server side?
> That is, do you mean the client reading and writing via the SMB connection
> to an opened file or do you mean the server reading and writing to/from the
> open file on the local disk?
> If you want to see how clients handle reading and writing, I would recommend
> looking at the jCIFS client code: http://jcifs.samba.org/
> Chris -)-----
> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
> Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
> ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
Server side. The idea is adding a constant list of nodes it will deny copying operations from.
Maybe i will have to distinct by caller though. like a hash or so.
I am looking into smbd/open.c
More information about the samba-technical