PERFORCE change 175270 for review

Stanislav Sedov stas at FreeBSD.org
Tue Mar 2 01:15:33 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=175270

Change 175270 by stas at stas_orion on 2010/03/02 01:14:52

	- Fix FreeBSD wrapper for socketpair(2) syscall (incorrect argument
	  size).
	Submitted by:	Jilles Tjoelker <jilles at stack.nl>

Affected files ...

.. //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#46 edit

Differences ...

==== //depot/projects/valgrind/coregrind/m_syswrap/syswrap-freebsd.c#46 (text+ko) ====

@@ -539,7 +539,7 @@
 {
    PRINT("sys_socketpair ( %ld, %ld, %ld, %#lx )",ARG1,ARG2,ARG3,ARG4);
    PRE_REG_READ4(long, "socketpair",
-                 int, d, int, type, int, protocol, int [2], sv);
+                 int, d, int, type, int, protocol, int *, sv);
    ML_(generic_PRE_sys_socketpair)(tid, ARG1,ARG2,ARG3,ARG4);
 }
 POST(sys_socketpair)


More information about the p4-projects mailing list