Author: mjg
Date: Fri May 4 22:41:12 2018
New Revision: 333266
URL: https://svnweb.freebsd.org/changeset/base/333266
Log:
amd64: syscall path bcopy -> memcpy
Modified:
head/sys/amd64/amd64/trap.c
Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c Fri May 4 22:33:54 2018 (r333265)
+++ head/sys/amd64/amd64/trap.c Fri May 4 22:41:12 2018 (r333266)
@@ -908,7 +908,7 @@ cpu_fetch_syscall_args(struct thread *td)
error = 0;
argp = &frame->tf_rdi;
argp += reg;
- bcopy(argp, sa->args, sizeof(sa->args[0]) * 6);
+ memcpy(sa->args, argp, sizeof(sa->args[0]) * 6);
if (sa->narg > regcnt) {
KASSERT(params != NULL, ("copyin args with no params!"));
error = copyin(params, &sa->args[regcnt],
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"