summaryrefslogtreecommitdiffstats
path: root/source/lib/fault.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug that prevent core files from being createdTim Prouty2009-03-061-1/+0
| | | | | | | | Removed an erroneous free() that was causing the corepath to be NULL during dump_core(). This prevented dump_core() from actually calling abort() to create a core file. The bug was introduced in December by: 0994b094569474d47e7b98e39438829e962a27e1 (cherry picked from commit a70bb435d339df52eef56fb0c5788534252d7ab7)
* Fix all warnings with gcc4.3.Jeremy Allison2009-01-021-4/+30
| | | | | Jeremy. (cherry picked from commit 0994b094569474d47e7b98e39438829e962a27e1)
* Do not segfault if corepath is not set up properlyVolker Lendecke2008-06-271-0/+5
|
* We need to leave the corepath aroundVolker Lendecke2008-01-271-1/+0
| | | | | | | | | In case we need to dump core, in line 191 we dereference corepath to be able to chdir there. Jeremy, please check! Volker
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-1/+1
| | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy.
* Fix memleak.Jeremy Allison2007-11-291-0/+1
| | | | Jeremy.
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-8/+21
| | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy.
* r25150: don't recursivly call call dump_core()Stefan Metzmacher2007-10-101-0/+8
| | | | | | as currently seen in 'make test' localy and in the farm metze
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r22320: Be more careful and check for the euid instead of the uid.Lars Müller2007-10-101-1/+1
| | | | Thx for the hint James!
* r22318: If we're running as non root we might not be able to dump the core fileLars Müller2007-10-101-0/+7
| | | | | | | | | | | | | | to the corepath. Even the chdir() will fail if the LOGFILEBASE path is set 0700. If the currrent user doesn't have the permission to create the core file we end with: unable to change to <LOGFILEBASE> refusing to dump core The alternative would be to change the permissions of the directory. But taht would not ensure core dumps are working out of the box.
* r22107: Fix typo.James Peach2007-10-101-1/+1
|
* r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error messageJames Peach2007-10-101-1/+6
| | | | in core dump path.
* r15631: Add a new option "enable core files". Administrators can use this toJames Peach2007-10-101-0/+9
| | | | disable automatic core file dumping. Core files are enabled by default.
* r14898: This change is an attempt to improve the quality of the information thatJames Peach2007-10-101-2/+95
| | | | | | | | | | | | | | | | | is produced when a process exits abnormally. First, we coalesce the core dumping code so that we greatly improve our odds of being able to produce a core file, even in the case of a memory fault. I've removed duplicates of dump_core() and split it in two to reduce the amount of work needed to actually do the dump. Second, we refactor the exit_server code path to always log an explanation and a stack trace. My goal is to always produce enough log information for us to be able to explain any server exit, though there is a risk that this could produce too much log information on a flaky network. Finally, smbcontrol has gained a smbd fault injection operation to test the changes above. This is only enabled for developer builds.
* r9353: Updating troublshooting error message.John Terpstra2007-10-101-1/+2
|
* * Add SIGABRT to fault handlingStefan Metzmacher2004-01-221-3/+6
| | | | | | | so we now got a backtrace, if we crash in libldap with SIGABRT metze
* metze's autogenerate patch for version.hGerald Carter2003-08-201-1/+1
|
* BUGS.txt -> Bugs appendix in HOWTO CollectionJelmer Vernooij2003-04-071-1/+1
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-3/+0
|
* Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2000-05-021-1/+1
| | | | | of doing a system call every time we want to just get our pid. Jeremy.
* added new smb.conf option "panic action". see my samba-technicalAndrew Tridgell1998-08-211-3/+1
| | | | explanation.
* make sure that a fault cannot occur twice. The new Debug1() code isAndrew Tridgell1998-08-111-18/+22
| | | | | | | causing seg faults on my machine and because the fault code calls DEBUG() it is looping! now to find the bug in the Debug1() code ...
* merge from the autoconf2 branch to the main branchAndrew Tridgell1998-07-291-4/+4
|
* Changes to allow Samba to be compiled with -Wstrict-prototypesJeremy Allison1998-04-131-2/+2
| | | | | | with gcc. (Not a big change although it looks like it :-). Jeremy.
* This is *not* a big change (although it looks like one).Jeremy Allison1998-01-221-1/+1
| | | | | | | This is merely updating the Copyright statements from 1997 to 1998. It's a once a year thing :-). NO OTHER CHANGES WERE MADE. Jeremy.
* 'The mother of all checkins' :-). Jeremy Allison (jallison@whistle.com)Samba Release Account1997-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wed May 7 1997: Update for 1.9.17alpha1 release - 'browsefix release' designed to make browsing across subnets work. byteorder.h: Updated copyright to 1997. charcnv.c: Updated copyright to 1997. charset.c Updated copyright to 1997. charset.h Updated copyright to 1997. client.c Updated copyright to 1997. clientutil.c Updated copyright to 1997. dir.c Updated copyright to 1997. fault.c Updated copyright to 1997. includes.h Updated copyright to 1997. interface.c Updated copyright to 1997. ipc.c Updated copyright to 1997. kanji.c Updated copyright to 1997. kanji.h Updated copyright to 1997. loadparm.c Updated copyright to 1997. locking.c Updated copyright to 1997. mangle.c Updated copyright to 1997. message.c Updated copyright to 1997. nameannounce.c Made use of WINS subnet explicit. Added reset_announce_timer() so announcement can be made immediately when we become a master. Expanded code to do sync with dmb. namebrowse.c Removed redundent checks for AM_MASTER in sync code. Made use of WINS subnet explicit. namedbname.c Made use of WINS subnet explicit. namedbresp.c Made use of WINS subnet explicit. namedbserver.c Made use of WINS subnet explicit. namedbsubnet.c Explicitly add workgroup to WINS subnet when we become a dmb. Made use of WINS subnet explicit. namedbwork.c Made use of WINS subnet explicit. Removed redundent check_work_servertype() function. nameelect.c Explicitly add workgroup to WINS subnet when we become a master browser. Made use of WINS subnet explicit. namelogon.c Updated copyright to 1997. namepacket.c Updated copyright to 1997. namequery.c Updated copyright to 1997. nameresp.c Made use of WINS subnet explicit. Made nmbd fail if configured as master browser and one exists already. nameserv.c Made use of WINS subnet explicit. Remove redundent logon server and domain master code. nameserv.h Add emumerate subnet macros. nameservreply.c Made use of WINS subnet explicit. nameservresp.c Updated copyright to 1997. namework.c Made use of WINS subnet explicit. Updated code to add sync browser entries to add subnet parameter. nmbd.c Added sanity check for misconfigured nmbd. nmblib.c Updated copyright to 1997. nmblookup.c Updated copyright to 1997. nmbsync.c Removed redundent AM_ANY_MASTER check. params.c Updated copyright to 1997. password.c Updated copyright to 1997. pipes.c Updated copyright to 1997. predict.c Updated copyright to 1997. printing.c Updated copyright to 1997. proto.h Changed protos for new nmbd code. quotas.c Updated copyright to 1997. replace.c Updated copyright to 1997. reply.c Updated copyright to 1997. server.c Updated copyright to 1997. shmem.c Updated copyright to 1997. smb.h Updated copyright to 1997. smbencrypt.c Updated copyright to 1997. smbpasswd.c Updated copyright to 1997. smbrun.c Updated copyright to 1997. status.c Updated copyright to 1997. system.c Updated copyright to 1997. testparm.c Updated copyright to 1997. testprns.c Updated copyright to 1997. time.c Updated copyright to 1997. trans2.c Updated copyright to 1997. trans2.h Updated copyright to 1997. uid.c Updated copyright to 1997. username.c Updated copyright to 1997. util.c Updated copyright to 1997. version.h Changed to 1.9.17alpha1.
* - added support for TMPDIR env variableAndrew Tridgell1996-10-241-4/+0
| | | | | | - fixed fault.c for linux 2.1 - put back in the FIND_SELF failing code - cleaned up casts in encryption
* Initial version imported to CVS Samba Release Account1996-05-041-0/+86