summaryrefslogtreecommitdiff
path: root/source3/lib/fault.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-01Use 'regular' chown, libreplace will provide (dummy) replacement if necessary.Jelmer Vernooij1-1/+1
2008-06-27Do not segfault if corepath is not set up properlyVolker Lendecke1-0/+5
(This used to be commit 41d1b9541ccb802f01f12038b3b81853b3b7c32d)
2008-01-27We need to leave the corepath aroundVolker Lendecke1-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 (This used to be commit 3959b1954b02405ec174497fa17e345ca6d5ee94)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-1/+1
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-11-29Fix memleak.Jeremy Allison1-0/+1
Jeremy. (This used to be commit ccacd170472869391bd1e5bc850b1467492b8fa3)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison1-8/+21
one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
2007-10-10r25150: don't recursivly call call dump_core()Stefan Metzmacher1-0/+8
as currently seen in 'make test' localy and in the farm metze (This used to be commit f41efe01b5a22889f5b18916df9a2f924263e7f9)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22320: Be more careful and check for the euid instead of the uid.Lars Müller1-1/+1
Thx for the hint James! (This used to be commit 72be9766a9b3a860717222a86d636c1dbbf61b12)
2007-10-10r22318: If we're running as non root we might not be able to dump the core fileLars Müller1-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. (This used to be commit 0814a3acbe0fe40badf88690ab61d8ad106419d6)
2007-10-10r22107: Fix typo.James Peach1-1/+1
(This used to be commit fd056b2426dea059fec50fe1c90e4fdd48f916d7)
2007-10-10r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error messageJames Peach1-1/+6
in core dump path. (This used to be commit 9a51fba71c5fa7082c331e1a78a98638d9aa06cf)
2007-10-10r15631: Add a new option "enable core files". Administrators can use this toJames Peach1-0/+9
disable automatic core file dumping. Core files are enabled by default. (This used to be commit b59189280057849b67ac65f31cec23b859e21c91)
2007-10-10r14898: This change is an attempt to improve the quality of the information thatJames Peach1-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. (This used to be commit 56bc02d64498eb3faf89f0c5452b9299daea8e95)
2007-10-10r9353: Updating troublshooting error message.John Terpstra1-1/+2
(This used to be commit 7744de8ead6aef67278368e407dd1db8b9437348)
2004-01-22* Add SIGABRT to fault handlingStefan Metzmacher1-3/+6
so we now got a backtrace, if we crash in libldap with SIGABRT metze (This used to be commit b5e814294eb3ce44131084d89014cb8a8840fe74)
2003-08-20metze's autogenerate patch for version.hGerald Carter1-1/+1
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-04-07BUGS.txt -> Bugs appendix in HOWTO CollectionJelmer Vernooij1-1/+1
(This used to be commit f95741ae882ad1d1e7f709e30ea3bae02a4aff2d)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-3/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2000-05-02Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison1-1/+1
of doing a system call every time we want to just get our pid. Jeremy. (This used to be commit 148628b616b5c29ba6340d65fc3ddbcabba6e67a)
1998-08-21added new smb.conf option "panic action". see my samba-technicalAndrew Tridgell1-3/+1
explanation. (This used to be commit c6899df44c34088a4d2bf1edc840320b0ba7e32e)
1998-08-11make sure that a fault cannot occur twice. The new Debug1() code isAndrew Tridgell1-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 ... (This used to be commit 83122bae2253221f085118c6e7e914982656bd64)
1998-07-29merge from the autoconf2 branch to the main branchAndrew Tridgell1-4/+4
(This used to be commit 3bda7ac417107a7b01d91805ca71c4330657ed21)
1998-04-13Changes to allow Samba to be compiled with -Wstrict-prototypesJeremy Allison1-2/+2
with gcc. (Not a big change although it looks like it :-). Jeremy. (This used to be commit cd2613c57261456485fe4eeecfda209ada70de8e)
1998-01-22This is *not* a big change (although it looks like one).Jeremy Allison1-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. (This used to be commit b9c16977231efb274e08856f7f3f4408dad6d96c)
1997-05-08'The mother of all checkins' :-). Jeremy Allison (jallison@whistle.com)Samba Release Account1-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. (This used to be commit cf23a155a1315f50d488794a2caf88402bf3e3e6)
1996-10-24- added support for TMPDIR env variableAndrew Tridgell1-4/+0
- fixed fault.c for linux 2.1 - put back in the FIND_SELF failing code - cleaned up casts in encryption (This used to be commit 3af04f1580b2569c0a4f2549bf6352c7a25afa0d)
1996-05-04Initial version imported to CVS Samba Release Account1-0/+86
(This used to be commit 291551d80711daab7b7581720bcd9a08d6096517)