ddiss/samba.git
16 years agor15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew...
Alexander Bokovoy [Mon, 24 Apr 2006 15:51:31 +0000 (15:51 +0000)]
r15208: Change _GNU_SOURCE propagation to apply only to generated files as Andrew B. suggests
(This used to be commit 9b99d4d3d59dcd4f75e7220f4c430a2c24af8920)

16 years agor15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
Jelmer Vernooij [Mon, 24 Apr 2006 15:47:59 +0000 (15:47 +0000)]
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)

16 years agor15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in...
Alexander Bokovoy [Mon, 24 Apr 2006 15:12:21 +0000 (15:12 +0000)]
r15206: Heimdal is always compiled with _GNU_SOURCE enabled (in its configure.in it is defined unconditionally).
However, the lex-generated files don't fetch config.h's definition of _GNU_SOURCE before including
features.h because of preamble added by lex which already includes some system headers which in turn
include features.h. Therefore, we need to specify it explicitly on comand line.

This change adds some 'noise' (_GNU_SOURCE already defined ...) but it is neccessary to get samba4 to
compile successfuly on Maemo.
(This used to be commit cd7307c099ace123d840459da39a49ccf3872267)

16 years agor15205: Allow additional LDFLAGS, fixes #3961.
Jelmer Vernooij [Mon, 24 Apr 2006 14:59:30 +0000 (14:59 +0000)]
r15205: Allow additional LDFLAGS, fixes #3961.
(This used to be commit 4dc3d8551d0a3cd0edcbbc90d2dbf8fc249b3017)

16 years agor15204: Fix MD5Update prototype
Jelmer Vernooij [Mon, 24 Apr 2006 14:53:03 +0000 (14:53 +0000)]
r15204: Fix MD5Update prototype
(This used to be commit d2819d4e1f73675925d292c0558cb663779a5a6a)

16 years agor15203: Allow system 'bool' type to be defined in another header then stdbool.h
Jelmer Vernooij [Mon, 24 Apr 2006 14:52:37 +0000 (14:52 +0000)]
r15203: Allow system 'bool' type to be defined in another header then stdbool.h
(This used to be commit a5a648de94014b13da3af8dfac06380c9ec26c53)

16 years agor15202: Don't derefence NULL pointers - found by the IBM Checker
Jelmer Vernooij [Mon, 24 Apr 2006 14:41:13 +0000 (14:41 +0000)]
r15202: Don't derefence NULL pointers - found by the IBM Checker
(This used to be commit f6a3e8b69d2a303e7e4f8924e6735c4e168a363a)

16 years agor15201: Use abs() rather then ABS()
Jelmer Vernooij [Mon, 24 Apr 2006 14:20:44 +0000 (14:20 +0000)]
r15201: Use abs() rather then ABS()
(This used to be commit 1f3833d041fddaf79cd19d4f236780a02e97f095)

16 years agor15200: Move MIN/MAX macros to libreplace as some systems have them
Jelmer Vernooij [Mon, 24 Apr 2006 14:09:07 +0000 (14:09 +0000)]
r15200: Move MIN/MAX macros to libreplace as some systems have them
in sys/param.h
(This used to be commit 3f0396aade82a92a375275059baf8500de1b23f0)

16 years agor15199: Try to make these prototypes match, to get the build on S390 linux going.
Andrew Bartlett [Mon, 24 Apr 2006 13:55:21 +0000 (13:55 +0000)]
r15199: Try to make these prototypes match, to get the build on S390 linux going.

Andrew Bartlett
(This used to be commit db6746d456fb3963898170df36642c3f0882f42b)

16 years agor15192: Update Samba4 to use current lorikeet-heimdal.
Andrew Bartlett [Mon, 24 Apr 2006 09:36:24 +0000 (09:36 +0000)]
r15192: Update Samba4 to use current lorikeet-heimdal.

Andrew Bartlett
(This used to be commit f0e538126c5cb29ca14ad0d8281eaa0a715ed94f)

16 years agor15191: Avoid uint_t as it's not standard.
Jelmer Vernooij [Mon, 24 Apr 2006 09:36:09 +0000 (09:36 +0000)]
r15191: Avoid uint_t as it's not standard.
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)

