PERFORCE change 144344 for review

John Birrell jb at FreeBSD.org
Mon Jun 30 06:49:05 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=144344

Change 144344 by jb at freebsd3 on 2008/06/30 06:48:26

	Add a hack to work around the fact that Linux emulation hides
	pointer references in typedefs, making it hard to work out a
	suitable cast.

Affected files ...

.. //depot/projects/dtrace/src/sys/kern/makesyscalls.sh#14 edit

Differences ...

==== //depot/projects/dtrace/src/sys/kern/makesyscalls.sh#14 (text+ko) ====

@@ -328,7 +328,7 @@
 			printf("\t\tstruct %s *p = params;\n", argalias) > systrace
 			for (i = 1; i <= argc; i++) {
 				printf("\t\tcase %d:\n\t\t\tp = \"%s\";\n\t\t\tbreak;\n", i - 1, argtype[i]) > systracetmp
-				if (index(argtype[i], "*") > 0 || argtype[i] == "caddr_t")
+				if (index(argtype[i], "*") > 0 || argtype[i] == "caddr_t" || argtype[i] == "l_handler_t")
 					printf("\t\tuarg[%d] = (intptr_t) p->%s; /* %s */\n", \
 					     i - 1, \
 					     argname[i], argtype[i]) > systrace


More information about the p4-projects mailing list