summaryrefslogtreecommitdiff
path: root/lib/util/fault.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-29Start to add truncate checks on all uses of strlcpy(). Reading lwnJeremy Allison1-15/+15
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-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij1-1/+1
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-15util: Add --disable-fault-handling.Ira Cooper1-0/+2
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.
2011-10-04lib/util: make sure panic action can attach a debugger on ubuntu (>=10.10)Stefan Metzmacher1-0/+7
By default user processes can't attach a debugger to a process. So explicitly allow that for all child processes, before calling the panic action script. metze
2011-07-13s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell1-1/+1
this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-04Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison1-1/+1
2011-03-23fault: get fault.c ready for use by s4Andrew Tridgell1-293/+67
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c, and uses a function pointer to setup which smb_panic call to use
2011-03-23fault: moved s3 fault.c to top levelAndrew Tridgell1-0/+380
2011-03-23fault: rename fault.c to fault_s4.cAndrew Tridgell1-236/+0
this is in preparation for merging the s3 fault code into common
2011-03-10lib/util/fault.c - "call_backtrace" - no need to have "backtrace_size" as size_tMatthias Dieter Wallnöfer1-1/+1
The function "backtrace" returns an "int".
2010-12-21s4-dns: disable segfault handling in dlz_bind9Andrew Tridgell1-2/+12
we don't want bind9 calling the Samba segv handler
2010-12-06lib/util/fault.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer1-1/+1
According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
2010-02-23libutil: Remove obsolete signal type cast.Andreas Schneider1-5/+5
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+226
Conflicts: source4/Makefile