16 years agor15190: Disable sonames for the BSDs and solaris as they don't take more then
Jelmer Vernooij [Mon, 24 Apr 2006 09:34:22 +0000 (09:34 +0000)]
r15190: Disable sonames for the BSDs and solaris as they don't take more then
one version number (0 rather then 0.0.1)
(This used to be commit cb0fbee3eaca67e430df3266c6ce07c0a9248a60)

16 years agor15189: Add parentheses to force ISDOt and ISDOTDOT evaluation order. Fix typo
James Peach [Mon, 24 Apr 2006 02:36:55 +0000 (02:36 +0000)]
r15189: Add parentheses to force ISDOt and ISDOTDOT evaluation order. Fix typo
that made the BASE-DIR2 test fail.
(This used to be commit dcebc59a987b3c0d8379912d0451dedb9e895451)

16 years agor15188: Restore svn rev. 15183, 15184 and 15185, which I inadvertantly clobbered
James Peach [Mon, 24 Apr 2006 01:26:31 +0000 (01:26 +0000)]
r15188: Restore svn rev. 15183, 15184 and 15185, which I inadvertantly clobbered
in r15186. I don't think I should be allowed to use quilt and svn at the
same time any more :(
(This used to be commit e0ca5ead27743c84f5d9310a05d6d718862ead1d)

16 years agor15187: Introduce new param type P_BYTES. This lets config options which specify
James Peach [Mon, 24 Apr 2006 00:38:53 +0000 (00:38 +0000)]
r15187: Introduce new param type P_BYTES. This lets config options which specify
byte counts be given in convenient units.
(This used to be commit 1b8891a2f389c1016c3cfcbe635ed86d015554d8)

16 years agor15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
James Peach [Mon, 24 Apr 2006 00:16:51 +0000 (00:16 +0000)]
r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
(This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)

16 years agor15185: Force all NTVFS modules to provide a critical sizes structure so
James Peach [Sun, 23 Apr 2006 23:44:14 +0000 (23:44 +0000)]
r15185: Force all NTVFS modules to provide a critical sizes structure so
the version information can be checked when modules are registered.
(This used to be commit 95eb55806339fc5409c0adf137ebd5bffd7098ac)

16 years agor15184: Declare ntvfs_register with a typed ops pointer.
James Peach [Sun, 23 Apr 2006 23:42:23 +0000 (23:42 +0000)]
r15184: Declare ntvfs_register with a typed ops pointer.
(This used to be commit bf946e6d6d3de1384588a687e15e030f3b1806f0)

16 years agor15183: Hoist the critical sizes initialiser into a header so that modules
James Peach [Sun, 23 Apr 2006 23:40:53 +0000 (23:40 +0000)]
r15183: Hoist the critical sizes initialiser into a header so that modules
can have standard access to critical sizes. Add a convenience function
to determine whether two critical sizes differ.
(This used to be commit 7ced96d2d348701734cc4cdf3f8899dbce8cd0f7)

16 years agor15182: make stuff more portable
Stefan Metzmacher [Sun, 23 Apr 2006 22:45:54 +0000 (22:45 +0000)]
r15182: make stuff more portable

metze
(This used to be commit 2b0ce388a4d955ce9bf0cdb00a13cd82f8acc87d)

16 years agor15181: Don't try kerberos sign/seal when in SSL
Simo Sorce [Sun, 23 Apr 2006 17:22:32 +0000 (17:22 +0000)]
r15181: Don't try kerberos sign/seal when in SSL
(This used to be commit 3be3b1130c41e8e372531c137c46f91c5c0acf98)

16 years agor15179: Detect setproctitle if it is in libc. Patch by Timur Bakevey
Jelmer Vernooij [Sun, 23 Apr 2006 15:34:47 +0000 (15:34 +0000)]
r15179: Detect setproctitle if it is in libc. Patch by Timur Bakevey
(This used to be commit 3ebdae4217be9c00150ae4ceb76c94ba619bbf6a)

16 years agor15178: Fix ldb function calls after big swig rename.
Tim Potter [Sun, 23 Apr 2006 15:30:40 +0000 (15:30 +0000)]
r15178: Fix ldb function calls after big swig rename.

Add close() methods to Ldb and LdbMessage classes.

Start adding dict interface to LdbMessage.
(This used to be commit 8be846a3c3e963a3c1a1fc819bd5c0b1db5e6865)

16 years agor15177: Wrap ldb_strerror() function.
Tim Potter [Sun, 23 Apr 2006 15:29:25 +0000 (15:29 +0000)]
r15177: Wrap ldb_strerror() function.
(This used to be commit af2b709f940fb18649ba279e2d9df37f44ab0162)

16 years agor15176: Ensure we don't segfault when we try and delete @FOO records.
Andrew Bartlett [Sun, 23 Apr 2006 11:25:02 +0000 (11:25 +0000)]
r15176: Ensure we don't segfault when we try and delete @FOO records.

Don't try and steal the result of a search on failure, it has already
been talloc_free()'ed by the ildb code.

Andrew Bartlett
(This used to be commit a99bd2e033501954aca8f35afe8a7f2bbfadf6b7)

16 years agor15157: Systems with argv limits can't handle the full list of $(DEP_FILE). Replace
James Peach [Fri, 21 Apr 2006 00:14:57 +0000 (00:14 +0000)]
r15157: Systems with argv limits can't handle the full list of $(DEP_FILE). Replace
with the (hopefuly) equivalent find/rm sequence.
(This used to be commit 2bce5c9465ebd245d153196fbedd764378c36827)

16 years agor15156: For some reason, ln -sf doesn't appear to work as expected on IRIX. Replace
James Peach [Fri, 21 Apr 2006 00:07:50 +0000 (00:07 +0000)]
r15156: For some reason, ln -sf doesn't appear to work as expected on IRIX. Replace
this with an explicit rm.
(This used to be commit ed33a140044c301f23b1bccbc334dd0e163647ed)

16 years agor15155: Add strsep replacement from heimdal 0.7.2 for systems that don't
James Peach [Fri, 21 Apr 2006 00:04:21 +0000 (00:04 +0000)]
r15155: Add strsep replacement from heimdal 0.7.2 for systems that don't
have strsep in libc.
(This used to be commit 76dea9f68ca9be909c45979c9e5510133e4f2264)

16 years agor15149: fix typo
Stefan Metzmacher [Thu, 20 Apr 2006 12:11:09 +0000 (12:11 +0000)]
r15149: fix typo

metze
(This used to be commit b00d524ef73e2fffd81ef3a8cdd242feda10f59d)

16 years agor15148: make wreplsrv_pull_names static
Stefan Metzmacher [Thu, 20 Apr 2006 12:00:38 +0000 (12:00 +0000)]
r15148: make wreplsrv_pull_names static

metze
(This used to be commit ce3d4ec0f67ecf7a403fb7d46ed5f6dc0b2bc275)

16 years agor15147: make some more stuff static
Stefan Metzmacher [Thu, 20 Apr 2006 11:42:03 +0000 (11:42 +0000)]
r15147: make some more stuff static

metze
(This used to be commit c49ac7f40d366aad3701623dd36568efb88eccb5)

16 years agor15146: fix comments
Stefan Metzmacher [Thu, 20 Apr 2006 11:37:14 +0000 (11:37 +0000)]
r15146: fix comments

metze
(This used to be commit c67062815816fbc2b69c1316f4b91f9a28759a88)

16 years agor15143: Pull in GNU extensions right at the start of the configure process. This
James Peach [Thu, 20 Apr 2006 01:16:04 +0000 (01:16 +0000)]
r15143: Pull in GNU extensions right at the start of the configure process. This
prevents a warning on comparison_fn_t redefinition every time replace.h
is included.
(This used to be commit 9140a2d266a59c24c1bc101d4cdd7da3cb141106)

16 years agor15131: Tidy help output. When printing the list of tests, group them by prefix
James Peach [Wed, 19 Apr 2006 03:06:50 +0000 (03:06 +0000)]
r15131: Tidy help output. When printing the list of tests, group them by prefix
to make it easier to see what tests are available.
(This used to be commit f15010ccb37f75a4bb86306cec223093b000058e)

16 years agor15122: test what access masks are needed when using the FLAGS2_READ_PERMIT_EXECUTE
Stefan Metzmacher [Tue, 18 Apr 2006 13:06:49 +0000 (13:06 +0000)]
r15122: test what access masks are needed when using the FLAGS2_READ_PERMIT_EXECUTE
flag.

metze
(This used to be commit d298e4760c1edf49f3c935304b466ba04989c32b)

16 years agor15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
Stefan Metzmacher [Tue, 18 Apr 2006 13:05:24 +0000 (13:05 +0000)]
r15121: fix pushing of the FLAGS2_READ_PERMIT_EXECUTE flag in the
"readx.read_for_execute = True" case.

metze
(This used to be commit f30f9cd3285f75ac8cbbe8dc5a476fe6a714a2e3)

16 years agor15120: Minimize the diff between Samba3 and Samba4 tdb: In Samba3 we don't allow C++
Volker Lendecke [Tue, 18 Apr 2006 11:26:43 +0000 (11:26 +0000)]
r15120: Minimize the diff between Samba3 and Samba4 tdb: In Samba3 we don't allow C++
keywords. Change "private" -> "private_data".

Volker
(This used to be commit 047671567173e808fece41485bbeaaeebab7d4a2)

16 years agor15118: - do access checks also when the owner and group are not changed
Stefan Metzmacher [Tue, 18 Apr 2006 08:33:48 +0000 (08:33 +0000)]
r15118: - do access checks also when the owner and group are not changed
- only call chown/fchown when we want to change something

metze
(This used to be commit 46b3096d938331a2339a876649bc6cbfec883cb2)

16 years agor15117: add more comments
Stefan Metzmacher [Tue, 18 Apr 2006 08:07:35 +0000 (08:07 +0000)]
r15117: add more comments

metze
(This used to be commit d76f3e2fb61317633876afc90c1cea1130e58dea)

16 years agor15113: Add a ldb_strerror() function.
Tim Potter [Mon, 17 Apr 2006 23:25:25 +0000 (23:25 +0000)]
r15113: Add a ldb_strerror() function.
(This used to be commit 456a1de2b9cd54337066c9ba24ad1c46aafcd072)

16 years agor15110: Start rewriting higher level ldb wrapper.
Tim Potter [Mon, 17 Apr 2006 22:00:30 +0000 (22:00 +0000)]
r15110: Start rewriting higher level ldb wrapper.
(This used to be commit 80853c7ddda6159093e0903410f6d330edd7d4c3)

16 years agor15109: Wrap ldb_global_init()
Tim Potter [Mon, 17 Apr 2006 21:59:44 +0000 (21:59 +0000)]
r15109: Wrap ldb_global_init()
(This used to be commit f70ed998a7f1006f76d453e1d379fb6ae821a537)

16 years agor15100: Port the bugfix for #3569 to Samba4
Volker Lendecke [Mon, 17 Apr 2006 11:42:59 +0000 (11:42 +0000)]
r15100: Port the bugfix for #3569 to Samba4
(This used to be commit 5f1d52f232051324082b840f29dd7719a9328bd5)

16 years agor15099: An attempt to fix BSD make portability issues. With these changes Samba 4...
Alexander Bokovoy [Mon, 17 Apr 2006 07:04:56 +0000 (07:04 +0000)]
r15099: An attempt to fix BSD make portability issues. With these changes Samba 4 builds successfully on NetBSD 3.0
(This used to be commit 71ea07e72d71b06166e0384950df83061a4677b8)

16 years agor15097: Add constants for ldb errors.
Tim Potter [Sun, 16 Apr 2006 06:05:33 +0000 (06:05 +0000)]
r15097: Add constants for ldb errors.

Add wrappers for ldb_dn_explode() and ldb_dn_linearize().
(This used to be commit 84774902a10d89401548ffc7423eb279227d937a)

16 years agor15096: Fix typo.
Tim Potter [Sun, 16 Apr 2006 06:02:13 +0000 (06:02 +0000)]
r15096: Fix typo.
(This used to be commit 85de6e32b833db9ca601b3e979d08444e0702c27)

16 years agor15095: Fix up typemap for struct ldb_val so that ldb_msg_add_value() wrapper
Tim Potter [Sun, 16 Apr 2006 03:46:05 +0000 (03:46 +0000)]
r15095: Fix up typemap for struct ldb_val so that ldb_msg_add_value() wrapper
works properly.
(This used to be commit 75176b188bfd5008775365110f8ed15dd00e0b50)

16 years agor15092: Remove some swig stuff that didn't work out and the %rename call.
Tim Potter [Sat, 15 Apr 2006 10:13:09 +0000 (10:13 +0000)]
r15092: Remove some swig stuff that didn't work out and the %rename call.

Add wrappers for some of the ldb_msg_* functions.
(This used to be commit ca7c94675ed19cdc6df27d492895c3148500536f)

16 years agor15091: Raise LdbError instead of IOError when ldb function calls return an
Tim Potter [Sat, 15 Apr 2006 10:10:23 +0000 (10:10 +0000)]
r15091: Raise LdbError instead of IOError when ldb function calls return an
error.
(This used to be commit e13c6d7c49e1586cc9b25c30d3f9d51f42d1c785)

16 years agor15090: Since we wrap the swig wrapper in another layer of Python, there isn't
Tim Potter [Sat, 15 Apr 2006 07:44:06 +0000 (07:44 +0000)]
r15090: Since we wrap the swig wrapper in another layer of Python, there isn't
much point in doing lots of %rename calls in tdb.i so get rid of them.
(This used to be commit 983321f769a6ebc298f1f69bca1ac41ddc860606)

16 years agor15087: Quick stress test that does more or less what the tool "iometer" does.
Volker Lendecke [Fri, 14 Apr 2006 20:36:36 +0000 (20:36 +0000)]
r15087: Quick stress test that does more or less what the tool "iometer" does.

Volker
(This used to be commit 6a08b192bec95cc0bbe017a2ce692afce63e047f)

16 years agor15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
Stefan Metzmacher [Thu, 13 Apr 2006 13:53:27 +0000 (13:53 +0000)]
r15079: w2k3 returns NT_STATUS_PRIVILEGE_NOT_HELD if SEC_FLAG_SYSTEM_SECURITY is
desired but SeSecurityPrivilege isn't granted

metze
(This used to be commit be7285bdebd58e7a86fcc64f7b22b9f533bcc4f5)

16 years agor15078: add TODO about setting the full ACL with an NTTRANS_CREATE
Stefan Metzmacher [Thu, 13 Apr 2006 12:59:41 +0000 (12:59 +0000)]
r15078: add TODO about setting the full ACL with an NTTRANS_CREATE

metze
(This used to be commit bd2c899d83615066fbd1332495a4610eeea8f8ee)

16 years agor15077: map SID_BUILTIN_USERS
Stefan Metzmacher [Thu, 13 Apr 2006 12:17:12 +0000 (12:17 +0000)]
r15077: map SID_BUILTIN_USERS

metze
(This used to be commit e896c32614fd4fd80a124ccfe49332e319f717f9)

16 years agor15076: give the correct return code
Stefan Metzmacher [Thu, 13 Apr 2006 12:13:40 +0000 (12:13 +0000)]
r15076: give the correct return code

metze
(This used to be commit 92a06638126b0565c0aec45862c549ef91e7212b)

16 years agor15071: fix typo
Stefan Metzmacher [Thu, 13 Apr 2006 12:03:05 +0000 (12:03 +0000)]
r15071: fix typo

metze
(This used to be commit fde8922947551f5f7d50607c5c83feba062138c8)

16 years agor15070: test the needed access masks for read/write the different
Stefan Metzmacher [Thu, 13 Apr 2006 11:37:44 +0000 (11:37 +0000)]
r15070: test the needed access masks for read/write the different
security descriptor components

metze
(This used to be commit 88c57c8703565c4fb367b68e70030944d9f262e6)

16 years agor15069: - don't crash on a NULL acl
Stefan Metzmacher [Thu, 13 Apr 2006 11:34:39 +0000 (11:34 +0000)]
r15069: - don't crash on a NULL acl
- add the correct access checks for changing sd->group and sd->dacl

metze
(This used to be commit 2a61f65cd4084bf690caccf87efaf46551a13aee)

16 years agor15066: - sync the dir_flags tests with the file_flags tests
Stefan Metzmacher [Thu, 13 Apr 2006 09:00:38 +0000 (09:00 +0000)]
r15066: - sync the dir_flags tests with the file_flags tests
- add some more checks for the w2k3 bug case

metze
(This used to be commit a55b44b96c556c5a645b493faa8d9660e1fcda67)

16 years agor15065: Remove duplicate prototype.
Tim Potter [Thu, 13 Apr 2006 04:19:27 +0000 (04:19 +0000)]
r15065: Remove duplicate prototype.
(This used to be commit 9d9df34d94842ea9f4be3fa51b197fb4bb918488)

16 years agor15064: Remove the change until I find proper solution
Alexander Bokovoy [Thu, 13 Apr 2006 04:14:18 +0000 (04:14 +0000)]
r15064: Remove the change until I find proper solution
(This used to be commit 4356a8c14d5219fae0a2f7c79ae929a90768996f)

16 years agor15063: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
Alexander Bokovoy [Thu, 13 Apr 2006 04:10:09 +0000 (04:10 +0000)]
r15063: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
(This used to be commit 8e5f1a0c0636ec1058fe65fafec487670e7ee448)

16 years agor15062: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
Alexander Bokovoy [Thu, 13 Apr 2006 04:04:10 +0000 (04:04 +0000)]
r15062: Theoretically, this should allow NetBSD make to handle VPATH-like lookups
(This used to be commit dc1667b88e0ce1f9438dd4ee7a0d405f69d74edf)

16 years agor15061: Use $(PERL) to run cflags.pl as actual perl binary might not be in /usr/bin
Alexander Bokovoy [Thu, 13 Apr 2006 03:09:14 +0000 (03:09 +0000)]
r15061: Use $(PERL) to run cflags.pl as actual perl binary might not be in /usr/bin
(This used to be commit 7d5a91a667418b18bde9399ffc4c9852c422362a)

16 years agor15057: fix access masks for getting and setting security_descriptors
Stefan Metzmacher [Wed, 12 Apr 2006 16:27:53 +0000 (16:27 +0000)]
r15057: fix access masks for getting and setting security_descriptors

I'll add some torture tests later...

metze
(This used to be commit ce045f4df37b6740f2bf849fd06ab51c682ea0b7)

16 years agor15056: w2k3 gives NT_STATUS_ACCESS_DENIED instead of NT_STATUS_ACCESS_VIOLATION
Stefan Metzmacher [Wed, 12 Apr 2006 16:19:42 +0000 (16:19 +0000)]
r15056: w2k3 gives NT_STATUS_ACCESS_DENIED instead of NT_STATUS_ACCESS_VIOLATION

metze
(This used to be commit 5c1d96b36f14538360d90afc76ddba59d4feee1b)

16 years agor15055: this was my version for the crash bug in the messaging code...
Stefan Metzmacher [Wed, 12 Apr 2006 15:52:17 +0000 (15:52 +0000)]
r15055: this was my version for the crash bug in the messaging code...
it also makes the function a bit shorter and clearer,
as the tmp msg_types only have one handler and not a list

metze
(This used to be commit 7e709fd04dc4fb083bd8b01b3f0fa88b932aa9b7)

16 years agor15052: Do not add builddir variants into include paths when building in-tree
Alexander Bokovoy [Wed, 12 Apr 2006 13:02:56 +0000 (13:02 +0000)]
r15052: Do not add builddir variants into include paths when building in-tree
(This used to be commit 2e2a33ce3f72164a4ed16a81025dc55a55f5e465)

16 years agor15051: Remove directory creation from this rule; we use script/buildtree.pl for...
Alexander Bokovoy [Wed, 12 Apr 2006 12:28:22 +0000 (12:28 +0000)]
r15051: Remove directory creation from this rule; we use script/buildtree.pl for external build dir instead
(This used to be commit ba7b41bb57c926ba165260016c537622210b029b)

16 years agor15050: fixed a double free in the new messaging code.
Andrew Tridgell [Wed, 12 Apr 2006 09:38:07 +0000 (09:38 +0000)]
r15050: fixed a double free in the new messaging code.
(This used to be commit ee7869bb3c901fb91efedc8208aa56df927987c5)

16 years agor15049: for really efficient oplock handling with thousands of open files we
Andrew Tridgell [Wed, 12 Apr 2006 06:08:24 +0000 (06:08 +0000)]
r15049: for really efficient oplock handling with thousands of open files we
will need a separate messaging endpoint per open file. To make this
efficient extend the messaging layer to have a new registration
function for temporary message types that maps via an idtree.

I have updated the LOCAL-MESSAGING test to use the new function.
(This used to be commit 4b976851d8b7ccd2c40010be095cef7fecf9e722)

16 years agor15048: started on the server side implementation of oplocks. The code is not
Andrew Tridgell [Wed, 12 Apr 2006 04:42:40 +0000 (04:42 +0000)]
r15048: started on the server side implementation of oplocks. The code is not
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)

