summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14912: don't crash if inotify isn't present...Stefan Metzmacher1-8/+16
metze (This used to be commit 953aa7887b310117a05a59291f3770a9beb5e1eb)
2007-10-10r14877: added support for the kernel inotify mechanism. This passes basicAndrew Tridgell9-49/+586
tests, but still needs some more work to ensure we correctly cope with events that may generate both a system inotify event and a internal notify event. The system inotify events won't handle recursion, and don't understand things like streams. This also adds the ntvfs/sysdep/ directory, which is meant for system dependent code that is not tied to a particular ntvfs backend. The inotify code is a good example of that. (This used to be commit eadadbb44adb3c4081d6ff1d85a9b850a0227059)
2007-10-10r14860: create libcli/security/security.hStefan Metzmacher3-3/+3
metze (This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10r14838: fix the build. Looks like I still haven't quite got the hang of theAndrew Tridgell3-1/+3
new dependency/proto system :-) (This used to be commit 63ae3f21e3471895ba83df1c2fdc4147090f7fdb)
2007-10-10r14835: split out the config rules for the ntvfs/common/ directoryAndrew Tridgell2-5/+15
(This used to be commit 33495d19cf0263f6df5ec935f51c68bde84b1d01)
2007-10-10r14822: if we use the snum used by the lp_* functions instead of the wire TID,Stefan Metzmacher1-10/+10
then don't use tid as name... metze (This used to be commit d41d48caf209fec9f5f04d38d75277b1cfeed22f)
2007-10-10r14808: added notify_trigger() calls for rename and setfileinfo callsAndrew Tridgell2-0/+43
(This used to be commit adb4ea32e2d5506cb213ea4c0715918042fba084)
2007-10-10r14805: use tdb_lock_bystring() to prevent race conditions in notify add/removeAndrew Tridgell1-5/+56
(This used to be commit a6be44f78ca2eaecbf0b6d8598addba5a11ae966)
2007-10-10r14803: copy with the root directory, which has /. on the end of the pathAndrew Tridgell1-0/+17
(This used to be commit 16742cd28621d205f21c855e5635be1dfc3f2b69)
2007-10-10r14800: use tdb_get_seqnum() in the change notify code to avoid reloading theAndrew Tridgell1-2/+13
notify record if the tdb has not changed. This makes the notify_trigger() call much faster, which is important as it is called on just about every file operation (This used to be commit d09b8761bfda7dfbb4c7a5c4a4f4359ba01923a3)
2007-10-10r14797: added checking of the filter in notify requestsAndrew Tridgell6-10/+48
(This used to be commit 1db0a5a7f4c1ff915d91bc15d8e40cc90a78961d)
2007-10-10r14796: handle overflows in the notify buffer. The pending events are dumpedAndrew Tridgell1-4/+27
and the notify buffer removed (This used to be commit a4c0e23f9dc5049e7d6df3bf3d3ee694f715ce05)
2007-10-10r14795: queue notify requests on the same handleAndrew Tridgell1-32/+31
(This used to be commit c976f14a9f397802946a9bb36394fe4c27bf3caf)
2007-10-10r14793: the RAW-NOTIFY test now passes. Next I need to make it efficient, andAndrew Tridgell2-20/+28
add the hooks in all the other places (This used to be commit d1937589029ac2a75d15f006685769c44a274a65)
2007-10-10r14792: when we enable fake oplocks, give out batch oplocks not exclusive ↵Andrew Tridgell1-2/+2
oplocks (This used to be commit 182aee1a213c1219772895deed31e1ed8aed00c4)
2007-10-10r14755: the change notify code now passes most of the RAW-NOTIFY test. StillAndrew Tridgell4-21/+98
more work to do though (This used to be commit 4d234b37e528137b5c00f6bbb84c2d6939fea324)
2007-10-10r14736: - the ntvfs subsystem should not know about smb_server.hStefan Metzmacher16-16/+3
- the process module subsystem should not know about smb_server.h - the smb_server module should not know about process models metze (This used to be commit bac95bb8f4ad35a31ee666f5916ff9b2f292d964)
2007-10-10r14672: the async_info desctructor needs access to the private struct,Stefan Metzmacher1-0/+19
so free async info explicit... I hope to find a generic way later, so that the ntvfs modules doesn't need to take care that much... metze (This used to be commit ba3bf34a850fca52f5d6297315e33df14f62373b)
2007-10-10r14640: Fix dependencyJelmer Vernooij1-1/+1
(This used to be commit 009b56a3234b28e212fe5b2cda4f068c9a2f8707)
2007-10-10r14616: added notify change support to the posix backendAndrew Tridgell9-0/+566
It doesn't fully work yet, and doesn't yet have all the efficiency that is planned, but it doesn't break anything and I wanted to get the code in the tree to minimise the chance of collisions with the work metze is doing. (This used to be commit 1624ea88e6eef89caacc36e7513aa79df0d579b9)
2007-10-10r14615: add notify to unixuid ntvfs moduleAndrew Tridgell1-0/+14
(This used to be commit 79af976d189798bb92f5909237202ca18db1789f)
2007-10-10r14614: handle zero timers in pvfs_wait()Andrew Tridgell1-4/+4
(This used to be commit cc1f8b3ebe2dcab6f21913af9baf231f3250120e)
2007-10-10r14613: fixed ntvfs_notify_next()Andrew Tridgell1-1/+1
(This used to be commit 9bf7d322d014d0d7dc603427b233acd97fae5734)
2007-10-10r14569: Make more functions public.Jelmer Vernooij1-0/+1
(This used to be commit da0a4118189d1026e04e46cb73ba90a4a94d8819)
2007-10-10r14554: Write out header dependencies. This means all C files affected will beJelmer Vernooij1-1/+1
rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951)
2007-10-10r14548: fix build after generated prototypesAlexander Bokovoy1-0/+1
(This used to be commit 25b93e043edc21fa40928c9166764a3a7e1b1e23)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij2-1/+2
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r14541: separate smbsrv_request and ntvfs_request,Stefan Metzmacher2-5/+62
with this it's now possible to write a ntvfs_test programm like the vfstest in samba3 also smb2 support will be possible later metze (This used to be commit 7253153691e35cd206346fbd4e9b9f95c042f602)
2007-10-10r14540: fix a talloc hierachie problem,Stefan Metzmacher5-73/+108
make sure file and search handles are cleaned up before anything else in the pvfs_state struct, as there destructors reply on a valid pvfs_state struct metze (This used to be commit aaa5d377b9b6145a83c0e686c7fbb7b561ae8988)
2007-10-10r14539: get rid of a pointless union layer in struct smb_notifyAndrew Tridgell3-4/+4
(This used to be commit 1e1c5593817e84c59c1a10b5a3c1957e363e5198)
2007-10-10r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.Jelmer Vernooij1-1/+1
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10r14487: split smbsrv_request into two parts, one will be moved to ntvfs_requestStefan Metzmacher11-79/+123
but I don't to get the commit to large, to I'll do this tomorrow... metze (This used to be commit 10e627032d7d04f1ebf6efed248c426614f5aa6f)
2007-10-10r14486: remove the need of a stream_connection on a dcesrv_connection,Stefan Metzmacher1-1/+24
and let the transport set callbacks for getting the own and peer socket_address metze (This used to be commit 56fac3ddbbeecb834e5c7a439df344e11fe12a7b)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij16-14/+16
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14456: don't access the smbsrv_tcon inside the ntvfs modulesStefan Metzmacher13-103/+158
metze (This used to be commit 5709c1c4e1a561dd9af98cfefbbbdac9b18765b7)
2007-10-10r14440: demonstrate that the smbpid is attached to a session (vuid),Stefan Metzmacher1-1/+2
so SMBexit() only closes files for the given user session and the given PID can someone check if samba3 passes this test, please? metze (This used to be commit fd291ff003ed934b2163d9ad93af9ef2dd631e11)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij2-0/+3
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:Jelmer Vernooij1-3/+2
- VERSION: should contain the current version. Will be made part of the filename. - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library. Fix sonames and use them on platforms that support them Remove symlinking code. ldconfig will take care of creating the symlinks now that we set the soname. (This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10r14256: - rename smb_file -> smb_handleStefan Metzmacher13-90/+91
- move it into the in/out substructs again - allow file.path only on smb_fileinfo/smb_setfileinfo metze (This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10r14240: fix summary output (step 2)Stefan Metzmacher1-0/+2
we now need to explicit enable external libraries in *.m4 files again... metze (This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
2007-10-10r14209: don't timeout notify requests in the cifs backend, as they areAndrew Tridgell1-1/+8
intended to wait forever (This used to be commit 7d8da6611850a7eab964f02ccb1adaa8c2a4358f)
2007-10-10r14208: removed use of req->flags2 inside the ntvfs layer. This should helpAndrew Tridgell2-1/+2
metze on his quest to unify the ntvfs strucures for the smb and smb2 servers. The only place we needed flags2 inside ntvfs was for the FLAGS2_READ_PERMIT_EXECUTE bit, which only affects readx, so I added a readx.in.read_for_execute flag instead. (This used to be commit b78abbbce60ab0009da19a72dd769800c44298a2)
2007-10-10r14205: move smb specific stuff out of includes.h (finally!!!:-)Stefan Metzmacher1-0/+1
all this changes really help ccache to speed up the samba4 build:-) metze (This used to be commit 180a79d1036e54fc0c50572b820818e9aafa28e9)
2007-10-10r14174: fix typosStefan Metzmacher1-1/+1
metze (This used to be commit 29240bae4488749b3f8a2b49bccad1601d1aa184)
2007-10-10r14173: change smb interface structures to always useStefan Metzmacher20-128/+156
a union smb_file, to abtract - const char *path fot qpathinfo and setpathinfo - uint16_t fnum for SMB - smb2_handle handle for SMB2 the idea is to later add a struct ntvfs_handle *ntvfs so that the ntvfs subsystem don't need to know the difference between SMB and SMB2 metze (This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10r14157: - pass a struct ntvfs_request to the ntvfs layerStefan Metzmacher32-680/+726
(for now we just do #define ntvfs_request smbsrv_request, but it's the first step...) - rename ntvfs_openfile() -> ntvfs_open() - fix the talloc hierachie in some places in the ntvfs_map_*() code metze (This used to be commit ed9ed1f48f602354810937c0b0de850b44322191)
2007-10-10r14037: add ntvfs_next_notify()Stefan Metzmacher1-0/+12
metze (This used to be commit d4c0f8900e908bc70fd66059fc667432329abf89)
2007-10-10r14012: added support for the SMBntcancel operation in the cifs ntvfsAndrew Tridgell1-3/+35
backend. This requires keeping a list of outstanding requests so the MID can be matched. Use a talloc destructor to manage the list. (This used to be commit 6ec250f55d7b7d9c899d3c3777666a96bf8ea06c)
2007-10-10r14011: - added a ntvfs_notify op to allow backends to support change notifyAndrew Tridgell3-0/+48
- converted the nttrans server side code to be async (needed for change notify) This is the start of some work on supporting change notify via a new approach. More soon. (This used to be commit 0ad70bfd83b4a03c0e67f11f63822b833be67aa1)
2007-10-10r13969: Make these names lowercase as well (just like they are now in the ↵Jelmer Vernooij1-1/+1
buildsystem) (This used to be commit 04c49e211fc4f80e03d9322b983bbde15baba640)