mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + init-kconfig-remove-uselib-syscall-by-default.patch added to -mm tree
@ 2022-04-12 21:42 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-04-12 21:42 UTC (permalink / raw)
  To: mm-commits, nathan, masahiroy, keescook, akpm


The patch titled
     Subject: init/Kconfig: remove USELIB syscall by default
has been added to the -mm tree.  Its filename is
     init-kconfig-remove-uselib-syscall-by-default.patch

This patch should soon appear at
    https://ozlabs.org/~akpm/mmots/broken-out/init-kconfig-remove-uselib-syscall-by-default.patch
and later at
    https://ozlabs.org/~akpm/mmotm/broken-out/init-kconfig-remove-uselib-syscall-by-default.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/process/submit-checklist.rst when testing your code ***

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

------------------------------------------------------
From: Kees Cook <keescook@chromium.org>
Subject: init/Kconfig: remove USELIB syscall by default

The uselib syscall has been long deprecated.  There's no need to keep this
enabled by default under X86_32.

Link: https://lkml.kernel.org/r/20220412212519.4113845-1-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---


--- a/init/Kconfig~init-kconfig-remove-uselib-syscall-by-default
+++ a/init/Kconfig
@@ -435,8 +435,8 @@ config CROSS_MEMORY_ATTACH
 	  See the man page for more details.
 
 config USELIB
-	bool "uselib syscall"
-	def_bool ALPHA || M68K || SPARC || X86_32 || IA32_EMULATION
+	bool "uselib syscall (for libc5 and earlier)"
+	default ALPHA || M68K || SPARC
 	help
 	  This option enables the uselib syscall, a system call used in the
 	  dynamic linker from libc5 and earlier.  glibc does not use this
_

Patches currently in -mm which might be from keescook@chromium.org are

init-kconfig-remove-uselib-syscall-by-default.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-12 23:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 21:42 + init-kconfig-remove-uselib-syscall-by-default.patch added to -mm tree Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).