16 years agor15036: Add out of tree build support and see how buildfarm will respond to make...
Alexander Bokovoy [Tue, 11 Apr 2006 11:37:52 +0000 (11:37 +0000)]
r15036: Add out of tree build support and see how buildfarm will respond to make constructs
(This used to be commit 9329854489e2c231ffb7986d39009e0936873c11)

16 years agor15033: expanded the RAW-OPLOCK test to include the different cases where the
Andrew Tridgell [Tue, 11 Apr 2006 04:40:11 +0000 (04:40 +0000)]
r15033: expanded the RAW-OPLOCK test to include the different cases where the
client chooses to break to none or break to level II, when offered a
level II break from exclusive
(This used to be commit 9a35b14422980fb9a8049058fd30e79d19a1e242)

16 years agor15032: change BENCH-NBENCH to always break to none, rather than accepting a
Andrew Tridgell [Tue, 11 Apr 2006 04:36:09 +0000 (04:36 +0000)]
r15032: change BENCH-NBENCH to always break to none, rather than accepting a
levelII break offer from the server.
(This used to be commit 7d7853476e03262133093c69f1f93ee02cc87840)

16 years agor15029: fixed the detection of inotify
Andrew Tridgell [Tue, 11 Apr 2006 01:19:20 +0000 (01:19 +0000)]
r15029: fixed the detection of inotify
(This used to be commit 5471b4b1a812dad3c97c97b938bd2dc41ae32420)

