Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-02 | s3: Fix a 64-bit BUG | Volker Lendecke | 1 | -1/+1 | |
Quick explanation why this is a problem: It is not safe to pass a pointer to a uint32_t into a routine that expects a size_t *. The routine that this pointer is passed to has no chance to find out that in reality it was passed a pointer to a uint32_t. On platforms where sizeof(size_t)==8, we get a nice overwrite of a stack area that should not be overwritten. As this happens over an over again: Does someone know a means to make gcc stop with an error in this case? Volker | |||||
2010-10-01 | samba: share select wrappers. | Günther Deschner | 4 | -2/+242 | |
Guenther | |||||
2010-09-29 | util: added BINARY_ARRAY_SEARCH_V() | Andrew Tridgell | 1 | -0/+16 | |
this is used to search an array of values | |||||
2010-09-27 | Remove talloc_autofree_context() from pm_process | Volker Lendecke | 1 | -1/+1 | |
This would be a classic for talloc_tos(), InFile is freed a few lines down. But unfortunately S4 does not support talloc_tos(). | |||||
2010-09-27 | Lift talloc_autofree_context() from OpenConfFile() | Volker Lendecke | 1 | -3/+3 | |
2010-09-27 | lib/util: change tevent_req_nterror() to a macro | Stefan Metzmacher | 2 | -3/+10 | |
This way we can record where a tevent_req was finished by tevent_req_nterror(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 27 03:18:14 UTC 2010 on sn-devel-104 | |||||
2010-09-26 | lib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag() | Stefan Metzmacher | 2 | -0/+85 | |
We need a way to ask for the length of a tag without having the full buffer yet. metze | |||||
2010-09-21 | strlist: Make test names unique. | Jelmer Vernooij | 1 | -2/+8 | |
2010-09-21 | tevent: include libreplace heade before tevent header | Björn Jacke | 1 | -1/+1 | |
this is supposed to fix bug #7463. Thanks to Joachim Schmitz. | |||||
2010-09-19 | s3: Fix the charset_pull routine (bug 7531) | Volker Lendecke | 1 | -1/+1 | |
In the push routine we do the SVAL, so we should do the SSVAL here. | |||||
2010-09-17 | lib/util: usec_time_diff takes arguments the other way round than TvalDiff did | Björn Jacke | 1 | -1/+1 | |
2010-09-16 | s3/s4: merge msleep and smb_msleep | Björn Jacke | 2 | -8/+43 | |
the merged variant is renamed to smb_msleep as some platforms already have a msleep function. | |||||
2010-09-15 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2010-09-14 | Ensure incoming timespec values correctly wrap at nsecs. | Jeremy Allison | 1 | -0/+7 | |
Jeremy. | |||||
2010-09-09 | lib/util: remove some unused_result warnings. | Günther Deschner | 1 | -2/+7 | |
Guenther | |||||
2010-09-07 | lib/util: add time_mono() for monotonic time a la time() | Björn Jacke | 2 | -0/+26 | |
2010-09-04 | util: added samba_start_debugger() | Andrew Tridgell | 2 | -0/+18 | |
This developer function is useful for debugging unusual error conditions | |||||
2010-08-31 | lib/util: add nsec_time_diff to calulate diffs from timespecs | Björn Jacke | 2 | -0/+14 | |
2010-08-31 | lib/util: add function to query the monotonic clock with the required ↵ | Björn Jacke | 2 | -0/+15 | |
fallback to the realtime clock | |||||
2010-08-31 | libreplace: move gettimeofday TZ arg check here | Björn Jacke | 1 | -9/+0 | |
2010-08-28 | lib/util: remove implicit discard_const_p() from SAFE_FREE() | Stefan Metzmacher | 1 | -1/+1 | |
This should fix a lot of warnings on IRIX. If callers know what they're doing they can use discard_const_p() on their own. metze | |||||
2010-08-17 | s3: Fix a ton of type-punned warnings | Volker Lendecke | 1 | -4/+4 | |
2010-07-26 | lib: added samba-util.pc creation | Andrew Tridgell | 2 | -1/+13 | |
Thanks to Brad Hards for this patch | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 2 | -7/+7 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-25 | Move UCS2 macros to common code | Jelmer Vernooij | 1 | -0/+23 | |
2010-06-13 | librpc: Install the right headers. | Jelmer Vernooij | 1 | -1/+1 | |
2010-06-10 | Since idtree assigns sequentially, it rarely reaches high numbers. | Rusty Russell | 1 | -3/+5 | |
But such numbers can be forced with idr_get_new_above(), and that reveals two bugs: 1) Crash in sub_remove() caused by pa array being too short. 2) Shift by more than 32 in _idr_find(), which is undefined, causing the "outside the current tree" optimization to misfire and return NULL. | |||||
2010-05-18 | Change data_blob() to be based on top of data_blob_talloc(), instead of the ↵ | Jeremy Allison | 1 | -15/+10 | |
reverse (as it is now). It makes no sense to talloc off the null context, then talloc steal into the required context - just talloc off the correct context, and change data_blob() to pass in the null context to data_blob_talloc(). Jeremy. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-14 | lib/util: fix waf configure tests for xattr functions on Mac OS 10. | Stefan Metzmacher | 1 | -4/+6 | |
metze | |||||
2010-05-12 | Install util/tevent_* public headers. Required by OpenChange for compiling IDL | Julien Kerihuel | 2 | -1/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-04-20 | util-runcmd: ignore spurious ECHILD errors | Andrew Tridgell | 1 | -0/+14 | |
when we get ECHILD in samba_runcmd it is because the parent has set SIGCHLD to SIG_IGN. In that case the child status information is lost. We then have to fallback on the logging of child error messages for any useful information on what happened to the child. A longer term fix is to stop using SIG_IGN for SIGCHLD in the standard process model of s4. | |||||
2010-04-19 | runcmd: use tevent_re_initialise() to close sockets | Andrew Tridgell | 1 | -0/+4 | |
this ensures that all event fds are closed in the child | |||||
2010-04-18 | libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h | Andrew Tridgell | 1 | -6/+0 | |
these are needed for all libs that use ABI checking, so libreplace is the logical place for now | |||||
2010-04-12 | s4-waf: inline LIBREPLACE_NETWORK into 'replace' | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-04-08 | build: allow the waf build to work with python 3.0 and 3.1 | Thomas Nagy | 1 | -1/+1 | |
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -3/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: more dependencies on talloc | Andrew Tridgell | 1 | -4/+5 | |
these are needed so we can support a system talloc without using the bundled talloc.h | |||||
2010-04-06 | s4-waf: fixed some deps now we don't auto-include tevent and replace | Andrew Tridgell | 1 | -1/+1 | |
this is preparation for being able to use system versions of these libraries | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 4 | -0/+8 | |
them | |||||
2010-04-06 | s4-waf: install the rest of the headers | Andrew Tridgell | 1 | -3/+4 | |
2010-04-06 | s4-waf: started adding auto-install of include files | Andrew Tridgell | 1 | -1/+2 | |
2010-04-06 | s4-waf: look for libiconv before checking libc | Andrew Tridgell | 1 | -1/+6 | |
This is needed for solaris8 | |||||
2010-04-06 | s4-waf: added checks for all the different statvfs varients | Andrew Tridgell | 1 | -4/+83 | |
2010-04-06 | s4-waf: remove the need for some of the lib aliases | Andrew Tridgell | 2 | -2/+2 | |
2010-04-06 | build: updated configure checks or new syntax | Andrew Tridgell | 2 | -18/+5 | |
2010-04-06 | build: check libc first for several libraries | Andrew Tridgell | 1 | -1/+1 | |
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 2 | -0/+68 | |
2010-04-06 | build: added statvfs64 test | Andrew Tridgell | 1 | -0/+9 | |
2010-04-06 | build: iconv checks | Andrew Tridgell | 1 | -0/+10 | |
2010-04-06 | build: check for xattr support | Andrew Tridgell | 1 | -0/+6 | |