On Tue, Oct 20, 2015 at 11:45:59AM +0200, Jan Stary wrote: > My script(1) just got killed with > > script(15938): syscall 37
Can you provide a reproducible test case? What did you do? > > Surely this is due to breaking a pledge(2), > but grepping /usr/src/usr.bin/script for "pledge" > does not reveal anything. Your tree is out of date: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/script/script.c.diff?r1=1.30&r2=1.31&f=h There were a number of posts on tech@ that showed how to debug/report pledge issues: An older one by semarie@: https://marc.info/?l=openbsd-tech&m=144412493925465&w=2 and one by deraadt@: https://marc.info/?l=openbsd-tech&m=144469071208559&w=2 see also http://undeadly.org/cgi?action=article&sid=20151013162536