16 years agor15021: Couple more comments and fixes in spirit of utility functions
Rafal Szczesniak [Mon, 10 Apr 2006 22:03:26 +0000 (22:03 +0000)]
r15021: Couple more comments and fixes in spirit of utility functions
for composite interface.

rafal
(This used to be commit 905ca5a3ecd1c4ed5b9f206cdc855d0ddb92a07a)

16 years agor15017: When making up our own inotify functions, make sure glibc exports the
Tim Potter [Mon, 10 Apr 2006 12:15:40 +0000 (12:15 +0000)]
r15017: When making up our own inotify functions, make sure glibc exports the
__NR_inotify_* syscall numbers before trying.
(This used to be commit 5e79adda7c7e00c194efd1a5e57671f7bd34fe50)

16 years agor15016: add a test for a 2nd open with an exclusive oplock. It does not cause
Andrew Tridgell [Mon, 10 Apr 2006 06:06:26 +0000 (06:06 +0000)]
r15016: add a test for a 2nd open with an exclusive oplock. It does not cause
a break, as exclusive oplocks don't cache close requests
(This used to be commit 9f2617a062e99805c42fe9b2fa0179b1672b25e5)

16 years agor15015: add an explanation for this test
Andrew Tridgell [Mon, 10 Apr 2006 05:12:49 +0000 (05:12 +0000)]
r15015: add an explanation for this test
(This used to be commit 9fdeec506fe5005601c0589574d2b8ae3c6166e5)

