linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] avr32: wire up accept4 syscall
@ 2016-01-05 21:21 Mans Rullgard
  2016-01-06  7:22 ` Hans-Christian Noren Egtvedt
  0 siblings, 1 reply; 2+ messages in thread
From: Mans Rullgard @ 2016-01-05 21:21 UTC (permalink / raw)
  To: Haavard Skinnemoen, Hans-Christian Egtvedt, linux-kernel

The accept4 syscall is missing on AVR32.  Fix this.

Signed-off-by: Mans Rullgard <mans@mansr.com>
---
 arch/avr32/include/uapi/asm/unistd.h | 1 +
 arch/avr32/kernel/syscall_table.S    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/avr32/include/uapi/asm/unistd.h b/arch/avr32/include/uapi/asm/unistd.h
index bbe2fba565cd..40cd523615d8 100644
--- a/arch/avr32/include/uapi/asm/unistd.h
+++ b/arch/avr32/include/uapi/asm/unistd.h
@@ -333,5 +333,6 @@
 #define __NR_memfd_create	318
 #define __NR_bpf		319
 #define __NR_execveat		320
+#define __NR_accept4		321
 
 #endif /* _UAPI__ASM_AVR32_UNISTD_H */
diff --git a/arch/avr32/kernel/syscall_table.S b/arch/avr32/kernel/syscall_table.S
index c3b593bfc3b3..6fa80a42dc23 100644
--- a/arch/avr32/kernel/syscall_table.S
+++ b/arch/avr32/kernel/syscall_table.S
@@ -334,4 +334,5 @@ sys_call_table:
 	.long	sys_memfd_create
 	.long	sys_bpf
 	.long	sys_execveat		/* 320 */
+	.long	sys_accept4
 	.long	sys_ni_syscall		/* r8 is saturated at nr_syscalls */
-- 
2.6.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] avr32: wire up accept4 syscall
  2016-01-05 21:21 [PATCH] avr32: wire up accept4 syscall Mans Rullgard
@ 2016-01-06  7:22 ` Hans-Christian Noren Egtvedt
  0 siblings, 0 replies; 2+ messages in thread
From: Hans-Christian Noren Egtvedt @ 2016-01-06  7:22 UTC (permalink / raw)
  To: Mans Rullgard; +Cc: Haavard Skinnemoen, linux-kernel

Around Tue 05 Jan 2016 21:21:45 +0000 or thereabout, Mans Rullgard wrote:
> The accept4 syscall is missing on AVR32.  Fix this.
> 
> Signed-off-by: Mans Rullgard <mans@mansr.com>

Thank you.

Acked-by: Hans-Christian Noren Egtvedt <egtvedt@samfundet.no>

I'll add it to my for-linus branch and push for next merge window.

> ---
>  arch/avr32/include/uapi/asm/unistd.h | 1 +
>  arch/avr32/kernel/syscall_table.S    | 1 +
>  2 files changed, 2 insertions(+)

<snipp diff>

-- 
Best regards, Hans-Christian Noren Egtvedt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-06  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-05 21:21 [PATCH] avr32: wire up accept4 syscall Mans Rullgard
2016-01-06  7:22 ` Hans-Christian Noren Egtvedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).