]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r302448:
authored <ed@FreeBSD.org>
Tue, 12 Jul 2016 06:25:28 +0000 (06:25 +0000)
committered <ed@FreeBSD.org>
Tue, 12 Jul 2016 06:25:28 +0000 (06:25 +0000)
commit33166d71434e04e189d98ff9b4cf81085e3e15b9
tree2e2d20ab169cd103540fef791699e6d6d7b97f1d
parentc610950f94c0899729905c29cd7345a7f980aee7
MFC r302448:

  Don't forget to set sa->narg for CloudABI system calls.

  It turns out that this value is not used within the system call code
  under normal conditions, except when using tracing tools like ktrace.
  If we forget to set this value, it is set to random garbage. This may
  cause ktrace to hang indefinitely, making it impossible to kill.

Approved by: re@
Reported by: Michael Plass
PR: 210800
sys/amd64/cloudabi64/cloudabi64_sysvec.c
sys/arm64/cloudabi64/cloudabi64_sysvec.c