git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eee439
)
s3:smbd: Make clear that we got a suicide packet
author
Andreas Schneider
<asn@samba.org>
Thu, 21 Mar 2019 10:17:58 +0000
(11:17 +0100)
committer
Jeremy Allison
<jra@samba.org>
Thu, 21 Mar 2019 20:38:32 +0000
(20:38 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/process.c
patch
|
blob
|
history
diff --git
a/source3/smbd/process.c
b/source3/smbd/process.c
index 90cab33a761f9420b53c83f272a8dfe410dd6ffd..d6545101f0157f1541392f2d80cd383f4fd62066 100644
(file)
--- a/
source3/smbd/process.c
+++ b/
source3/smbd/process.c
@@
-1984,8
+1984,8
@@
static void process_smb(struct smbXsrv_connection *xconn,
(IVAL(inbuf, 4) == SMB_SUICIDE_PACKET) &&
lp_parm_bool(-1, "smbd", "suicide mode", false)) {
uint8_t exitcode = CVAL(inbuf, 8);
- D
EBUG(1, ("
Exiting immediately with code %d\n",
-
(int)exitcode)
);
+ D
BG_WARNING("SUICIDE:
Exiting immediately with code %d\n",
+
(int)exitcode
);
exit(exitcode);
}