Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Mar 2010 01:15:32 GMT
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 175270 for review
Message-ID:  <201003020115.o221FWKh044477@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=175270

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

	- Fix FreeBSD wrapper for socketpair(2) syscall (incorrect argument
	  size).
	Submitted by:	Jilles Tjoelker <jilles@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)



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