+ sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.patch added to -mm tree
Subject: + sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 17 Apr 2014 13:51:13 -0700
The patch titled
Subject: sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL
has been added to the -mm tree. Its filename is
sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.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: Fabian Frederick <[email protected]>
Subject: sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL
sys_sgetmask and sys_ssetmask are obsolete system calls no longer supported in libc.
This patch replaces architecture related __ARCH_WANT_SYS_SGETMAX by expert mode configuration.That option is enabled by default for those architectures.
---
arch/blackfin/include/asm/unistd.h | 1 - arch/cris/include/asm/unistd.h | 1 - arch/frv/include/asm/unistd.h | 1 - arch/m68k/include/asm/unistd.h | 1 - arch/microblaze/include/asm/unistd.h | 1 - arch/mips/include/asm/unistd.h | 1 - arch/mn10300/include/asm/unistd.h | 1 - arch/parisc/include/asm/unistd.h | 1 - arch/powerpc/include/asm/unistd.h | 1 - arch/sh/include/asm/unistd.h | 1 - arch/sparc/include/asm/unistd.h | 1 - arch/x86/include/asm/unistd.h | 1 - init/Kconfig | 10 ++++++++++ kernel/signal.c | 4 ++-- kernel/sys_ni.c | 2 ++ 15 files changed, 14 insertions(+), 14 deletions(-)
arch/blackfin/include/asm/unistd.h renamed from arch/blackfin/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -12,7 +12,6 @@#define __ARCH_WANT_SYS_ALARM#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_FADVISE64#define __ARCH_WANT_SYS_GETPGRP
arch/cris/include/asm/unistd.h renamed from arch/cris/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -15,7 +15,6 @@#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_IPC#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_SIGNAL#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_UTIME
arch/frv/include/asm/unistd.h renamed from arch/frv/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -13,7 +13,6 @@/* #define __ARCH_WANT_SYS_GETHOSTNAME */ #define __ARCH_WANT_SYS_IPC#define __ARCH_WANT_SYS_PAUSE -/* #define __ARCH_WANT_SYS_SGETMASK */ /* #define __ARCH_WANT_SYS_SIGNAL */ #define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_UTIME
arch/m68k/include/asm/unistd.h renamed from arch/m68k/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -13,7 +13,6 @@#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_IPC#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_SIGNAL#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_UTIME
arch/microblaze/include/asm/unistd.h renamed from arch/microblaze/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -19,7 +19,6 @@#define __ARCH_WANT_SYS_ALARM#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_SIGNAL#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_UTIME
arch/mips/include/asm/unistd.h renamed from arch/mips/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -29,7 +29,6 @@#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_IPC#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_UTIME#define __ARCH_WANT_SYS_WAITPID#define __ARCH_WANT_SYS_SOCKETCALL
arch/mn10300/include/asm/unistd.h renamed from arch/mn10300/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -26,7 +26,6 @@#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_IPC#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_SIGNAL#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_UTIME
arch/parisc/include/asm/unistd.h renamed from arch/parisc/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -145,7 +145,6 @@ type name(type1 arg1, type2 arg2, type3#define __ARCH_WANT_SYS_ALARM#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_SIGNAL#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_COMPAT_SYS_TIME
arch/powerpc/include/asm/unistd.h renamed from arch/powerpc/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -29,7 +29,6 @@#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_IPC#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_SIGNAL#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_UTIME
arch/sh/include/asm/unistd.h renamed from arch/sh/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -11,7 +11,6 @@# define __ARCH_WANT_SYS_GETHOSTNAME# define __ARCH_WANT_SYS_IPC# define __ARCH_WANT_SYS_PAUSE -# define __ARCH_WANT_SYS_SGETMASK# define __ARCH_WANT_SYS_SIGNAL# define __ARCH_WANT_SYS_TIME# define __ARCH_WANT_SYS_UTIME
arch/sparc/include/asm/unistd.h renamed from arch/sparc/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -25,7 +25,6 @@#define __ARCH_WANT_SYS_ALARM#define __ARCH_WANT_SYS_GETHOSTNAME#define __ARCH_WANT_SYS_PAUSE -#define __ARCH_WANT_SYS_SGETMASK#define __ARCH_WANT_SYS_SIGNAL#define __ARCH_WANT_SYS_TIME#define __ARCH_WANT_SYS_UTIME
arch/x86/include/asm/unistd.h renamed from arch/x86/include/asm/unistd.h~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +0 -1
@@ -41,7 +41,6 @@# define __ARCH_WANT_SYS_OLD_GETRLIMIT# define __ARCH_WANT_SYS_OLD_UNAME# define __ARCH_WANT_SYS_PAUSE -# define __ARCH_WANT_SYS_SGETMASK# define __ARCH_WANT_SYS_SIGNAL# define __ARCH_WANT_SYS_SIGPENDING# define __ARCH_WANT_SYS_SIGPROCMASK
init/Kconfig renamed from init/Kconfig~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +10 -0
@@ -1304,6 +1304,16 @@ config UID16 help This enables the legacy 16-bit UID syscall wrappers. +config SGETMASK_SYSCALL + bool "sgetmask/ssetmask syscalls support" if EXPERT + def_bool PARISC || MN10300 || BLACKFIN || M68K || PPC || MIPS || X86 || SPARC || CRIS || MICROBLAZE || SUPERH + ---help--- + sys_sgetmask and sys_ssetmask are obsolete system calls + no longer supported in libc but still enabled by default in some + architectures. + + If unsure, leave the default option here. + config SYSFS_SYSCALL bool "Sysfs syscall support" if EXPERT default y
kernel/signal.c renamed from kernel/signal.c~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +2 -2
@@ -3496,7 +3496,7 @@ COMPAT_SYSCALL_DEFINE3(sigaction, int, s }#endif -#ifdef __ARCH_WANT_SYS_SGETMASK +#ifdef CONFIG_SGETMASK_SYSCALL /* * For backwards compatibility. Functionality superseded by sigprocmask.
@@ -3517,7 +3517,7 @@ SYSCALL_DEFINE1(ssetmask, int, newmask) return old; } -#endif /* __ARCH_WANT_SGETMASK */ +#endif /* CONFIG_SGETMASK_SYSCALL */ #ifdef __ARCH_WANT_SYS_SIGNAL/*
kernel/sys_ni.c renamed from kernel/sys_ni.c~sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall +2 -0
@@ -135,6 +135,8 @@ cond_syscall(sys_setresgid16);cond_syscall (sys_setresuid16);cond_syscall (sys_setreuid16);cond_syscall (sys_setuid16); +cond_syscall (sys_sgetmask); +cond_syscall (sys_ssetmask);cond_syscall (sys_vm86old);cond_syscall (sys_vm86);cond_syscall (sys_ipc);
_
Patches currently in -mm which might be from [email protected] are
ntfs-remove-null-value-assignments.patch ocfs2-remove-null-assignments-on-static.patch fs-ocfs2-superc-use-ocfs2_max_vol_label_len-and-strlcpy.patch sys_sgetmask-sys_ssetmask-add-config_sgetmask_syscall.patch fs-binfmt_elfc-fix-bool-assignements.patch fs-befs-linuxvfsc-replace-strncpy-by-strlcpy.patch fs-befs-btreec-replace-strncpy-by-strlcpy-coding-style-fixing.patch fs-reiserfs-bitmapc-coding-style-fixes.patch linux-next.patch
ufs-sb-mutex-merge-mutex_destroy.patch