plan9fox/sys
cinap_lenrek 83fe7aaa5c upas/smtpd: don't call syslog() from the note handler, this can deadlock
when the alarm hits while the process is currently in syslog(), holding
the sl lock, then calling syslog again will deadlock:

/proc/1729193/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: lstk()
sleep()+0x7 /sys/src/libc/9syscall/sleep.s:5
lock(lk=0x394d8)+0xb7 /sys/src/libc/port/lock.c:25
	i=0x3e8
syslog(logname=0x41c64,cons=0x0,fmt=0x41c6a)+0x2d /sys/src/libc/9sys/syslog.c:60
	err=0x79732f27
	d=0x0
	ctim=0x0
	buf=0x0
	p=0x0
	arg=0x0
	n=0x0
catchalarm(msg=0xdfffc854)+0x7a /sys/src/cmd/upas/smtp/smtpd.c:71
notifier+0x30 /sys/src/libc/port/atnotify.c:15
2017-10-23 06:08:18 +02:00
..
doc /sys/doc: fix mkfile to and remove files that now can be regenerated 2017-05-09 16:23:48 +02:00
games/lib fortunes: does that me a dipshit 2016-10-16 14:16:17 -04:00
include libsec: make sectorNumber argument for aes_xts routines uvlong 2017-10-17 21:36:45 +02:00
lib hgwebfs: simplify retry loop construction 2017-10-04 05:06:54 +02:00
man libc: cleanup atexit and put exits() in its own compilation unit 2017-10-20 20:58:38 +02:00
src upas/smtpd: don't call syslog() from the note handler, this can deadlock 2017-10-23 06:08:18 +02:00