Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2010-04-06 | build: move gettimeofday check to libreplace | Andrew Tridgell | 1 | -1/+0 | |
- add checklink option to CHECK_FUNC() - Used for when a prototype is not available | |||||
2010-04-06 | build: added interface checking and nicer snprintf checking | Andrew Tridgell | 1 | -1/+1 | |
use CHECK_CODE() | |||||
2010-04-06 | build: added CHECK_CODE_COMPILES() | Andrew Tridgell | 1 | -0/+2 | |
2010-04-06 | build: check xattr and frsize | Andrew Tridgell | 1 | -0/+5 | |
2010-04-06 | build: check signal functions | Andrew Tridgell | 1 | -0/+2 | |
2010-04-06 | build: backtrace and crypt tests | Andrew Tridgell | 1 | -2/+1 | |
2010-04-06 | build: check for backtrace | Andrew Tridgell | 1 | -0/+6 | |
2010-04-02 | debug: enable talloc logging | Andrew Tridgell | 2 | -0/+15 | |
we want to ensure talloc warnings are printed in the log | |||||
2010-03-30 | charset: look for the codepages in the right place | Andrew Tridgell | 1 | -2/+2 | |
selftest runs from source3/source4. The codepages when not installed are in ../codepages | |||||
2010-03-26 | s3-smbd: Don't close stdout if we want to log to stdout. | Andreas Schneider | 2 | -5/+7 | |
2010-03-26 | util: on FreeBSD true is in /usr/bin. Use execvp to find it | Andrew Tridgell | 1 | -1/+1 | |
2010-03-26 | libutil: moved the networking defines to util_net.h | Andrew Tridgell | 3 | -27/+29 | |
These were causing thousands of warnings on solaris8 | |||||
2010-03-22 | convert_string_talloc_convenience - print out the input buffer in a better ↵ | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
way (using dump_data since it isn't always directly readable) | |||||
2010-03-22 | lib/util: add allocate_anonymous_shared() | Stefan Metzmacher | 2 | -0/+33 | |
metze | |||||
2010-03-21 | Fix an uninitialized variable | Volker Lendecke | 1 | -0/+4 | |
2010-03-21 | Use TALLOC_FREE in talloc_pop() | Volker Lendecke | 1 | -2/+1 | |
2010-03-21 | Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create() | Volker Lendecke | 1 | -7/+5 | |
2010-03-21 | Trim an overlong line | Volker Lendecke | 1 | -2/+2 | |
2010-03-18 | charset: fixed a problem with the global use of the iconv_convenience structure | Andrew Tridgell | 3 | -13/+39 | |
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values. | |||||
2010-03-15 | talloc_stack: reset stackframe pointers to NULL | Stefan Metzmacher | 1 | -0/+2 | |
This makes it easier to debug the code in future. metze | |||||
2010-03-15 | talloc_stack: make sure we never let talloc_tos() return ts->talloc_stack[-1] | Stefan Metzmacher | 1 | -1/+1 | |
In smbd there's a small gab between TALLOC_FREE(frame); before be call smbd_parent_loop() where we don't have a valid talloc stackframe. smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop. As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct the time header for the debug message we crash on some systems. metze | |||||
2010-03-11 | Explain why we don't use certain characters in the generated pw | Andrew Bartlett | 1 | -0/+6 | |
2010-03-11 | lib/util - Removed curly braces from generate_random_password(). | Endi S. Dewata | 1 | -1/+1 | |
2010-03-11 | Move prototype to header of common code for set_sockaddr_port | Andrew Bartlett | 1 | -0/+2 | |
2010-03-09 | lib/util: change samba_runcmd() to use tevent_req _send/_recv | Stefan Metzmacher | 2 | -146/+188 | |
metze | |||||
2010-03-05 | s4-privs: add root_privileges_original_uid() | Andrew Tridgell | 1 | -0/+6 | |
This can be used to get the uid we changed away from when we gained root privileges Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |