summaryrefslogtreecommitdiffstats
path: root/lib/util
Commit message (Collapse)AuthorAgeFilesLines
* Fix a missing prototype warningVolker Lendecke2009-04-282-0/+3
|
* pm_process():raise level of debug messageMichael Adam2009-04-281-1/+1
| | | | Michael
* Fix push_codepoint function without iconv_convenience.Jelmer Vernooij2009-04-231-1/+1
|
* Add a new non-convenience version of push_codepoint.Jelmer Vernooij2009-04-234-7/+15
|
* Ensure we have all the definitions needed in both threaded and non-threaded ↵Jeremy Allison2009-04-201-9/+4
| | | | | | versions. Jeremy.
* Attempt to fix build farm on platforms where pthread_once_t is a struct.Jeremy Allison2009-04-202-3/+6
| | | | Jeremy.
* Fix the pthread_once initialization issue. Make talloc_stackframe useJeremy Allison2009-04-204-38/+85
| | | | | this. Jeremy.
* Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-151-1/+1
| | | | | | | What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
* Ensure a tls key is only generated once - wrap create & destroy in a mutex.Jeremy Allison2009-04-144-40/+71
| | | | | | Change the function names to add _once to the tls_create & tls_destroy to make this obvious. Jeremy.
* Make talloc_stack threadsafe using TLS. Volker pleaseJeremy Allison2009-04-144-25/+93
| | | | | check. Passes make test and basic valgrind testing. Jeremy.
* Merge branch 'wspp-schema'Andrew Tridgell2009-04-092-6/+173
|\
| * added _const versions of some of the str_list_*() functionsAndrew Tridgell2009-04-092-0/+84
| | | | | | | | | | | | These const versions don't copy the strings themselves, which is useful when those strings point at known constant data (into the schema in this case)
| * added str_list_unique() and str_list_show()Andrew Tridgell2009-04-092-36/+62
| | | | | | | | | | I also undid some of the const changes from Andrew, as they didn't in fact resolve the const warnings.
| * Rework util_strlist prototypes to use a bit more and less constAndrew Bartlett2009-04-082-9/+43
| | | | | | | | | | | | Hopefully this produces less warnings, but it might produce more... Andrew Bartlett
| * added a str_list_append() functionAndrew Tridgell2009-04-071-0/+23
| |
* | Add the thread functions to top level lib/util.Jeremy Allison2009-04-083-0/+277
|/ | | | | Not yet used, that's the next step. Jeremy.
* lib/util: fallback to any id in idr_get_new_random()Stefan Metzmacher2009-04-011-2/+6
| | | | metze
* Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij2009-03-262-0/+11
|\
| * Add tevent_req_simple_recv_ntstatus()Volker Lendecke2009-03-242-0/+11
| |
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysecJelmer Vernooij2009-03-201-1/+8
|\|
| * lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystemStefan Metzmacher2009-03-191-1/+8
| | | | | | | | metze
* | Strip /usr/include from include flags, so we don't end up includingJelmer Vernooij2009-03-151-0/+2
|/ | | | the system tevent if it's too old.
* Remove -L/usr/lib from a couple more make variables.Jelmer Vernooij2009-03-151-0/+1
|
* Fix prototype mismatch.Jelmer Vernooij2009-03-091-1/+1
|
* Revert accidental reintroduction of void ** bug.Jelmer Vernooij2009-03-082-5/+7
|
* lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher2009-03-032-22/+0
| | | | metze
* Import ISO-8859-1, 646 from Samba 3 iconv.Jelmer Vernooij2009-03-021-0/+29
|
* Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij2009-03-013-38/+122
|
* s4: Use same function signature for convert_* as s3.Jelmer Vernooij2009-03-014-46/+77
|
* Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij2009-03-012-0/+115
|\
| * Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.Jelmer Vernooij2009-03-012-100/+100
| |
| * Move next_token_talloc() to top-level.Jelmer Vernooij2009-03-012-0/+115
| |
* | Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2009-03-012-2/+3
| |
* | Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij2009-03-014-23/+31
|/ | | | consistency with Samba 3.
* Add tevent_ntstatusVolker Lendecke2009-02-262-0/+83
|
* Add tevent_req_is_unix_errorVolker Lendecke2009-02-242-0/+73
|
* Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman2009-02-233-3/+42
| | | | | | | | | | This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
* Fix shadowed declaration warningTim Prouty2009-02-211-1/+1
|
* Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2009-02-202-14/+17
|
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-132-17/+13
|
* Fix Coverity ID 707 (RESOURCE_LEAK)Volker Lendecke2009-02-131-0/+1
|
* Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵Jelmer Vernooij2009-02-091-2/+0
| | | | | | | | and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
* Attempt to fix "make test" on host "tridge"Volker Lendecke2009-02-021-1/+1
|
* lib/util: s/new/pn in idtree.cStefan Metzmacher2009-02-021-16/+16
| | | | metze
* lib/util: s/class/dclassStefan Metzmacher2009-02-021-1/+1
| | | | metze
* Fix headers, only ldb.h is requiredSimo Sorce2009-02-011-2/+0
|
* s4:lib/util: fix the buildStefan Metzmacher2009-01-301-1/+1
| | | | metze
* s4:build: kill DEFAULT_HEADERS variableStefan Metzmacher2009-01-301-0/+1
| | | | metze
* Fix coverity CID#66. Resource leak in error path.Jeremy Allison2009-01-291-0/+1
| | | | Jeremy.
* util_str: setup the correct talloc name for stringsStefan Metzmacher2009-01-192-0/+4
| | | | | metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)