Skip to content

RFC x86 user stack frame reads: switch to explicit __get_user()

Al Viro lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest22 patches 0 repliesNew
  2. v1 RFC22 patches 22 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/22x86 user stack frame reads: switch to explicit __get_user()arch/x86/events/core.c arch/x86/include/asm/uaccess.h arch/x86/kernel/stacktrace.c+11 -310 replies
2/22x86 kvm page table walks: switch to explicit __get_user()arch/x86/kvm/mmu/paging_tmpl.h+1 -10 replies
3/22x86: switch sigframe sigset handling to explict __get_user()/__put_user()arch/x86/ia32/ia32_signal.c arch/x86/include/asm/sigframe.h arch/x86/kernel/signal.c+14 -280 replies
4/22x86: get rid of small constant size cases in raw_copy_{to,from}_user()arch/x86/include/asm/uaccess.h arch/x86/include/asm/uaccess_32.h arch/x86/include/asm/uaccess_64.h+2 -1450 replies
5/22vm86: get rid of get_user_ex() usearch/x86/kernel/vm86_32.c+24 -300 replies
6/22x86: get rid of get_user_ex() in ia32_restore_sigcontext()arch/x86/ia32/ia32_signal.c+44 -620 replies
7/22x86: get rid of get_user_ex() in restore_sigcontext()arch/x86/kernel/signal.c+36 -500 replies
8/22x86: kill get_user_{try,catch,ex}arch/x86/include/asm/uaccess.h+0 -540 replies
9/22x86: switch save_v86_state() to unsafe_put_user()arch/x86/kernel/vm86_32.c+30 -310 replies
10/22x86: switch setup_sigcontext() to unsafe_put_user()arch/x86/include/asm/sighandling.h arch/x86/kernel/signal.c+45 -460 replies
11/22x86: switch ia32_setup_sigcontext() to unsafe_put_user()arch/x86/ia32/ia32_signal.c+33 -310 replies
12/22x86: get rid of put_user_try in {ia32,x32}_setup_rt_frame()arch/x86/ia32/ia32_signal.c arch/x86/kernel/signal.c include/linux/compat.h+49 -430 replies
13/22x86: ia32_setup_sigcontext(): lift user_access_{begin,end}() into the callersarch/x86/ia32/ia32_signal.c+28 -160 replies
14/22x86: ia32_setup_frame(): consolidate uaccess areasarch/x86/ia32/ia32_signal.c+12 -270 replies
15/22x86: ia32_setup_rt_frame(): consolidate uaccess areasarch/x86/ia32/ia32_signal.c+3 -100 replies
16/22x86: get rid of put_user_try in __setup_rt_frame() (both 32bit and 64bit)arch/x86/kernel/signal.c include/linux/signal.h+52 -470 replies
17/22x86: setup_sigcontext(): list user_access_{begin,end}() into callersarch/x86/kernel/signal.c+24 -210 replies
18/22x86: __setup_frame(): consolidate uaccess areasarch/x86/kernel/signal.c+6 -170 replies
19/22x86: __setup_rt_frame(): consolidate uaccess areasarch/x86/kernel/signal.c+9 -170 replies
20/22x86: x32_setup_rt_frame(): consolidate uaccess areasarch/x86/kernel/signal.c+5 -120 replies
21/22x86: unsafe_put-style macro for sigmaskarch/x86/kernel/signal.c+8 -40 replies
22/22kill uaccess_try()Documentation/x86/exception-tables.rst arch/x86/include/asm/asm.h arch/x86/include/asm/processor.h +2 more+0 -900 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread