1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

93 Commits

Author SHA1 Message Date
Jelmer Vernooij
14023e502b Require explicit event context rather than looking if it is not specified.
(This used to be commit 1da0063bd5)
2008-04-17 01:22:39 +02:00
Jelmer Vernooij
c15ffa27cb Explicitly require event context to be specified.
(This used to be commit a95a71fe45)
2008-04-17 01:19:53 +02:00
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
f78bc8c489 Remove prototypes from build.h in preparation of removing build.h
altogether.
(This used to be commit dbeab2a9cd)
2008-04-14 11:54:50 +02:00
Jelmer Vernooij
18d80bdf1f Merge v4.0-test
(This used to be commit 977dbdeaf3)
2008-03-28 00:44:14 +01:00
Stefan Metzmacher
d93f2f2e80 ntvfs/sysdep: implement linux kernel oplocks based F_SETLEASE
metze
(This used to be commit 3f165d3114)
2008-03-12 17:35:06 +01:00
Stefan Metzmacher
c3643d0ec8 ntvfs/sysdep: add sys_lease abstraction to later support kernel oplocks
metze
(This used to be commit b399f0c872)
2008-03-12 17:35:05 +01:00
Jelmer Vernooij
fb6fdfce37 Fix the build.
(This used to be commit f2e4974471)
2008-03-08 17:02:40 +01:00
Jelmer Vernooij
2bf39edc9d Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
b29d47edcf Move object file lists to the Makefile.
(This used to be commit a7e6d2a183)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
c38c2765d1 Remove yet more uses of global_loadparm.
(This used to be commit e01c1e87c0)
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
df408d056e r26672: Janitorial: Remove uses of global_loadparm.
(This used to be commit 18cd08623e)
2008-01-05 13:06:03 -06:00
Jelmer Vernooij
c13ae70731 r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
2f3551ca7c r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e77)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
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 fcf38a38ac)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
d1984d5cf3 r23698: fixed notify:backend so it actually works again
(This used to be commit d49ce1d752)
2007-10-10 14:59:04 -05:00
Andrew Tridgell
bf27e58c2f r22831: take advantage of EVENT_FD_AUTOCLOSE in the inotify code
(This used to be commit 419ef7393f)
2007-10-10 14:52:21 -05:00
Volker Lendecke
4da372c906 r21104: Rename struct watch_context to struct inotify_watch_context
(This used to be commit 3548b1f683)
2007-10-10 14:44:30 -05:00
Volker Lendecke
1fbb49a3e7 r21041: Change some "private" to "private_data", and change one (void **) function
parameter to (void *). void** in function parameters leads to type-punned
warnings.

Volker
(This used to be commit 57979d89c5)
2007-10-10 14:44:24 -05:00
Andrew Tridgell
c4aaa094e7 r18370: allow system inotify to be disabled
(This used to be commit 31bbf865a0)
2007-10-10 14:18:20 -05:00
Jelmer Vernooij
0329d755a7 r17930: Merge noinclude branch:
* 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 f7afa1cb77)
2007-10-10 14:16:54 -05:00
Simo Sorce
9c66f601f1 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
(This used to be commit a89cc346b9)
2007-10-10 14:10:18 -05:00
Andrew Tridgell
92acfc0799 r15855: more talloc_set_destructor() typesafe fixes. nearly done ...
(This used to be commit 396d82a231)
2007-10-10 14:08:33 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6)
2007-10-10 14:04:18 -05:00
Andrew Tridgell
3979da11a4 r15029: fixed the detection of inotify
(This used to be commit 5471b4b1a8)
2007-10-10 14:04:02 -05:00
Tim Potter
bfa8d64909 r15017: When making up our own inotify functions, make sure glibc exports the
__NR_inotify_* syscall numbers before trying.
(This used to be commit 5e79adda7c)
2007-10-10 14:04:01 -05:00
Jelmer Vernooij
fd4a8ad8c3 r14993: Make subsystems again
(This used to be commit d55b040bd2)
2007-10-10 14:00:52 -05:00
Stefan Metzmacher
7672505c72 r14966: make more functions _PUBLIC_
metze
(This used to be commit 193f7da254)
2007-10-10 14:00:47 -05:00
Stefan Metzmacher
2e894625e7 r14964: - move sidmap code from ntvfs_common to SAMDB
- make ntvfs_common a library
- create sys_notify library

metze
(This used to be commit a3e1d56cf7)
2007-10-10 14:00:47 -05:00
Andrew Tridgell
127967334f r14956: change the notify search to be much more efficient by using a
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 16fd00925f)
2007-10-10 14:00:45 -05:00
Andrew Tridgell
b5ee277f1a r14948: add testing of truncate events, and add truncate support to inotify
backend
(This used to be commit b80523a631)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
ee2fb760af r14943: bring the inotify backend up to date with all the strange rename
semantics
(This used to be commit 74c274ea07)
2007-10-10 14:00:20 -05:00
Andrew Tridgell
1dee94c333 r14926: change the inotify backend to implement the rather unusual semantics
for rename. The cookies in inotify tell us (indirectly!) if its a
rename between directories or not
(This used to be commit 13574a8d0c)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
930e247d56 r14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events for
renames, if in the same directory. For renames between directories
generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED
(This used to be commit 2ac248edf0)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
416d7b4210 r14920: allow a notify backend to separately specify if it has handled the
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 7c3d989fa4)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
a9cb173f76 r14918: cleaner handling of systems without inotify
(This used to be commit cf17ff15b1)
2007-10-10 14:00:16 -05:00
Stefan Metzmacher
770edafbf2 r14912: don't crash if inotify isn't present...
metze
(This used to be commit 953aa7887b)
2007-10-10 14:00:15 -05:00
Andrew Tridgell
6d98076c15 r14877: added support for the kernel inotify mechanism. This passes basic
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 eadadbb44a)
2007-10-10 14:00:11 -05:00