Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2016 08:12:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 210800] hung process using ktrace with cloudabi
Message-ID:  <bug-210800-6-bSKN1oZdfa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210800-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210800-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210800

--- Comment #5 from commit-hook@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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210800-6-bSKN1oZdfa>