exec-only-build-read_code-when-needed.patch removed from -mm tree
The patch titled
Subject: exec: only build read_code when needed
has been removed from the -mm tree. Its filename was
exec-only-build-read_code-when-needed.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: exec: only build read_code when needed
Only build read_code when binary formats that use it are built into the kernel.
---
fs/exec.c | 3 +++ 1 file changed, 3 insertions(+)
fs/exec.c renamed from fs/exec.c~exec-only-build-read_code-when-needed +3 -0
@@ -1053,6 +1053,8 @@ out: }EXPORT_SYMBOL_GPL (kernel_read_file_from_fd); +#if defined(CONFIG_HAVE_AOUT ) || defined(CONFIG_BINFMT_FLAT ) || \ + defined(CONFIG_BINFMT_ELF_FDPIC )ssize_t read_code (struct file *file,unsigned long addr,loff_t pos,size_t len) {ssize_t res =vfs_read (file, (void __user *)addr, len, &pos);
@@ -1061,6 +1063,7 @@ ssize_t read_code(struct file *file, uns return res; }EXPORT_SYMBOL (read_code); +#endif /* * Maps the mm_struct mm into the current task struct.
_
Patches currently in -mm which might be from [email protected] are
amdgpu-a-null-mm-does-not-mean-a-thread-is-a-kthread.patch kernel-move-use_mm-unuse_mm-to-kthreadc.patch kernel-move-use_mm-unuse_mm-to-kthreadc-v2.patch kernel-better-document-the-use_mm-unuse_mm-api-contract.patch kernel-better-document-the-use_mm-unuse_mm-api-contract-v2.patch kernel-set-user_ds-in-kthread_use_mm.patch maccess-unexport-probe_kernel_write-and-probe_user_write.patch maccess-remove-various-unused-weak-aliases.patch maccess-remove-duplicate-kerneldoc-comments.patch maccess-clarify-kerneldoc-comments.patch maccess-update-the-top-of-file-comment.patch maccess-rename-strncpy_from_unsafe_user-to-strncpy_from_user_nofault.patch maccess-rename-strncpy_from_unsafe_strict-to-strncpy_from_kernel_nofault.patch maccess-rename-strnlen_unsafe_user-to-strnlen_user_nofault.patch maccess-remove-probe_read_common-and-probe_write_common.patch maccess-unify-the-probe-kernel-arch-hooks.patch bpf-factor-out-a-bpf_trace_copy_string-helper.patch bpf-handle-the-compat-string-in-bpf_trace_copy_string-better.patch bpf-rework-the-compat-kernel-probe-handling.patch tracing-kprobes-handle-mixed-kernel-userspace-probes-better.patch maccess-remove-strncpy_from_unsafe.patch maccess-always-use-strict-semantics-for-probe_kernel_read.patch maccess-move-user-access-routines-together.patch maccess-allow-architectures-to-provide-kernel-probing-directly.patch x86-use-non-set_fs-based-maccess-routines.patch maccess-return-erange-when-copy_from_kernel_nofault_allowed-fails.patch