Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
2fefc97b
Commit
2fefc97b
authored
Apr 05, 2017
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HAVE_ARCH_HARDENED_USERCOPY is unconditional now
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
701cac61
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
0 additions
and
18 deletions
+0
-18
arch/arm/Kconfig
arch/arm/Kconfig
+0
-1
arch/arm64/Kconfig
arch/arm64/Kconfig
+0
-1
arch/ia64/Kconfig
arch/ia64/Kconfig
+0
-1
arch/mips/Kconfig
arch/mips/Kconfig
+0
-1
arch/parisc/Kconfig
arch/parisc/Kconfig
+0
-1
arch/powerpc/Kconfig
arch/powerpc/Kconfig
+0
-1
arch/s390/Kconfig
arch/s390/Kconfig
+0
-1
arch/sparc/Kconfig
arch/sparc/Kconfig
+0
-1
arch/x86/Kconfig
arch/x86/Kconfig
+0
-1
security/Kconfig
security/Kconfig
+0
-9
No files found.
arch/arm/Kconfig
View file @
2fefc97b
...
...
@@ -41,7 +41,6 @@ config ARM
select HARDIRQS_SW_RESEND
select HAVE_ARCH_AUDITSYSCALL if (AEABI && !OABI_COMPAT)
select HAVE_ARCH_BITREVERSE if (CPU_32v7M || CPU_32v7) && !CPU_32v6
select HAVE_ARCH_HARDENED_USERCOPY
select HAVE_ARCH_JUMP_LABEL if !XIP_KERNEL && !CPU_ENDIAN_BE32 && MMU
select HAVE_ARCH_KGDB if !CPU_ENDIAN_BE32 && MMU
select HAVE_ARCH_MMAP_RND_BITS if MMU
...
...
arch/arm64/Kconfig
View file @
2fefc97b
...
...
@@ -60,7 +60,6 @@ config ARM64
select HAVE_ALIGNED_STRUCT_PAGE if SLUB
select HAVE_ARCH_AUDITSYSCALL
select HAVE_ARCH_BITREVERSE
select HAVE_ARCH_HARDENED_USERCOPY
select HAVE_ARCH_HUGE_VMAP
select HAVE_ARCH_JUMP_LABEL
select HAVE_ARCH_KASAN if SPARSEMEM_VMEMMAP && !(ARM64_16K_PAGES && ARM64_VA_BITS_48)
...
...
arch/ia64/Kconfig
View file @
2fefc97b
...
...
@@ -52,7 +52,6 @@ config IA64
select MODULES_USE_ELF_RELA
select ARCH_USE_CMPXCHG_LOCKREF
select HAVE_ARCH_AUDITSYSCALL
select HAVE_ARCH_HARDENED_USERCOPY
default y
help
The Itanium Processor Family is Intel's 64-bit successor to
...
...
arch/mips/Kconfig
View file @
2fefc97b
...
...
@@ -68,7 +68,6 @@ config MIPS
select HANDLE_DOMAIN_IRQ
select HAVE_EXIT_THREAD
select HAVE_REGS_AND_STACK_ACCESS_API
select HAVE_ARCH_HARDENED_USERCOPY
menu "Machine selection"
...
...
arch/parisc/Kconfig
View file @
2fefc97b
...
...
@@ -26,7 +26,6 @@ config PARISC
select SYSCTL_ARCH_UNALIGN_ALLOW
select SYSCTL_EXCEPTION_TRACE
select HAVE_MOD_ARCH_SPECIFIC
select HAVE_ARCH_HARDENED_USERCOPY
select VIRT_TO_BUS
select MODULES_USE_ELF_RELA
select CLONE_BACKWARDS
...
...
arch/powerpc/Kconfig
View file @
2fefc97b
...
...
@@ -117,7 +117,6 @@ config PPC
select GENERIC_STRNLEN_USER
select GENERIC_TIME_VSYSCALL_OLD
select HAVE_ARCH_AUDITSYSCALL
select HAVE_ARCH_HARDENED_USERCOPY
select HAVE_ARCH_JUMP_LABEL
select HAVE_ARCH_KGDB
select HAVE_ARCH_SECCOMP_FILTER
...
...
arch/s390/Kconfig
View file @
2fefc97b
...
...
@@ -124,7 +124,6 @@ config S390
select HAVE_ALIGNED_STRUCT_PAGE if SLUB
select HAVE_ARCH_AUDITSYSCALL
select HAVE_ARCH_EARLY_PFN_TO_NID
select HAVE_ARCH_HARDENED_USERCOPY
select HAVE_ARCH_JUMP_LABEL
select CPU_NO_EFFICIENT_FFS if !HAVE_MARCH_Z9_109_FEATURES
select HAVE_ARCH_SECCOMP_FILTER
...
...
arch/sparc/Kconfig
View file @
2fefc97b
...
...
@@ -42,7 +42,6 @@ config SPARC
select OLD_SIGSUSPEND
select ARCH_HAS_SG_CHAIN
select CPU_NO_EFFICIENT_FFS
select HAVE_ARCH_HARDENED_USERCOPY
select PROVE_LOCKING_SMALL if PROVE_LOCKING
select ARCH_WANT_RELAX_ORDER
...
...
arch/x86/Kconfig
View file @
2fefc97b
...
...
@@ -98,7 +98,6 @@ config X86
select HAVE_ACPI_APEI_NMI if ACPI
select HAVE_ALIGNED_STRUCT_PAGE if SLUB
select HAVE_ARCH_AUDITSYSCALL
select HAVE_ARCH_HARDENED_USERCOPY
select HAVE_ARCH_HUGE_VMAP if X86_64 || X86_PAE
select HAVE_ARCH_JUMP_LABEL
select HAVE_ARCH_KASAN if X86_64 && SPARSEMEM_VMEMMAP
...
...
security/Kconfig
View file @
2fefc97b
...
...
@@ -125,17 +125,8 @@ config HAVE_HARDENED_USERCOPY_ALLOCATOR
validating
memory
ranges
against
heap
object
sizes
in
support
of
CONFIG_HARDENED_USERCOPY
.
config
HAVE_ARCH_HARDENED_USERCOPY
bool
help
The
architecture
supports
CONFIG_HARDENED_USERCOPY
by
calling
check_object_size
()
just
before
performing
the
userspace
copies
in
the
low
level
implementation
of
copy_to_user
()
and
copy_from_user
().
config
HARDENED_USERCOPY
bool
"Harden memory copies between kernel and userspace"
depends
on
HAVE_ARCH_HARDENED_USERCOPY
depends
on
HAVE_HARDENED_USERCOPY_ALLOCATOR
select
BUG
help
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment