[Bug 210800] hung process using ktrace with cloudabi

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 12 08:12:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210800

--- Comment #5 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ed
Date: Tue Jul 12 06:25:28 UTC 2016
New revision: 302627
URL: https://svnweb.freebsd.org/changeset/base/302627

Log:
  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

Changes:
_U  stable/11/
  stable/11/sys/amd64/cloudabi64/cloudabi64_sysvec.c
  stable/11/sys/arm64/cloudabi64/cloudabi64_sysvec.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list