Date: Sun, 19 May 2013 18:37:39 -0500 From: Adam Vande More <amvandemore@gmail.com> To: Chagin Dmitry <dchagin@freebsd.org> Cc: "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org> Subject: Re: Lin?ux?u?la?tor problem Message-ID: <CA%2BtpaK3dK6on6w2kAagYkpAJ=AXfxOoNMy2ESC_qmgYre-am3Q@mail.gmail.com> In-Reply-To: <20130519193536.GA7805@dchagin.static.corbina.net> References: <CA%2BtpaK05S8UZLkWS1rvnzV%2BR4JR1vtf7Z7xdcAY1PBYHk2SZhA@mail.gmail.com> <20130519193536.GA7805@dchagin.static.corbina.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 19, 2013 at 2:35 PM, Chagin Dmitry <dchagin@freebsd.org> wrote: > please, try with: > > diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c > index a66a62d..cae7d71 100644 > --- a/sys/compat/linux/linux_socket.c > +++ b/sys/compat/linux/linux_socket.c > @@ -645,6 +645,9 @@ linux_socket(struct thread *td, struct linux_socket_args *args) > } */ bsd_args; > int retval_socket, socket_flags; > > + uprintf("socket %d, %d, %d", args->domain, args->type, > + args->protocol); > + > bsd_args.protocol = args->protocol; > socket_flags = args->type & ~LINUX_SOCK_TYPE_MASK; > if (socket_flags & ~(LINUX_SOCK_CLOEXEC | LINUX_SOCK_NONBLOCK)) > > > and show result. It gave the output: socket 2, 10, 768 -- Adam Vande More
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK3dK6on6w2kAagYkpAJ=AXfxOoNMy2ESC_qmgYre-am3Q>