Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2017 14:25:50 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r313770 - head/sys/amd64/linux
Message-ID:  <201702151425.v1FEPoYm071828@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Wed Feb 15 14:25:50 2017
New Revision: 313770
URL: https://svnweb.freebsd.org/changeset/base/313770

Log:
  Regen after r313769.
  
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL

Modified:
  head/sys/amd64/linux/linux_proto.h
  head/sys/amd64/linux/linux_systrace_args.c

Modified: head/sys/amd64/linux/linux_proto.h
==============================================================================
--- head/sys/amd64/linux/linux_proto.h	Wed Feb 15 14:12:39 2017	(r313769)
+++ head/sys/amd64/linux/linux_proto.h	Wed Feb 15 14:25:50 2017	(r313770)
@@ -423,8 +423,8 @@ struct linux_times_args {
 struct linux_ptrace_args {
 	char req_l_[PADL_(l_long)]; l_long req; char req_r_[PADR_(l_long)];
 	char pid_l_[PADL_(l_long)]; l_long pid; char pid_r_[PADR_(l_long)];
-	char addr_l_[PADL_(l_long)]; l_long addr; char addr_r_[PADR_(l_long)];
-	char data_l_[PADL_(l_long)]; l_long data; char data_r_[PADR_(l_long)];
+	char addr_l_[PADL_(l_ulong)]; l_ulong addr; char addr_r_[PADR_(l_ulong)];
+	char data_l_[PADL_(l_ulong)]; l_ulong data; char data_r_[PADR_(l_ulong)];
 };
 struct linux_getuid_args {
 	register_t dummy;

Modified: head/sys/amd64/linux/linux_systrace_args.c
==============================================================================
--- head/sys/amd64/linux/linux_systrace_args.c	Wed Feb 15 14:12:39 2017	(r313769)
+++ head/sys/amd64/linux/linux_systrace_args.c	Wed Feb 15 14:25:50 2017	(r313770)
@@ -874,8 +874,8 @@ systrace_args(int sysnum, void *params, 
 		struct linux_ptrace_args *p = params;
 		iarg[0] = p->req; /* l_long */
 		iarg[1] = p->pid; /* l_long */
-		iarg[2] = p->addr; /* l_long */
-		iarg[3] = p->data; /* l_long */
+		iarg[2] = p->addr; /* l_ulong */
+		iarg[3] = p->data; /* l_ulong */
 		*n_args = 4;
 		break;
 	}
@@ -3971,10 +3971,10 @@ systrace_entry_setargdesc(int sysnum, in
 			p = "l_long";
 			break;
 		case 2:
-			p = "l_long";
+			p = "l_ulong";
 			break;
 		case 3:
-			p = "l_long";
+			p = "l_ulong";
 			break;
 		default:
 			break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702151425.v1FEPoYm071828>