aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/cloudabi64/cloudabi64_sysvec.c
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2021-07-10 19:25:38 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2021-07-10 19:26:01 +0000
commitd2b558281aadc266807e42ffb27d2108d308de46 (patch)
treee30472141037cc6d6cc36c2640e8bb20c36d418b /sys/amd64/cloudabi64/cloudabi64_sysvec.c
parent8fc2a3c41791b205a107dc2bec16ac7514a57958 (diff)
Revert "Pass the syscall number to capsicum permission-denied signals"
This broke the i386 build. This reverts commit 3a522ba1bc852c3d4660a4fa32e4a94999d09a47.
Diffstat (limited to 'sys/amd64/cloudabi64/cloudabi64_sysvec.c')
-rw-r--r--sys/amd64/cloudabi64/cloudabi64_sysvec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/cloudabi64/cloudabi64_sysvec.c b/sys/amd64/cloudabi64/cloudabi64_sysvec.c
index c08d912e84d4..d3893902b08e 100644
--- a/sys/amd64/cloudabi64/cloudabi64_sysvec.c
+++ b/sys/amd64/cloudabi64/cloudabi64_sysvec.c
@@ -98,7 +98,6 @@ cloudabi64_fetch_syscall_args(struct thread *td)
/* Obtain system call number. */
sa->code = frame->tf_rax;
- sa->original_code = sa->code;
if (sa->code >= CLOUDABI64_SYS_MAXSYSCALL)
return (ENOSYS);
sa->callp = &cloudabi64_sysent[sa->code];