1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source3/client
Jeff Layton 32695912dd mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog
The util-linux-ng sources have a good, but rather complex scheme for
locking the mtab before updating it. Mount helpers need to follow the
same scheme. Advisory locking only works if everyone is using the same
locking scheme.

Copy the routines we need from util-linux-ng into a separate source file
and then have mount.cifs and umount.cifs link in this object.

The long term goal is to have these routines in a separate helper
library (libmount). Mount helpers can then dynamically link in that lib.
Until that happens, this should serve as a suitable stopgap solution.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-11-06 15:07:07 -05:00
..
cifs_spnego.h cifs.upcall: bump SPNEGO msg version number and don't reject old versions 2008-08-22 13:29:16 -04:00
cifs.upcall.c cifs.upcall: make most functions static and silence compiler warnings 2008-09-12 21:13:54 -04:00
client_proto.h Remove stuff from client_proto.h 2008-05-25 11:43:56 +02:00
client.c Make use of a large buffer for smbclient put command 2008-10-23 17:46:00 +02:00
clitar.c Use {u,}int64_t instead of SMB_BIG_{U,}INT. 2008-10-14 01:59:36 +02:00
dnsbrowse.c Fix a "no prototype" warning 2007-12-19 20:48:45 +01:00
mount.cifs.c mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog 2008-11-06 15:07:07 -05:00
mount.h mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog 2008-11-06 15:07:07 -05:00
mtab.c mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog 2008-11-06 15:07:07 -05:00
smbspool.c Use separate make variables for libutil and libcrypto. 2008-10-18 14:28:40 +02:00
tree.c Fix sample gtk code. Does this compile ? 2007-12-04 18:24:19 -08:00
umount.cifs.c mount.cifs: use lock/unlock_mtab scheme from util-linux-ng mount prog 2008-11-06 15:07:07 -05:00