summaryrefslogtreecommitdiff
path: root/source3/locking/locking_slow.c
AgeCommit message (Collapse)AuthorFilesLines
1997-11-29don't display locks for dead processes in smbstatusAndrew Tridgell1-2/+4
(This used to be commit c7df484ef6d746fb1f5b53007ee04fa54e5f2223)
1997-10-27change the default file permissions on the SHARE_MEM_FILE* toAndrew Tridgell1-14/+25
0644. smbstatus now gets only read permission on the share files and does no locking. also get rid of some unnecessary umask(0) calls. smbd always runs with umask(0) (This used to be commit c6ac10170dbba57dfebc54c50d79cb29d13bb442)
1997-10-20a major share modes reorganisation.Andrew Tridgell1-0/+1039
The shares modes code is now split into separate files. The shared memory implementation is in locking_shm.c. The slow implementation is in locking_slow.c It is all controlled by a struct share_ops structure that has function pointers to the implementation of all the functions needed by a share modes implementation. An initialisation function sets up this structure. This will make adding new implementations easy and clean. This also allowed me to get rid of the ugly code in smbstatus. Now status.c links to the locking code and calls methods in share_ops. I also renamed some things and generally organised things in a much cleaner fashion. Defines and structures specific to each implementation have been moved to the appropriate file and out of smb.h. (This used to be commit 65ab9adaa0d356b8041ed8a507ea52117f2a284e)