summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* tevent: use public_headers for tevent.hAndrew Tridgell2011-03-151-1/+1
|
* talloc: use public_headers to install talloc.h and pytalloc.hAndrew Tridgell2011-03-151-2/+2
| | | | this allows them to be included in the test_headers.h generated header
* lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_tMatthias Dieter Wallnöfer2011-03-101-1/+1
| | | | The function "backtrace" returns an "int".
* tevent: change version to 0.9.11Stefan Metzmacher2011-03-102-1/+74
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 10 10:24:49 CET 2011 on sn-devel-104
* tevent/poll: use fde->additional_flags to hold the array indexStefan Metzmacher2011-03-101-17/+6
| | | | metze
* tevent: change tevent_fd->additional_flags to uint64_tStefan Metzmacher2011-03-101-1/+1
| | | | metze
* socket_wrapper: fix handling of addr and addrlenStefan Metzmacher2011-03-091-4/+5
| | | | metze
* tevent: Fixed tevent_wakeup_send code example.Andreas Schneider2011-03-091-1/+1
|
* lib/socket_wrapper: try to fix the build on solarisStefan Metzmacher2011-03-041-0/+13
| | | | | | | struct msg does not contain msg_control, msg_controllen and msg_flags on solaris. metze
* debug: fixed a valgrind errorAndrew Tridgell2011-03-041-1/+4
| | | | | | | Thanks to Volker for spotting this one! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Mar 4 03:09:52 CET 2011 on sn-devel-104
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-043-0/+31
| | | | | | | | already used). Bjoern, Metze, please check. Guenther
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_writev()Stefan Metzmacher2011-03-031-49/+17
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 3 23:43:39 CET 2011 on sn-devel-104
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendmsg()Stefan Metzmacher2011-03-031-47/+66
| | | | | | | This also adds the same logic for broadcast as in swrap_sendto() for SOCK_DGRAM. metze
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_send()Stefan Metzmacher2011-03-031-37/+18
| | | | metze
* socket_wrapper: use swrap_sendmsg_before()/after() in swrap_sendto()Stefan Metzmacher2011-03-031-86/+35
| | | | metze
* socket_wrapper: add swrap_sendmsg_before/after helper functionsStefan Metzmacher2011-03-031-0/+191
| | | | | | | | Currently have almost the same logic in swrap_send(), swrap_sendto(), swrap_writev() and swrap_sendmsg(), this helper functions let combine all the logic in 2 places. metze
* socket_wrapper: replace recvmsg() correctlyStefan Metzmacher2011-03-031-0/+6
| | | | metze
* socket_wrapper: readv() should only work on connected socketsStefan Metzmacher2011-03-031-0/+5
| | | | metze
* socket_wrapper: move swrap_ioctl() above the send*/recv* functionsStefan Metzmacher2011-03-031-26/+26
| | | | metze
* socket_wrapper: fix compiler warningsStefan Metzmacher2011-03-031-28/+37
| | | | metze
* socket_wrapper: don't allow connect() to the broadcast addressStefan Metzmacher2011-03-031-1/+8
| | | | | | This will simplify other code later. metze
* lib/util: LIBCRYPTO is in common already, so add it to samba-util-common.Günther Deschner2011-03-031-2/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 3 18:08:30 CET 2011 on sn-devel-104
* lib/util: new merged debug systemAndrew Bartlett2011-03-017-426/+1461
| | | | | | | | | | | | This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
* lib/util move debug.[ch] out of the wayAndrew Bartlett2011-03-013-1/+1
| | | | | | | This will allow a modified version of the s3 debug system to be the new common debug system. Andrew Bartlett
* lib/util/time: Merge time functions from source3/lib/time.cAndrew Bartlett2011-03-012-0/+76
|
* Fix "cast from pointer to integer of different size" warnings on a 64-bit ↵Jeremy Allison2011-02-281-7/+7
| | | | machine.
* tevent: Add lib/tevent as include directory.Jelmer Vernooij2011-02-281-0/+1
|
* tdb: Use <tdb.h> to include tdb so system headers are found when building ↵Jelmer Vernooij2011-02-284-4/+4
| | | | against system tdb.
* tdr: Inline proto header to allow tdr.h to be used as it's a public header. Jelmer Vernooij2011-02-282-5/+39
|
* Use <tevent.h> so the system tevent gets included, if enabled.Jelmer Vernooij2011-02-282-3/+3
|
* Finish the range checking on all FD_SET calls for select().Jeremy Allison2011-02-282-0/+14
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Feb 28 21:10:08 CET 2011 on sn-devel-104
* Remove sys_select[_intr]Volker Lendecke2011-02-282-158/+0
|
* tevent: Add a poll backendVolker Lendecke2011-02-285-0/+310
|
* s3: Eliminate select from libaddnsVolker Lendecke2011-02-281-13/+11
|
* s3: Add sys_poll_intrVolker Lendecke2011-02-282-0/+27
|
* s3: Add sys_pollVolker Lendecke2011-02-282-0/+81
|
* libreplace: poll based on selectVolker Lendecke2011-02-285-0/+182
|
* s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke2011-02-271-3/+3
| | | | | | | All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
* nss_wrapper: Fix a segfault when libnss_winbind.so is not loadableVolker Lendecke2011-02-261-2/+11
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 26 13:19:01 CET 2011 on sn-devel-104
* nss_wrapper: Make nwrap_module_init a bit more readableVolker Lendecke2011-02-261-5/+9
|
* lib/util/charset: ICONV_WRAPPER needs talloc.Günther Deschner2011-02-231-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 12:46:33 CET 2011 on sn-devel-104
* build: move idtree.c into samba-util-commonAndrew Tridgell2011-02-231-3/+2
|
* build: moved more files into samba-util-commonAndrew Tridgell2011-02-231-11/+11
| | | | | this removes UTIL_SRC from the s3 waf build, as it is now all in common with samba-util-common
* build: created samba-util-common libraryAndrew Tridgell2011-02-231-30/+21
| | | | | | | | | | | this library will contain files that can be built in common between s3 and s4. Both samba-util and samba-util3 depend on it. Currently this library needs to be marked as allow_undefined_symbols, in order to allow s4 to build it. We can remove that flag once we have all the needed symbols in common Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher2011-02-222-4/+4
| | | | | | This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-221-1/+1
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:smbtorture do not leave output directory aroundChristian Ambach2011-02-211-0/+1
| | | | | | | | | | | | | | | | | | | calling smbtorture with no or invalid arguments left the temporary output directory around this patches removes the dead-end exit from usage and makes the logic go on until the final cleanup state is reached output directory will still be left around when test times out or testcases itself force an exit also make sure that the directory itself is deleted, not just the objects in it Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Feb 21 11:35:30 CET 2011 on sn-devel-104
* Fix missing dependency on libreplace.Jelmer Vernooij2011-02-211-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 21 01:17:33 CET 2011 on sn-devel-104
* lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett2011-02-182-3/+24
| | | | | | | | | | When called from a library, we don't want to call this, as we may overwrite some of our calling program's context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
* lib/util/charcnv Move iconv handle setup in commonAndrew Bartlett2011-02-185-320/+366
| | | | | | | | We now use the struct smb_iconv_convenience at the core of all our iconv code, and use global_iconv_convenience for the callers that don't specify one. Andrew Bartlett