+ sparc-hook-up-execveat-system-call-v10.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: sparc-hook-up-execveat-system-call-v10
has been added to the -mm tree.  Its filename is
     sparc-hook-up-execveat-system-call-v10.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/sparc-hook-up-execveat-system-call-v10.patch
		echo and later at
		echo  http://ozlabs.org/~akpm/mmotm/broken-out/sparc-hook-up-execveat-system-call-v10.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: David Drysdale <drysdale@xxxxxxxxxx>
Subject: sparc-hook-up-execveat-system-call-v10

Add sparc syscall wrappers and use correct sparc 32b compatibility
function [Stephen Rothwell, David S.  Miller]

Signed-off-by: David Drysdale <drysdale@xxxxxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/sparc/kernel/syscalls.S   |   10 ++++++++++
 arch/sparc/kernel/systbls_64.S |    4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff -puN arch/sparc/kernel/syscalls.S~sparc-hook-up-execveat-system-call-v10 arch/sparc/kernel/syscalls.S
--- a/arch/sparc/kernel/syscalls.S~sparc-hook-up-execveat-system-call-v10
+++ a/arch/sparc/kernel/syscalls.S
@@ -6,6 +6,11 @@ sys64_execve:
 	jmpl	%g1, %g0
 	 flushw
 
+sys64_execveat:
+	set	sys_execveat, %g1
+	jmpl	%g1, %g0
+	 flushw
+
 #ifdef CONFIG_COMPAT
 sunos_execv:
 	mov	%g0, %o2
@@ -13,6 +18,11 @@ sys32_execve:
 	set	compat_sys_execve, %g1
 	jmpl	%g1, %g0
 	 flushw
+
+sys32_execveat:
+	set	compat_sys_execveat, %g1
+	jmpl	%g1, %g0
+	 flushw
 #endif
 
 	.align	32
diff -puN arch/sparc/kernel/systbls_64.S~sparc-hook-up-execveat-system-call-v10 arch/sparc/kernel/systbls_64.S
--- a/arch/sparc/kernel/systbls_64.S~sparc-hook-up-execveat-system-call-v10
+++ a/arch/sparc/kernel/systbls_64.S
@@ -88,7 +88,7 @@ sys_call_table32:
 	.word sys_syncfs, compat_sys_sendmmsg, sys_setns, compat_sys_process_vm_readv, compat_sys_process_vm_writev
 /*340*/	.word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
 	.word sys32_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
-/*350*/	.word sys_execveat
+/*350*/	.word sys32_execveat
 
 #endif /* CONFIG_COMPAT */
 
@@ -168,4 +168,4 @@ sys_call_table:
 	.word sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev
 /*340*/	.word sys_kern_features, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
 	.word sys_renameat2, sys_seccomp, sys_getrandom, sys_memfd_create, sys_bpf
-/*350*/	.word sys_execveat
+/*350*/	.word sys64_execveat
_

Patches currently in -mm which might be from drysdale@xxxxxxxxxx are

syscalls-implement-execveat-system-call.patch
x86-hook-up-execveat-system-call.patch
syscalls-add-selftest-for-execveat2.patch
sparc-hook-up-execveat-system-call.patch
sparc-hook-up-execveat-system-call-v10.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux