Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1219910
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Greg Ungerer <gerg@uclinux.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2] [RFC] m68k: Wire up direct socket calls |
| Date | Mon, 07 Sep 2015 05:30:02 +0200 |
| Message-ID | <q5Vi2-1Rk-1@gated-at.bofh.it> (permalink) |
| References | <q5F3z-44q-1@gated-at.bofh.it> |
| X-Original-To | Geert Uytterhoeven <geert@linux-m68k.org>, Andreas Schwab <schwab@linux-m68k.org> |
| X-Ironport-Anti-Spam-Filtered | true |
| X-Ironport-Anti-Spam-Result | ArcBAHMC7VVnMNI1/2dsb2JhbAANUYRgqUwBAQEBAQEGm38CgW8BAQEBAQGFLwEBBHgBEAsNCwkWDwkDAgECAUUGAQwGAgEBu3CUbAEBAQEBAQEBAQEBAQEBAQEchiyFQoUMB4QsAQSHM44ilgyNL4Q2hDhfiEkBAQE |
| X-Ironport-Av | E=Sophos;i="5.17,482,1437408000"; d="scan'208";a="380022428" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 7bit |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 88 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Mon, 7 Sep 2015 13:24:39 +1000 |
| X-Original-Message-ID | <55ED0377.4020603@uclinux.org> |
| X-Original-References | <1441533991-23853-1-git-send-email-geert@linux-m68k.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1219910 |
Show key headers only | View raw
Hi Geert, On 06/09/15 20:06, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Both of these syscall patches look good to me: Acked-by: Greg Ungerer <gerg@uclinux.org> Regards Greg > --- > arch/m68k/include/asm/unistd.h | 2 +- > arch/m68k/include/uapi/asm/unistd.h | 15 +++++++++++++++ > arch/m68k/kernel/syscalltable.S | 16 +++++++++++++++- > 3 files changed, 31 insertions(+), 2 deletions(-) > > diff --git a/arch/m68k/include/asm/unistd.h b/arch/m68k/include/asm/unistd.h > index 244e0dbe45dbeda3..47d6b7153960274e 100644 > --- a/arch/m68k/include/asm/unistd.h > +++ b/arch/m68k/include/asm/unistd.h > @@ -4,7 +4,7 @@ > #include <uapi/asm/unistd.h> > > > -#define NR_syscalls 356 > +#define NR_syscalls 371 > > #define __ARCH_WANT_OLD_READDIR > #define __ARCH_WANT_OLD_STAT > 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 > > #endif /* _UAPI_ASM_M68K_UNISTD_H_ */ > diff --git a/arch/m68k/kernel/syscalltable.S b/arch/m68k/kernel/syscalltable.S > index a0ec4303f2c8e57a..2cec7cdc8e440f08 100644 > --- a/arch/m68k/kernel/syscalltable.S > +++ b/arch/m68k/kernel/syscalltable.S > @@ -376,4 +376,18 @@ ENTRY(sys_call_table) > .long sys_memfd_create > .long sys_bpf > .long sys_execveat /* 355 */ > - > + .long sys_socket > + .long sys_socketpair > + .long sys_bind > + .long sys_connect > + .long sys_listen /* 360 */ > + .long sys_accept4 > + .long sys_getsockopt > + .long sys_setsockopt > + .long sys_getsockname > + .long sys_getpeername /* 365 */ > + .long sys_sendto > + .long sys_sendmsg > + .long sys_recvfrom > + .long sys_recvmsg > + .long sys_shutdown /* 370 */ > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/2] [RFC] m68k: Wire up direct socket calls Geert Uytterhoeven <geert@linux-m68k.org> - 2015-09-06 12:10 +0200 [PATCH 2/2] m68k: Wire up userfaultfd Geert Uytterhoeven <geert@linux-m68k.org> - 2015-09-06 12:10 +0200 Re: [PATCH 1/2] [RFC] m68k: Wire up direct socket calls Greg Ungerer <gerg@uclinux.org> - 2015-09-07 05:30 +0200 Re: [PATCH 1/2] [RFC] m68k: Wire up direct socket calls Geert Uytterhoeven <geert@linux-m68k.org> - 2015-09-11 12:00 +0200
csiph-web