Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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> | |||||
2010-02-26 | lib/util: add generate_random_password() | Stefan Metzmacher | 2 | -0/+47 | |
metze | |||||
2010-02-26 | s4-dns: use a loadparm list for samba_runcmd() commands | Andrew Tridgell | 2 | -6/+6 | |
This allows commands with multiple arguments and quoting to be used, while still avoiding running a shell (and this having shell expansion problems) | |||||
2010-02-23 | libutil: Remove obsolete signal type cast. | Andreas Schneider | 1 | -5/+5 | |
2010-02-22 | Spelling fixes for libutil | Brad Hards | 7 | -24/+24 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-17 | util: added samba_runcmd() | Andrew Tridgell | 3 | -0/+275 | |
This allows us to run a child command in an async fashion, with control over logging of stdout and stderr (which appears in the Samba log file). This is useful for ensuring we don't miss important messages from rndc commands (for example). Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-16 | s4-dsdb: removed gendb_search_single_extended_dn() | Andrew Tridgell | 2 | -105/+0 | |
Use dsdb_search_one() instead, which allows for arbitrary controls Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-14 | lib: use TYPESAFE_QSORT() in lib/ and libcli/ | Andrew Tridgell | 1 | -1/+2 | |
2010-02-14 | s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code | Andrew Tridgell | 1 | -1/+3 | |
2010-02-13 | use ZERO_STRUCT | Volker Lendecke | 1 | -1/+2 | |
2010-02-13 | Use ZERO_STRUCTP | Volker Lendecke | 1 | -1/+1 | |
2010-02-13 | s3: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2010-02-13 | util: added TYPESAFE_QSORT() macro | Andrew Tridgell | 1 | -0/+38 | |
This makes it much harder to get the type of a qsort comparison function wrong. | |||||
2010-02-12 | s3: Add tdb_data_equal | Volker Lendecke | 2 | -0/+9 | |
2010-02-11 | util: added file_compare() utility function | Andrew Tridgell | 2 | -0/+27 | |
file_compare() returns true if two files are the same. It is meant for small files. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-10 | test:local added LOCAL-DLINKLIST testsuite | Andrew Tridgell | 1 | -0/+130 | |
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702) | |||||
2010-02-10 | util: rewrite dlinklist.h so that DLIST_ADD_END() is O(1) | Andrew Tridgell | 1 | -59/+111 | |
This changes the meaning of the ->prev pointer in our doubly linked lists to point at the end of the list from the front of the list. That allows us to implement DLIST_ADD_END() and related functions in O(1) time, which can be a huge saving in many places in Samba. This also means that the 'type' argument to various DLIST_*() macros is no longer needed, but I have left it in for now to keep the patchset small, which will make it easier to revert if any problems are found. In the future we should remove the 'type' arguments. (jra. Move the one use of DLIST_TAIL over to the new macros). | |||||
2010-02-10 | Temporary changes to dlinklist to keep the implementation static whilst | Jeremy Allison | 1 | -0/+16 | |
uses of (list)->prev are moved over to DLIST_PREV. This will be replaced when the final (new) version of the dlinklist.h header is added. Jeremy. | |||||
2010-02-05 | s4:UID wrapper - Fix includes | Matthias Dieter Wallnöfer | 2 | -1/+19 | |
The includes of the UID wrapper headers werent't really efficient according to metze's post on the technical mailing list (http://lists.samba.org/archive/samba-technical/2010-February/069165.html). To achieve this move the "uid_wrapper.h" includes into "lib/util/unix_privs.c", "lib/util/util.c", "ntvfs/posix/pvfs_acl.c" and "ntvfs/unixuid/vfs_unixuid.c". | |||||
2010-02-02 | Change uint_t to unsigned int in lib/util | Matt Kraai | 4 | -6/+6 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-01-29 | lib/util: remove data_blob_talloc_reference() | Stefan Metzmacher | 2 | -23/+0 | |
We want to avoid the usage of talloc_reference() in Samba. metze | |||||
2010-01-09 | s4-debug: removed debug_ctx(). It didn't catch on :-) | Andrew Tridgell | 1 | -4/+0 | |
There was only one user, which isn't worth it for the overhead. | |||||
2010-01-07 | lib/util: move TIME_T_MIN/MAX defines into header file | Björn Jacke | 2 | -14/+14 | |
2009-12-18 | Return NULL in strlower_talloc if src is NULL | Brendan Powers | 1 | -0/+4 | |
Prevents strlower_talloc from segfaulting if you pass it a NULL string. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-10 | util: added binsearch.h for binary array searches | Andrew Tridgell | 1 | -0/+68 | |
This was moved from the schema_query code. It will now be used in more than one place, so best to make it a library macro. I think there are quite a few places that could benefit from this. | |||||
2009-12-01 | util/util_strlist - add a call "const_str_list" for making "unconst" lists ↵ | Matthias Dieter Wallnöfer | 2 | -0/+14 | |
"const" | |||||
2009-11-20 | charset/tests/iconv - Remove the "const" from "ptr_in" to prevent ↵ | Matthias Dieter Wallnöfer | 1 | -7/+7 | |
"discard_const_p" use Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-20 | util/strlist: Fix up "const" warnings in the string list and test code | Matthias Dieter Wallnöfer | 3 | -26/+30 | |
This work I did using suggestions by Jelmer. Signed-off-by: Stefan Metzmacher <metze@samba.org> |