Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-05-30 | lib: add tevent_req_poll_werror | Volker Lendecke | 2 | -0/+16 | |
Signed-off-by: Kai Blin <kai@samba.org> | |||||
2012-05-14 | lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.c | Stefan Metzmacher | 2 | -0/+16 | |
metze | |||||
2012-05-14 | lib/util: add missing 'errors' dependency to 'tevent-util' | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-05-11 | util: use SMB_ASSERT with panic also in non-developer builds !!! | Michael Adam | 1 | -7/+0 | |
This has been around since a long time: In non-developer builds, we don't panic in SMB_ASSERT but happly continue with the error condition, which is ridiculous and dangerous... | |||||
2012-05-11 | util: reformat the DEVELOPER definition of SMB_ASSERT | Michael Adam | 1 | -3/+8 | |
2012-05-08 | lib/util: Map 0x7fffffffffffffffLL as 0x7fffffffffffffffLL in time conversion | Andrew Bartlett | 1 | -1/+1 | |
TIME_T_MAX is not actually INT64_MAX at the moment, so check both values and set to the magic end-of-time value. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 8 06:41:43 CEST 2012 on sn-devel-104 | |||||
2012-05-03 | UTIL_TDB: lowercase name. | Jelmer Vernooij | 1 | -2/+2 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu May 3 20:18:22 CEST 2012 on sn-devel-104 | |||||
2012-04-20 | Fix bug #8877 - Syslog broken owing to mistyping of debug_settings.syslog. | Joseph Tam | 1 | -1/+1 | |
Setting "syslog only = yes" did not divert log messages to syslog. The test in lib/util/debug.c:Debug1():747 if( syslog_level < state.settings.syslog ) produces wrong results since .syslog is typed "bool" rather than "int". The attached patch fixes this by typing this field correctly as "int". Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 20 00:06:12 CEST 2012 on sn-devel-104 | |||||
2012-04-18 | lib/util: Move map_nt_error_from_tdb to the top level | Andrew Bartlett | 2 | -1/+70 | |
This will help with making dbwrap available as a top level library. Andrew Bartlett | |||||
2012-04-05 | build: Remove sys_open wrapper | Andrew Bartlett | 1 | -1/+1 | |
2012-04-05 | build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any more | Andrew Bartlett | 1 | -6/+1 | |
2012-04-05 | build: Remove configure tests for *64 functions and types | Andrew Bartlett | 1 | -5/+0 | |
We now use the standard types only. Andrew Bartlett | |||||
2012-04-03 | lib/util: charset modules do not exist any more | Andrew Bartlett | 1 | -4/+0 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 3 08:07:42 CEST 2012 on sn-devel-104 | |||||
2012-04-03 | lib/util: Add smb_load_module that returns DEBUG(0) errors on failure | Andrew Bartlett | 2 | -38/+39 | |
These errors are very important when trying to work out why a module does not load, and this rework allows them to be shown when loading vfs modules. Andrew Bartlett | |||||
2012-03-31 | Fix an IPv6 breakage I introduced by adding an strlcpy truncation check. ↵ | Jeremy Allison | 1 | -3/+10 | |
Found by Matthieu Patou <mat@samba.org>. The truncate of the strlcpy() here was a *desired* side effect. strlcpy()/strlcat() should never be used like that. Be more explicit about the truncation and don't use strlcpy here. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Mar 31 07:59:16 CEST 2012 on sn-devel-104 | |||||
2012-03-29 | Start to add truncate checks on all uses of strlcpy(). Reading lwn | Jeremy Allison | 2 | -22/+29 | |
has it's uses :-). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 29 20:48:15 CEST 2012 on sn-devel-104 | |||||
2012-03-24 | lib/util: Remove obsolete sys_getpid() and sys_fork(). | Jelmer Vernooij | 4 | -43/+2 | |
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104 | |||||
2012-03-24 | lib/util: Allow calloc use in util.c, too. | Jelmer Vernooij | 1 | -0/+1 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 18:50:32 CET 2012 on sn-devel-104 | |||||
2012-03-24 | libreplace: Add getpeereid implementation. | Jelmer Vernooij | 2 | -31/+0 | |
2012-03-24 | lib/util: Remove dummy wrapper for getgrgid(). | Jelmer Vernooij | 2 | -10/+0 | |
2012-03-24 | lib/util: Remove dummy wrapper for getgrnam(). | Jelmer Vernooij | 2 | -7/+1 | |
2012-03-24 | lib/util: Remove dummy wrapper for getpwuid(). | Jelmer Vernooij | 2 | -8/+2 | |
2012-03-24 | lib/util: Remove dummy wrapper for getpwnam(). | Jelmer Vernooij | 2 | -8/+2 | |
2012-03-24 | lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent. | Jelmer Vernooij | 2 | -22/+0 | |
2012-03-24 | lib/util: Move calloc_array and memalign_array to top-level libutil. | Jelmer Vernooij | 2 | -0/+32 | |
2012-03-24 | lib/util: Remove prototype for removed sys_memalign. | Jelmer Vernooij | 1 | -4/+0 | |
2012-03-24 | lib/util: Remove trivial wrapper sys_connect() around connect(). | Jelmer Vernooij | 2 | -20/+0 | |
2012-03-24 | replace: Move memalign() from lib/util/system.c to libreplace. | Jelmer Vernooij | 1 | -35/+0 | |
2012-03-15 | util: Add --disable-fault-handling. | Ira Cooper | 3 | -0/+8 | |
On some platforms you can not debug coredumps after the default signal handler gets done dumping core. This allows waf to have an option to disable our default signal handler. | |||||
2012-03-14 | lib/util: only change umask during mkdir() | Stefan Metzmacher | 1 | -7/+4 | |
metze | |||||
2012-03-14 | lib/util: cope with races between lstat and mkdir in directory_create_or_exist() | Stefan Metzmacher | 1 | -2/+8 | |
metze | |||||
2012-03-14 | lib/util: use a helper variable in directory_create_or_exist() | Stefan Metzmacher | 1 | -2/+5 | |
metze | |||||
2012-03-14 | lib/util: do an early return on error directory_create_or_exist() | Stefan Metzmacher | 1 | -10/+10 | |
metze | |||||
2012-03-14 | lib/util: remove unneeded else branch in directory_create_or_exist() | Stefan Metzmacher | 1 | -21/+24 | |
metze | |||||
2012-03-14 | lib/util: don't start DEBUG output with 'error ' | Stefan Metzmacher | 1 | -1/+1 | |
This confused the subunit code. metze | |||||
2012-03-10 | tdb_wrap: Move to specific directory. | Jelmer Vernooij | 3 | -264/+0 | |
It's a bit confusing to mix low-level and high-level libraries. We had multiple libraries in one directory, and there were have circular dependencies with other libraries outside that directory (in this case, samba-hostconfig). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 10 23:13:01 CET 2012 on sn-devel-104 | |||||
2012-03-08 | lib/util: Add a callback facility for debug messages | Andrew Bartlett | 2 | -14/+52 | |
This will allow dlz_bind9 to put log messages somewhere useful, which may make it easier to debug. Andrew Bartlett | |||||
2012-03-04 | change low FDs are handled in Samba | Andrew Bartlett | 3 | -12/+23 | |
We now only close fds 0, 1, 2 when we are a forked daemon, and take care not to close a file descriptor that we might need for foreground stdin monitoring. This should fix stdout logging in the lsa and epmapper deamons (ie in make test). Andrew Bartlett | |||||
2012-03-01 | build: look for backtrace_symbols in libexec | Andrew Bartlett | 1 | -1/+1 | |
2012-02-17 | lib/util: Remove unused sys_inet_makeaddr() | Andrew Bartlett | 2 | -11/+0 | |
Found by callcatcher. Andrew Bartlett | |||||
2012-02-17 | lib/util: Remove unused sys_gethostbyname() | Andrew Bartlett | 2 | -48/+0 | |
Found by callcatcher. Andrew Bartlett | |||||
2012-02-16 | lib/util: Remove sys_poll as it is no longer needed | Andrew Bartlett | 2 | -91/+0 | |
sys_poll() is only needed if the signal pipe is set up and used, but as no signal handler ever writes to the pipe, this can all be removed. signal based events are now handled via tevent. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-02-16 | lib/util: Remove unused sys_select_signal() | Andrew Bartlett | 2 | -19/+0 | |
Now sys_poll needs to be cleaned up not to refer to the pipe that is now not used. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-02-10 | lib/util: Remove unused str_format_nbt_domain() | Andrew Bartlett | 2 | -41/+0 | |
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett | |||||
2012-02-10 | charset: Remove unused strcmp_w() | Andrew Bartlett | 2 | -15/+0 | |
Found by callcatcher. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett | |||||
2012-02-10 | charset: Remove unused iconv_talloc() | Andrew Bartlett | 3 | -120/+1 | |
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett | |||||
2012-02-07 | charset/tests: Add prototypes for test functions. | Jelmer Vernooij | 2 | -0/+7 | |
2012-02-06 | lib/util: Add hex_encode_buf | Volker Lendecke | 2 | -9/+21 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Feb 6 09:15:33 CET 2012 on sn-devel-104 | |||||
2012-02-03 | loadparm: fix a load of uninitialized memory errors found by valgrind. | Michael Adam | 1 | -1/+1 | |
2012-01-25 | Introduce dump_data_file | Volker Lendecke | 2 | -0/+17 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jan 25 11:57:18 CET 2012 on sn-devel-104 |