From 5adc807f707535a5ce97b5d69472ee74d6d099ac Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 15 Oct 2012 02:23:22 -0400 Subject: avr32: switch to generic kernel_thread()/kernel_execve() Signed-off-by: Al Viro --- arch/avr32/include/asm/processor.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/avr32/include') diff --git a/arch/avr32/include/asm/processor.h b/arch/avr32/include/asm/processor.h index 87d8baccc60e..48d71c5c898a 100644 --- a/arch/avr32/include/asm/processor.h +++ b/arch/avr32/include/asm/processor.h @@ -142,9 +142,6 @@ struct task_struct; /* Free all resources held by a thread */ extern void release_thread(struct task_struct *); -/* Create a kernel thread without removing it from tasklists */ -extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); - /* Return saved PC of a blocked thread */ #define thread_saved_pc(tsk) ((tsk)->thread.cpu_context.pc) -- cgit v1.2.3 From 5fd0b580a9fda554eae27fff4953e6622bd792d7 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 15 Oct 2012 02:27:16 -0400 Subject: avr32: switch to generic sys_execve() Signed-off-by: Al Viro --- arch/avr32/include/asm/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/avr32/include') diff --git a/arch/avr32/include/asm/unistd.h b/arch/avr32/include/asm/unistd.h index 157b4bd3d5e5..641023d1bcb5 100644 --- a/arch/avr32/include/asm/unistd.h +++ b/arch/avr32/include/asm/unistd.h @@ -39,6 +39,7 @@ #define __ARCH_WANT_SYS_GETPGRP #define __ARCH_WANT_SYS_RT_SIGACTION #define __ARCH_WANT_SYS_RT_SIGSUSPEND +#define __ARCH_WANT_SYS_EXECVE /* * "Conditional" syscalls -- cgit v1.2.3 From 584271bcb45b50027c8d87b51634750780c92437 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sun, 21 Oct 2012 15:57:32 -0400 Subject: avr32: sanitize copy_thread(), switch to generic fork/vfork/clone, kill wrappers Signed-off-by: Al Viro --- arch/avr32/include/asm/unistd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/avr32/include') diff --git a/arch/avr32/include/asm/unistd.h b/arch/avr32/include/asm/unistd.h index 641023d1bcb5..f05a9804e8e2 100644 --- a/arch/avr32/include/asm/unistd.h +++ b/arch/avr32/include/asm/unistd.h @@ -40,6 +40,9 @@ #define __ARCH_WANT_SYS_RT_SIGACTION #define __ARCH_WANT_SYS_RT_SIGSUSPEND #define __ARCH_WANT_SYS_EXECVE +#define __ARCH_WANT_SYS_FORK +#define __ARCH_WANT_SYS_VFORK +#define __ARCH_WANT_SYS_CLONE /* * "Conditional" syscalls -- cgit v1.2.3 From 4f4202fe5ae9a43e59303f20d700571f695d7b1b Mon Sep 17 00:00:00 2001 From: Al Viro Date: Mon, 5 Nov 2012 12:59:15 -0500 Subject: unify default ptrace_signal_deliver Signed-off-by: Al Viro --- arch/avr32/include/asm/signal.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'arch/avr32/include') diff --git a/arch/avr32/include/asm/signal.h b/arch/avr32/include/asm/signal.h index 4d502fd6bad3..9326d182e9e5 100644 --- a/arch/avr32/include/asm/signal.h +++ b/arch/avr32/include/asm/signal.h @@ -37,6 +37,4 @@ struct k_sigaction { #include #undef __HAVE_ARCH_SIG_BITOPS -#define ptrace_signal_deliver(regs, cookie) do { } while (0) - #endif -- cgit v1.2.3