summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/pvfs_notify.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-13s4:ntvfs: use tevent_ fn names instead of legacy event_ onesSimo Sorce1-1/+1
2010-05-18s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett1-0/+4
I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett
2010-05-14s4:ntvfs Prepare for a possible future sharing of notify.idlAndrew Bartlett1-0/+4
I would love for notify.idl to be shared between Samba4 and Samba3 some day, and this seems to be the point at which the structure is initialised. Andrew Bartlett
2009-06-05fixed handling of change notify buffer overrunsAndrew Tridgell1-2/+9
When the notify buffer overruns and there are no pending notify requests, the notify buffer doesn't actually get destroyed, it just gets put in a state where new notifies are discarded and the next notify change request will return 0 changes.
2009-02-02s4:ntvfs/posix: s/private/private_dataStefan Metzmacher1-4/+4
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-02-25pvfs_wait: use struct pvfs_wait * instead of void *Stefan Metzmacher1-3/+5
metze (This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-7/+7
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r17088: add ntvfs mapping function for notifyStefan Metzmacher1-1/+1
metze (This used to be commit 7daf432d58ecebd10a28acd3ddbded9cb16536d0)
2007-10-10r17087: - make pvfs_notify_next_send staticStefan Metzmacher1-4/+2
- fix double free: a talloc_reference(a,b) when a is a child of b doesn't prevent talloc_free(b) from destroiying a and b. metze (This used to be commit 41acbc6645cc22d7f5f061dc5eda9b938ca018ba)
2007-10-10r16980: - make struct smb_notify a union and add levels ↵Stefan Metzmacher1-11/+15
RAW_NOTIFY_NTTRANS,RAW_NOTIFY_SMB2 - parse SMB2 Notify reponse metze (This used to be commit de50e0ccddfad16ad7b254770f4c52c1abe707b9)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell1-2/+1
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r15825: there are quite subtle semantics with change notify events being sentAndrew Tridgell1-8/+34
when a context (such as a tree connect) is destroyed. The behaviour was changed by the ntvfs memory leak fix, and this patch is needed to make it all work again. (This used to be commit a7ad4df7cd6cdf88fd49698840a072a4474a318a)
2007-10-10r15734: This is a major change to the NTVFS subsystem:Stefan Metzmacher1-1/+1
- to use a struct ntvfs_handle instead of a uint16_t fnum. (to make it independend from the frontend protocol) - the allocation of handles now is provided by the frontend (smbsrv_*) via callbacks and not by each backend module - this also makes sure that file handles are only passed to the ntvfs subsystem when the tcon and session matches, so modules can rely on this and need to check this. - this allows multiple modules in the ntvfs module chain to allocate file handles. This can be used for virtual files like "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION"... - also this will make SMB2 with 128 bit file handles possible metze (This used to be commit 287fc1c22d670f6e568014b420f7f4cb31dc7958)
2007-10-10r14990: talloc_reference() can failStefan Metzmacher1-0/+1
metze (This used to be commit 4410d7ea5d356f9a04f419f7254a60c20b1345c0)
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-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-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 Tridgell1-1/+5
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-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 Tridgell1-20/+26
add the hooks in all the other places (This used to be commit d1937589029ac2a75d15f006685769c44a274a65)
2007-10-10r14755: the change notify code now passes most of the RAW-NOTIFY test. StillAndrew Tridgell1-12/+77
more work to do though (This used to be commit 4d234b37e528137b5c00f6bbb84c2d6939fea324)
2007-10-10r14616: added notify change support to the posix backendAndrew Tridgell1-0/+141
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)