16 years agor15014: added a simple batch oplock benchmark
Andrew Tridgell [Mon, 10 Apr 2006 04:51:52 +0000 (04:51 +0000)]
r15014: added a simple batch oplock benchmark

Jeremy, Samba3 currently fails this test with a 2.6.16-rc6 kernel and
kernel oplocks enabled. With kernel oplock off it passes, though its a
bit slow
(This used to be commit 99df20246049c2645b04d5790b9e41c607872dc7)

16 years agor15002: More cleanups in build/m4/rewrite.m4
Jelmer Vernooij [Sat, 8 Apr 2006 17:19:32 +0000 (17:19 +0000)]
r15002: More cleanups in build/m4/rewrite.m4
(This used to be commit f5e2cc845696b56b9cb6a6c3cad48cd57fcc51c4)

16 years agor15001: Add 'make dist'
Jelmer Vernooij [Sat, 8 Apr 2006 16:49:03 +0000 (16:49 +0000)]
r15001: Add 'make dist'
(This used to be commit 16e67d04d40a156a60011bcf6247ebf6039bbf30)

16 years agor15000: Move some more autoconf tests out of build/m4/rewrite.m4
Jelmer Vernooij [Sat, 8 Apr 2006 16:25:53 +0000 (16:25 +0000)]
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
Guarantee availability of __FUNCTION__ in libreplace
(This used to be commit 76b1576541210f2bb306ae17e0876b254e8dcead)

