FreeBSD Bugzilla – Attachment 172143 Details for
Bug 210800
hung process using ktrace with cloudabi
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Properly set sa->narg
ktrace.diff (text/plain), 939 bytes, created by
Ed Schouten
on 2016-07-05 14:27:58 UTC
(
hide
)
Description:
Properly set sa->narg
Filename:
MIME Type:
Creator:
Ed Schouten
Created:
2016-07-05 14:27:58 UTC
Size:
939 bytes
patch
obsolete
>Index: sys/amd64/cloudabi64/cloudabi64_sysvec.c >=================================================================== >--- sys/amd64/cloudabi64/cloudabi64_sysvec.c (revision 302343) >+++ sys/amd64/cloudabi64/cloudabi64_sysvec.c (working copy) >@@ -96,6 +96,7 @@ > if (sa->code >= CLOUDABI64_SYS_MAXSYSCALL) > return (ENOSYS); > sa->callp = &cloudabi64_sysent[sa->code]; >+ sa->narg = sa->callp->sy_narg; > > /* Fetch system call arguments. */ > sa->args[0] = frame->tf_rdi; >Index: sys/arm64/cloudabi64/cloudabi64_sysvec.c >=================================================================== >--- sys/arm64/cloudabi64/cloudabi64_sysvec.c (revision 302343) >+++ sys/arm64/cloudabi64/cloudabi64_sysvec.c (working copy) >@@ -77,6 +77,7 @@ > if (sa->code >= CLOUDABI64_SYS_MAXSYSCALL) > return (ENOSYS); > sa->callp = &cloudabi64_sysent[sa->code]; >+ sa->narg = sa->callp->sy_narg; > > /* Fetch system call arguments. */ > for (i = 0; i < MAXARGS; i++)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210800
: 172143