diff for duplicates of <507ADBBB.9090209@gmail.com> diff --git a/a/1.txt b/N1/1.txt index 8114d2a..1903f40 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -84,3 +84,11 @@ I can test patches if you have any for me. Thanks, Daniel + +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: arm-execve-revert.diff +Type: text/x-patch +Size: 1511 bytes +Desc: not available +URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121014/bbce05db/attachment.bin> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index f5f0084..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,5 +0,0 @@ -Content-Type: text/x-patch; - name="arm-execve-revert.diff" -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; - filename="arm-execve-revert.diff" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 410b0a8..0000000 --- a/a/2.txt +++ /dev/null @@ -1,47 +0,0 @@ -diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig -index 261fdd0..1bc092e 100644 ---- a/arch/arm/Kconfig -+++ b/arch/arm/Kconfig -@@ -12,7 +12,6 @@ config ARM - select GENERIC_IRQ_PROBE - select GENERIC_IRQ_SHOW - select GENERIC_KERNEL_THREAD -- select GENERIC_KERNEL_EXECVE - select GENERIC_PCI_IOMAP - select GENERIC_SMP_IDLE_THREAD - select GENERIC_STRNCPY_FROM_USER -diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h -index 8f60b6e..202bc3a 100644 ---- a/arch/arm/include/asm/unistd.h -+++ b/arch/arm/include/asm/unistd.h -@@ -42,6 +42,7 @@ - #define __ARCH_WANT_SYS_SOCKETCALL - #endif - #define __ARCH_WANT_SYS_EXECVE -+#define __ARCH_WANT_KERNEL_EXECVE - - /* - * "Conditional" syscalls -diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S -index 417bac1..c05bd28 100644 ---- a/arch/arm/kernel/entry-common.S -+++ b/arch/arm/kernel/entry-common.S -@@ -94,6 +94,18 @@ ENTRY(ret_from_fork) - b ret_slow_syscall - ENDPROC(ret_from_fork) - -+/* -+ * turn a kernel thread into userland process -+ * use: ret_from_kernel_execve(struct pt_regs *normal) -+ */ -+ENTRY(ret_from_kernel_execve) -+ mov why, #0 @ not a syscall -+ str why, [r0, #S_R0] @ ... and we want 0 in ->ARM_r0 as well -+ get_thread_info tsk @ thread structure -+ mov sp, r0 @ stack pointer just under pt_regs -+ b ret_slow_syscall -+ENDPROC(ret_from_kernel_execve) -+ - .equ NR_syscalls,0 - #define CALL(x) .equ NR_syscalls,NR_syscalls+1 - #include "calls.S" diff --git a/a/content_digest b/N1/content_digest index a5be8fa..7d6473f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,14 +1,9 @@ "ref\020121013005334.GM2616@ZenIV.linux.org.uk\0" - "From\0Daniel Mack <zonque@gmail.com>\0" - "Subject\0Re: [git pull] signals pile 3\0" + "From\0zonque@gmail.com (Daniel Mack)\0" + "Subject\0[git pull] signals pile 3\0" "Date\0Sun, 14 Oct 2012 17:35:23 +0200\0" - "To\0Al Viro <viro@zeniv.linux.org.uk>\0" - "Cc\0Linus Torvalds <torvalds@linux-foundation.org>" - linux-kernel@vger.kernel.org - linux-arch@vger.kernel.org - Russell King - ARM Linux <linux@arm.linux.org.uk> - " linux-arm-kernel@lists.infradead.org <linux-arm-kernel@lists.infradead.org>\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "Hi Al,\n" "\n" @@ -95,56 +90,14 @@ "\n" "\n" "Thanks,\n" - Daniel - "\01:2\0" - "fn\0arm-execve-revert.diff\0" - "b\0" - "diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig\n" - "index 261fdd0..1bc092e 100644\n" - "--- a/arch/arm/Kconfig\n" - "+++ b/arch/arm/Kconfig\n" - "@@ -12,7 +12,6 @@ config ARM\n" - " \tselect GENERIC_IRQ_PROBE\n" - " \tselect GENERIC_IRQ_SHOW\n" - " \tselect GENERIC_KERNEL_THREAD\n" - "-\tselect GENERIC_KERNEL_EXECVE\n" - " \tselect GENERIC_PCI_IOMAP\n" - " \tselect GENERIC_SMP_IDLE_THREAD\n" - " \tselect GENERIC_STRNCPY_FROM_USER\n" - "diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h\n" - "index 8f60b6e..202bc3a 100644\n" - "--- a/arch/arm/include/asm/unistd.h\n" - "+++ b/arch/arm/include/asm/unistd.h\n" - "@@ -42,6 +42,7 @@\n" - " #define __ARCH_WANT_SYS_SOCKETCALL\n" - " #endif\n" - " #define __ARCH_WANT_SYS_EXECVE\n" - "+#define __ARCH_WANT_KERNEL_EXECVE\n" - " \n" - " /*\n" - " * \"Conditional\" syscalls\n" - "diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S\n" - "index 417bac1..c05bd28 100644\n" - "--- a/arch/arm/kernel/entry-common.S\n" - "+++ b/arch/arm/kernel/entry-common.S\n" - "@@ -94,6 +94,18 @@ ENTRY(ret_from_fork)\n" - " \tb\tret_slow_syscall\n" - " ENDPROC(ret_from_fork)\n" - " \n" - "+/*\n" - "+ * turn a kernel thread into userland process\n" - "+ * use: ret_from_kernel_execve(struct pt_regs *normal)\n" - "+ */\n" - "+ENTRY(ret_from_kernel_execve)\n" - "+\tmov why, #0 @ not a syscall\n" - "+\tstr why, [r0, #S_R0] @ ... and we want 0 in ->ARM_r0 as well\n" - "+\tget_thread_info tsk @ thread structure\n" - "+\tmov sp, r0 @ stack pointer just under pt_regs\n" - "+\tb ret_slow_syscall\n" - "+ENDPROC(ret_from_kernel_execve)\n" - "+\n" - " \t.equ NR_syscalls,0\n" - " #define CALL(x) .equ NR_syscalls,NR_syscalls+1\n" - " #include \"calls.S\"" + "Daniel\n" + "\n" + "-------------- next part --------------\n" + "A non-text attachment was scrubbed...\n" + "Name: arm-execve-revert.diff\n" + "Type: text/x-patch\n" + "Size: 1511 bytes\n" + "Desc: not available\n" + URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121014/bbce05db/attachment.bin> -2fb1fa7d0da1ee99b2caa05d089417544cf83c24e5adecea1c56850dbc42b961 +4998299e6c8321d116d03b140c90c9508815e77572eee82549586e08a4cab80d
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.