On Thu, Oct 01, 2015 at 01:32:54PM +0800, johnw wrote:
> Hi all,
> 
> After upgrade to 30-Sep-2015 12:20 snapshot (AMD64),
> (download from http://ftp.openbsd.org)
> 
> I noticed /bin/sleep with run tame(2) call, but I can not find any tame call
> in source code (cvsweb.openbsd.org).

snapshots occasionnally contains uncommited patchs for testing purpose.
Here, it is the case for tame(2) call in sleep(1).

> when I run sleep:
> john@pdc:[~]$ sleep
> Killed
> then I run dmesg, the last line show me
> sleep(31307): syscall 4
>

thanks to reported this kind of problem.

syscall 4 is for SYS_write (see /usr/include/sys/syscall.h).

It means the request in the (uncommited) tame call in sleep is wrong: it
should be expected to the program to call usage() as some point. 

It means also a dev will not have cookie :)

Thanks.
-- 
Sebastien Marie

Reply via email to