16 years agor14999: Remove more unused autoconf code
Jelmer Vernooij [Sat, 8 Apr 2006 16:05:21 +0000 (16:05 +0000)]
r14999: Remove more unused autoconf code
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)

16 years agor14998: Remove unused autoconf test, move others to proper places
Jelmer Vernooij [Sat, 8 Apr 2006 15:26:59 +0000 (15:26 +0000)]
r14998: Remove unused autoconf test, move others to proper places
(This used to be commit bfa396a16056f54163c514da8b34aaf229653765)

16 years agor14997: Fix build of static libraries. Libraries build fine now, but linking doesn't
Jelmer Vernooij [Sat, 8 Apr 2006 14:49:59 +0000 (14:49 +0000)]
r14997: Fix build of static libraries. Libraries build fine now, but linking doesn't
work yet.
(This used to be commit d3106699dba7a4344511134dd2cf1bfa2f4bc7ab)

16 years agor14996: Fix compilation of gencache
Jelmer Vernooij [Sat, 8 Apr 2006 14:48:04 +0000 (14:48 +0000)]
r14996: Fix compilation of gencache
(This used to be commit 6782214c44fbf69c0d4b65a75fb4430cb21b2e1c)

16 years agor14995: Avoid parallel builds unless there is support for automatic dependencies.
Jelmer Vernooij [Sat, 8 Apr 2006 14:26:32 +0000 (14:26 +0000)]
r14995: Avoid parallel builds unless there is support for automatic dependencies.
(This used to be commit ff5b02a9f8b9fe556e41b9d14afe3d855e855542)

