Re: [PATCH 1/2] [RFC] m68k: Wire up direct socket calls

From: Geert Uytterhoeven
Date: Fri Sep 11 2015 - 05:59:22 EST


On Sun, Sep 6, 2015 at 12:06 PM, Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> wrote:
> diff --git a/arch/m68k/include/uapi/asm/unistd.h b/arch/m68k/include/uapi/asm/unistd.h
> index 61fb6cb9d2ae3c66..bf168d5ec3d96d32 100644
> --- a/arch/m68k/include/uapi/asm/unistd.h
> +++ b/arch/m68k/include/uapi/asm/unistd.h
> @@ -361,5 +361,20 @@
> #define __NR_memfd_create 353
> #define __NR_bpf 354
> #define __NR_execveat 355
> +#define __NR_socket 356
> +#define __NR_socketpair 357
> +#define __NR_bind 358
> +#define __NR_connect 359
> +#define __NR_listen 360
> +#define __NR_accept4 361
> +#define __NR_getsockopt 362
> +#define __NR_setsockopt 363
> +#define __NR_getsockname 364
> +#define __NR_getpeername 365
> +#define __NR_sendto 366
> +#define __NR_sendmsg 367
> +#define __NR_recvfrom 368
> +#define __NR_recvmsg 369
> +#define __NR_shutdown 370

Doh, I missed sendmmsg() and recvmmsg(). Will send an update series after
I have added a patch with the direct IPC calls.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/