summaryrefslogtreecommitdiff
path: root/source4/ntvfs/sysdep/inotify.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-13rely on sys/inotify.h for inotifyAdrian Bunk1-28/+1
sys/inotify.h was added to glibc 2.4 in 2006. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 13 21:15:00 CEST 2012 on sn-devel-104
2011-06-20libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett1-3/+3
The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
2009-01-03s4:sysdep/inotify: use tevent_fd_set_auto_close()Stefan Metzmacher1-3/+17
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-11-02Remove last instance of global_loadparm.Jelmer Vernooij1-4/+0
2008-10-30use glibc sys/inotify.h headerAndrew Tridgell1-0/+5
when we first added the inotify code glibc didn't have the inotify functions yet. Now that it does we can use the official header and avoid the asm/unistd.h syscall workaround
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij1-5/+4
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
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-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
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-10r22831: take advantage of EVENT_FD_AUTOCLOSE in the inotify codeAndrew Tridgell1-12/+1
(This used to be commit 419ef7393f9208e274745808980e0342e2e65a37)
2007-10-10r21104: Rename struct watch_context to struct inotify_watch_contextVolker Lendecke1-8/+9
(This used to be commit 3548b1f683a7f5ccc6563de7e099d3a5a86ed39c)
2007-10-10r21041: Change some "private" to "private_data", and change one (void **) ↵Volker Lendecke1-12/+16
function parameter to (void *). void** in function parameters leads to type-punned warnings. Volker (This used to be commit 57979d89c53b4363e4b447205703579df6756653)
2007-10-10r18370: allow system inotify to be disabledAndrew Tridgell1-0/+4
(This used to be commit 31bbf865a069f902dc979f469aec896d3d34422c)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-2/+2
* 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-10r15855: more talloc_set_destructor() typesafe fixes. nearly done ...Andrew Tridgell1-4/+2
(This used to be commit 396d82a231b6e3a91178db08b706626d4d4b420c)
2007-10-10r14964: - move sidmap code from ntvfs_common to SAMDBStefan Metzmacher1-1/+1
- make ntvfs_common a library - create sys_notify library metze (This used to be commit a3e1d56cf7b688c515f5d6d4d43e0b24c2261d15)
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-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-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-10r14920: allow a notify backend to separately specify if it has handled theAndrew Tridgell1-8/+14
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 Tridgell1-1/+1
(This used to be commit cf17ff15b15942f0ce068dd0a94b3b565a9b93cb)
2007-10-10r14877: added support for the kernel inotify mechanism. This passes basicAndrew Tridgell1-0/+313
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)