16 years agor14993: Make subsystems again
Jelmer Vernooij [Sat, 8 Apr 2006 13:53:11 +0000 (13:53 +0000)]
r14993: Make subsystems again
(This used to be commit d55b040bd280c86423f2a620dfc0341accb23cc4)

16 years agor14992: Allow load_module() to be used externally
Jelmer Vernooij [Sat, 8 Apr 2006 13:44:40 +0000 (13:44 +0000)]
r14992: Allow load_module() to be used externally
(This used to be commit a9d5d7ab5807d8a50ce8f9e3aeedfd5b6530f3a3)

16 years agor14991: Add option -l to allow ndrdump to load dcerpc_interface_tables from .so files.
Jelmer Vernooij [Sat, 8 Apr 2006 13:43:57 +0000 (13:43 +0000)]
r14991: Add option -l to allow ndrdump to load dcerpc_interface_tables from .so files.
(This used to be commit eb34d5b8b108c480876fdc1c01de900305f84568)

16 years agor14990: talloc_reference() can fail
Stefan Metzmacher [Sat, 8 Apr 2006 07:54:15 +0000 (07:54 +0000)]
r14990: talloc_reference() can fail

metze
(This used to be commit 4410d7ea5d356f9a04f419f7254a60c20b1345c0)

16 years agor14984: marking mprBreakpoint() as a __noreturn__ function should reduce the
Andrew Tridgell [Sat, 8 Apr 2006 03:04:00 +0000 (03:04 +0000)]
r14984: marking mprBreakpoint() as a __noreturn__ function should reduce the
number of ejs errors from the IBM checker
(This used to be commit 68038ef5660b4b51c8c3897e8c384ba7bf3bbd8b)

