1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-14 12:23:52 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
Stefan Metzmacher
3f165d3114 ntvfs/sysdep: implement linux kernel oplocks based F_SETLEASE
metze
2008-03-12 17:35:06 +01:00
Stefan Metzmacher
b399f0c872 ntvfs/sysdep: add sys_lease abstraction to later support kernel oplocks
metze
2008-03-12 17:35:05 +01:00
Jelmer Vernooij
e01c1e87c0 Remove yet more uses of global_loadparm. 2008-02-21 17:17:37 +01:00
Jelmer Vernooij
18cd08623e r26672: Janitorial: Remove uses of global_loadparm. 2008-01-05 13:06:03 -06:00
Jelmer Vernooij
f1997dabed r26580: Include sentinel in build.h, in case the list is empty. 2007-12-24 01:51:07 -06:00
Jelmer Vernooij
ba8be2dfc0 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Jelmer Vernooij
3468952e77 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.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
df9cebcb97 r25035: Fix some more warnings, use service pointer rather than service number in more places. 2007-10-10 15:05:43 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Andrew Tridgell
fcf38a38ac 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.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
d49ce1d752 r23698: fixed notify:backend so it actually works again 2007-10-10 14:59:04 -05:00
Andrew Tridgell
419ef7393f r22831: take advantage of EVENT_FD_AUTOCLOSE in the inotify code 2007-10-10 14:52:21 -05:00
Volker Lendecke
3548b1f683 r21104: Rename struct watch_context to struct inotify_watch_context 2007-10-10 14:44:30 -05:00
Volker Lendecke
57979d89c5 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
2007-10-10 14:44:24 -05:00
Andrew Tridgell
31bbf865a0 r18370: allow system inotify to be disabled 2007-10-10 14:18:20 -05:00
Jelmer Vernooij
f7afa1cb77 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)
2007-10-10 14:16:54 -05:00
Simo Sorce
a89cc346b9 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
2007-10-10 14:10:18 -05:00
Andrew Tridgell
396d82a231 r15855: more talloc_set_destructor() typesafe fixes. nearly done ... 2007-10-10 14:08:33 -05:00
Jelmer Vernooij
adc8a019b6 r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Andrew Tridgell
5471b4b1a8 r15029: fixed the detection of inotify 2007-10-10 14:04:02 -05:00
Tim Potter
5e79adda7c r15017: When making up our own inotify functions, make sure glibc exports the
__NR_inotify_* syscall numbers before trying.
2007-10-10 14:04:01 -05:00
Jelmer Vernooij
d55b040bd2 r14993: Make subsystems again 2007-10-10 14:00:52 -05:00
Stefan Metzmacher
193f7da254 r14966: make more functions _PUBLIC_
metze
2007-10-10 14:00:47 -05:00
Stefan Metzmacher
a3e1d56cf7 r14964: - move sidmap code from ntvfs_common to SAMDB
- make ntvfs_common a library
- create sys_notify library

metze
2007-10-10 14:00:47 -05:00
Andrew Tridgell
16fd00925f 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
2007-10-10 14:00:45 -05:00
Andrew Tridgell
b80523a631 r14948: add testing of truncate events, and add truncate support to inotify
backend
2007-10-10 14:00:21 -05:00
Andrew Tridgell
74c274ea07 r14943: bring the inotify backend up to date with all the strange rename
semantics
2007-10-10 14:00:20 -05:00
Andrew Tridgell
13574a8d0c 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
2007-10-10 14:00:17 -05:00
Andrew Tridgell
2ac248edf0 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
2007-10-10 14:00:17 -05:00
Andrew Tridgell
7c3d989fa4 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.
2007-10-10 14:00:17 -05:00
Andrew Tridgell
cf17ff15b1 r14918: cleaner handling of systems without inotify 2007-10-10 14:00:16 -05:00
Stefan Metzmacher
953aa7887b r14912: don't crash if inotify isn't present...
metze
2007-10-10 14:00:15 -05:00
Andrew Tridgell
eadadbb44a 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.
2007-10-10 14:00:11 -05:00