Lin?ux?u?la?tor problem
Adam Vande More
amvandemore at gmail.com
Sun May 19 23:46:00 UTC 2013
On Sun, May 19, 2013 at 2:35 PM, Chagin Dmitry <dchagin at 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
More information about the freebsd-emulation
mailing list