summaryrefslogtreecommitdiff
path: root/source4/ntvfs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename isJames Peach12-85/+30
"." for "..". These express the intention better that strcmp or strequal and improve searchability via cscope/ctags. (This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10r15185: Force all NTVFS modules to provide a critical sizes structure soJames Peach8-12/+27
the version information can be checked when modules are registered. (This used to be commit 95eb55806339fc5409c0adf137ebd5bffd7098ac)
2007-10-10r15184: Declare ntvfs_register with a typed ops pointer.James Peach1-2/+1
(This used to be commit bf946e6d6d3de1384588a687e15e030f3b1806f0)
2007-10-10r15183: Hoist the critical sizes initialiser into a header so that modulesJames Peach2-9/+48
can have standard access to critical sizes. Add a convenience function to determine whether two critical sizes differ. (This used to be commit 7ced96d2d348701734cc4cdf3f8899dbce8cd0f7)
2007-10-10r15118: - do access checks also when the owner and group are not changedStefan Metzmacher1-19/+28
- only call chown/fchown when we want to change something metze (This used to be commit 46b3096d938331a2339a876649bc6cbfec883cb2)
2007-10-10r15117: add more commentsStefan Metzmacher1-1/+7
metze (This used to be commit d76f3e2fb61317633876afc90c1cea1130e58dea)
2007-10-10r15078: add TODO about setting the full ACL with an NTTRANS_CREATEStefan Metzmacher1-1/+1
metze (This used to be commit bd2c899d83615066fbd1332495a4610eeea8f8ee)
2007-10-10r15071: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit fde8922947551f5f7d50607c5c83feba062138c8)
2007-10-10r15069: - don't crash on a NULL aclStefan Metzmacher1-1/+9
- add the correct access checks for changing sd->group and sd->dacl metze (This used to be commit 2a61f65cd4084bf690caccf87efaf46551a13aee)
2007-10-10r15057: fix access masks for getting and setting security_descriptorsStefan Metzmacher2-8/+25
I'll add some torture tests later... metze (This used to be commit ce045f4df37b6740f2bf849fd06ab51c682ea0b7)
2007-10-10r15056: w2k3 gives NT_STATUS_ACCESS_DENIED instead of NT_STATUS_ACCESS_VIOLATIONStefan Metzmacher1-4/+2
metze (This used to be commit 5c1d96b36f14538360d90afc76ddba59d4feee1b)
2007-10-10r15048: started on the server side implementation of oplocks. The code is notAndrew Tridgell3-40/+120
functional yet, I'm committing so it doesn't diverge too much from other peoples work. It is disabled by default. (This used to be commit ba0b8a218dfe1ef6cdf7de724fb30650301369dd)
2007-10-10r15029: fixed the detection of inotifyAndrew Tridgell1-2/+2
(This used to be commit 5471b4b1a812dad3c97c97b938bd2dc41ae32420)
2007-10-10r15017: When making up our own inotify functions, make sure glibc exports theTim Potter1-1/+7
__NR_inotify_* syscall numbers before trying. (This used to be commit 5e79adda7c7e00c194efd1a5e57671f7bd34fe50)
2007-10-10r14993: Make subsystems againJelmer Vernooij2-9/+2
(This used to be commit d55b040bd280c86423f2a620dfc0341accb23cc4)
2007-10-10r14990: talloc_reference() can failStefan Metzmacher1-0/+1
metze (This used to be commit 4410d7ea5d356f9a04f419f7254a60c20b1345c0)
2007-10-10r14966: make more functions _PUBLIC_Stefan Metzmacher2-26/+26
metze (This used to be commit 193f7da254cce40ab30fda9e99b8cd07e0b0a0a8)
2007-10-10r14964: - move sidmap code from ntvfs_common to SAMDBStefan Metzmacher15-603/+105
- make ntvfs_common a library - create sys_notify library metze (This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)
2007-10-10r14963: check talloc returnsAndrew Tridgell1-2/+13
(This used to be commit dd928e84ece04d35144befeda7a9b9dd597e4cf7)
2007-10-10r14961: fix compiler warningStefan Metzmacher1-2/+4
tridge: please add checks after talloc_realloc() and talloc_strdup()! metze (This used to be commit c136191870f91d4ce652da535a1cd52f4772574d)
2007-10-10r14960: don't declare variables mid-functionAndrew Tridgell1-1/+2
(This used to be commit 4537de9289ce025a240fe46a708434c195138d20)
2007-10-10r14959: allow change notify to be disabled completely usingAndrew Tridgell2-3/+20
notify:enable=False (This used to be commit 2a8f093105f3047a3697f29aadcc9c48c6ac88e1)
2007-10-10r14956: change the notify search to be much more efficient by using aAndrew Tridgell2-84/+167
per-depth bisection search. This makes the notify_trigger() call log(N) which makes us scale well for large numbers of outstanding notifies (This used to be commit 16fd00925fdbf77e7a403ad501bf6ea429404c76)
2007-10-10r14951: - remove unused var 'path'Stefan Metzmacher1-12/+7
- fix compiler warning metze (This used to be commit 4d7de8b251e006a469adf2793dae422e128844c5)
2007-10-10r14948: add testing of truncate events, and add truncate support to inotifyAndrew Tridgell1-2/+5
backend (This used to be commit b80523a631ec57c7d19e9a23dca4594d71036138)
2007-10-10r14947: add support for file truncate eventsAndrew Tridgell1-5/+8
(This used to be commit ed1b90407d8ef6e0216931cb3a89cc9a7789ead2)
2007-10-10r14945: allow the notify backend to be specified per shareAndrew Tridgell2-3/+4
(This used to be commit 467027e7730a3bc56f152df7e2ec272905e19584)
2007-10-10r14943: bring the inotify backend up to date with all the strange renameAndrew Tridgell1-16/+82
semantics (This used to be commit 74c274ea072fc45debaafd438ff63321b38a1448)
2007-10-10r14941: a rename of a file (but not a directory) triggers 3 events. The firstAndrew Tridgell1-1/+11
two are the rename (FROM and TO) then the 3rd event is a modify event of both attributes and creation time. (This used to be commit 010a1b14a58c0194e1f8bba29f4d02a86b7559c5)
2007-10-10r14939: don't use a void pointerStefan Metzmacher1-1/+1
metze (This used to be commit 03906b2b13c000ad9683f6bb1e336075655e1367)
2007-10-10r14933: fix the handling of notify filters to be much closer to the behaviourAndrew Tridgell7-35/+37
of w2k3. The behaviour is particularly tricky for rename. (This used to be commit 4d3b8d95498a328ffc08ecb62d9531b6bfe4e2b5)
2007-10-10r14932: ensure that we send a NOTIFY_ACTION_OLD_NAME andAndrew Tridgell1-2/+4
NOTIFY_ACTION_NEW_NAME together to the client. (This used to be commit d58011b0f35c3299f35ba9d72a7b9b9b17253511)
2007-10-10r14928: demonstrate that the completion filter is only set on the first notifyAndrew Tridgell1-0/+2
on a directory handle (This used to be commit b6e40d9b0832fbab662f9289a30c26e2576b4821)
2007-10-10r14926: change the inotify backend to implement the rather unusual semanticsAndrew Tridgell1-4/+28
for rename. The cookies in inotify tell us (indirectly!) if its a rename between directories or not (This used to be commit 13574a8d0c7228bf36a6debe4853f693c9f8f543)
2007-10-10r14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events forAndrew Tridgell3-37/+59
renames, if in the same directory. For renames between directories generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED (This used to be commit 2ac248edf05c3ee715165f2b33055de480743e87)
2007-10-10r14924: when handling recursive change notify, the client expects a windowsAndrew Tridgell1-0/+1
path name back (This used to be commit ceb85d12f7efb002af7a271f999e22f94b8536fb)
2007-10-10r14920: allow a notify backend to separately specify if it has handled theAndrew Tridgell5-55/+93
given mask for the current directory and sub-directories. This allows us to setup the less efficient internal handling for subdirectories, while using the kernel inotify service for the current directory if available. It also allows inotify to handle only some of the filter bits, leaving the other filter bits for the user space handler. (This used to be commit 7c3d989fa44c7f57853a825337159f476d7dff80)
2007-10-10r14918: cleaner handling of systems without inotifyAndrew Tridgell3-25/+38
(This used to be commit cf17ff15b15942f0ce068dd0a94b3b565a9b93cb)
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)