16 years agor14983: fix an uninitialised var
Andrew Tridgell [Sat, 8 Apr 2006 03:00:12 +0000 (03:00 +0000)]
r14983: fix an uninitialised var
(This used to be commit 58ac1e4eb1a62029173118a7638dcbe7c0de1306)

16 years agor14982: mark a deliberate missing break
Andrew Tridgell [Sat, 8 Apr 2006 02:58:54 +0000 (02:58 +0000)]
r14982: mark a deliberate missing break
(This used to be commit 3b66cf35a783a1524e21b3f99125eb032968969e)

16 years agor14981: fixed a use of a wild ptr in regshell
Andrew Tridgell [Sat, 8 Apr 2006 02:58:36 +0000 (02:58 +0000)]
r14981: fixed a use of a wild ptr in regshell
(This used to be commit 868deaf89f34124a2a7ba2798fad83ffdabe316d)

16 years agor14980: fixed several IBM checker errors in gentest and masktest
Andrew Tridgell [Sat, 8 Apr 2006 02:55:16 +0000 (02:55 +0000)]
r14980: fixed several IBM checker errors in gentest and masktest
(This used to be commit 98016479a9f61b7a4aef83f7eef2876d84013e57)

16 years agor14979: avoid a null ptr deref
Andrew Tridgell [Sat, 8 Apr 2006 02:49:44 +0000 (02:49 +0000)]
r14979: avoid a null ptr deref
(This used to be commit b197bee4f6b0a310215620d18b081fca00661803)