Patch "sparc: Hook up renameat2 syscall." has been added to the 3.15-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    sparc: Hook up renameat2 syscall.

to the 3.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     sparc-hook-up-renameat2-syscall.patch
and it can be found in the queue-3.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From foo@baz Fri Aug  8 09:03:00 PDT 2014
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Mon, 21 Jul 2014 22:27:56 -0700
Subject: sparc: Hook up renameat2 syscall.

From: "David S. Miller" <davem@xxxxxxxxxxxxx>

[ Upstream commit 26053926feb1c16ade9c30bc7443bf28d829d08e ]

Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 arch/sparc/include/uapi/asm/unistd.h |    3 ++-
 arch/sparc/kernel/sys32.S            |    1 +
 arch/sparc/kernel/systbls_32.S       |    1 +
 arch/sparc/kernel/systbls_64.S       |    2 ++
 4 files changed, 6 insertions(+), 1 deletion(-)

--- a/arch/sparc/include/uapi/asm/unistd.h
+++ b/arch/sparc/include/uapi/asm/unistd.h
@@ -410,8 +410,9 @@
 #define __NR_finit_module	342
 #define __NR_sched_setattr	343
 #define __NR_sched_getattr	344
+#define __NR_renameat2		345
 
-#define NR_syscalls		345
+#define NR_syscalls		346
 
 /* Bitmask values returned from kern_features system call.  */
 #define KERN_FEATURE_MIXED_MODE_STACK	0x00000001
--- a/arch/sparc/kernel/sys32.S
+++ b/arch/sparc/kernel/sys32.S
@@ -48,6 +48,7 @@ SIGN1(sys32_futex, compat_sys_futex, %o1
 SIGN1(sys32_recvfrom, compat_sys_recvfrom, %o0)
 SIGN1(sys32_recvmsg, compat_sys_recvmsg, %o0)
 SIGN1(sys32_sendmsg, compat_sys_sendmsg, %o0)
+SIGN2(sys32_renameat2, sys_renameat2, %o0, %o2)
 
 	.globl		sys32_mmap2
 sys32_mmap2:
--- a/arch/sparc/kernel/systbls_32.S
+++ b/arch/sparc/kernel/systbls_32.S
@@ -86,3 +86,4 @@ sys_call_table:
 /*330*/	.long sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
 /*335*/	.long sys_syncfs, sys_sendmmsg, sys_setns, sys_process_vm_readv, sys_process_vm_writev
 /*340*/	.long sys_ni_syscall, sys_kcmp, sys_finit_module, sys_sched_setattr, sys_sched_getattr
+/*345*/	.long sys_renameat2
--- a/arch/sparc/kernel/systbls_64.S
+++ b/arch/sparc/kernel/systbls_64.S
@@ -87,6 +87,7 @@ sys_call_table32:
 /*330*/	.word compat_sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, compat_sys_open_by_handle_at, compat_sys_clock_adjtime
 	.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
 
 #endif /* CONFIG_COMPAT */
 
@@ -165,3 +166,4 @@ sys_call_table:
 /*330*/	.word sys_fanotify_mark, sys_prlimit64, sys_name_to_handle_at, sys_open_by_handle_at, sys_clock_adjtime
 	.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


Patches currently in stable-queue which might be from davem@xxxxxxxxxxxxx are

queue-3.15/sctp-fix-possible-seqlock-seadlock-in-sctp_packet_transmit.patch
queue-3.15/net-sendmsg-fix-null-pointer-dereference.patch
queue-3.15/sparc64-ldc_connect-should-not-return-einval-when-handshake-is-in-progress.patch
queue-3.15/sparc64-do-not-insert-non-valid-ptes-into-the-tsb-hash-table.patch
queue-3.15/iovec-make-sure-the-caller-actually-wants-anything-in-memcpy_fromiovecend.patch
queue-3.15/net-bcmgenet-correctly-pad-short-packets.patch
queue-3.15/net-phy-re-apply-phy-fixups-during-phy_register_device.patch
queue-3.15/arch-sparc-math-emu-math_32.c-drop-stray-break-operator.patch
queue-3.15/net-correctly-set-segment-mac_len-in-skb_segment.patch
queue-3.15/ip-make-ip-identifiers-less-predictable.patch
queue-3.15/sparc-hook-up-renameat2-syscall.patch
queue-3.15/bnx2x-fix-crash-during-tso-tunneling.patch
queue-3.15/bbc-i2c-fix-bbc-i2c-envctrl-on-sunblade-2000.patch
queue-3.15/sunsab-fix-detection-of-break-on-sunsab-serial-console.patch
queue-3.15/ip_tunnel-ipv4-fix-tunnels-with-local-any-remote-remote_ip.patch
queue-3.15/net-sctp-inherit-auth_capable-on-init-collisions.patch
queue-3.15/macvlan-initialize-vlan_features-to-turn-on-offload-support.patch
queue-3.15/tcp-fix-integer-overflow-in-tcp-vegas.patch
queue-3.15/inetpeer-get-rid-of-ip_id_count.patch
queue-3.15/bna-fix-performance-regression.patch
queue-3.15/sparc64-guard-against-flushing-openfirmware-mappings.patch
queue-3.15/tcp-fix-integer-overflows-in-tcp-veno.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]