Skip to content

kasan: don't emit builtin calls when sanitization is off

[email protected] mm-commits stable 1 version New

Get series with b4
b4 am 20180206233600.95GEtlu9C%[email protected]

Versions newest first

  1. v1 Latest114 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/114kasan: don't emit builtin calls when sanitization is offMakefile scripts/Makefile.kasan scripts/Makefile.lib+6 -20 replies
2/114kasan: add compiler support for clanginclude/linux/compiler-clang.h+8 -00 replies
3/114kasan/Makefile: support LLVM style asan parametersscripts/Makefile.kasan+18 -110 replies
4/114kasan: support alloca() poisoningmm/kasan/kasan.c mm/kasan/kasan.h mm/kasan/report.c +1 more+48 -10 replies
5/114kasan: add tests for alloca poisoninglib/test_kasan.c+22 -00 replies
6/114kasan: add functions for unpoisoning stack variablesmm/kasan/kasan.c mm/kasan/kasan.h+59 -00 replies
7/114kasan: detect invalid frees for large objectsinclude/linux/kasan.h lib/test_kasan.c mm/kasan/kasan.c +3 more+44 -150 replies
8/114kasan: don't use __builtin_return_address(1)include/linux/kasan.h mm/kasan/kasan.c mm/kasan/kasan.h +3 more+19 -180 replies
9/114kasan: detect invalid frees for large mempool objectsinclude/linux/kasan.h mm/kasan/kasan.c mm/mempool.c+13 -80 replies
10/114kasan: unify code between kasan_slab_free() and kasan_poison_kfree()mm/kasan/kasan.c+12 -160 replies
11/114kasan: detect invalid freeslib/test_kasan.c mm/kasan/kasan.c+56 -00 replies
12/114kasan: fix prototype author email addressmm/kasan/kasan.c mm/kasan/report.c+2 -20 replies
13/114kasan: clean up KASAN_SHADOW_SCALE_SHIFT usagearch/arm64/include/asm/kasan.h arch/arm64/include/asm/memory.h arch/arm64/mm/kasan_init.c +2 more+22 -140 replies
14/114kasan: remove redundant initialization of variable 'real_size'lib/test_kasan.c+1 -10 replies
15/114proc: use %u for pid printing and slightly less stackfs/proc/base.c fs/proc/fd.c fs/proc/self.c +1 more+14 -150 replies
16/114proc: don't use READ_ONCE/WRITE_ONCE for /proc/*/fail-nthfs/proc/base.c+2 -30 replies
17/114proc: fix /proc/*/map_files lookupfs/proc/base.c+28 -10 replies
18/114fs/proc/vmcore.c: simpler /proc/vmcore cleanupfs/proc/vmcore.c+0 -10 replies
19/114proc: less memory for /proc/*/map_files readdirfs/proc/base.c+9 -60 replies
20/114fs/proc/array.c: delete children_seq_release()fs/proc/array.c+0 -50 replies
21/114fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()fs/proc/kcore.c+0 -10 replies
21/114fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()fs/proc/kcore.c+5 -130 replies
22/114fs/proc/internal.h: rearrange struct proc_dir_entryfs/proc/internal.h+13 -100 replies
23/114fs/proc/internal.h: fix up commentfs/proc/internal.h+2 -10 replies
24/114fs/proc: use __ro_after_initfs/proc/base.c fs/proc/inode.c fs/proc/self.c +1 more+9 -50 replies
25/114proc: spread likely/unlikely a bitfs/proc/inode.c+4 -40 replies
26/114proc: rearrange argsfs/proc/generic.c fs/proc/internal.h fs/proc/proc_net.c+13 -140 replies
27/114fs/proc/consoles.c: use seq_putc() in show_console_dev()fs/proc/consoles.c+0 -10 replies
28/114Makefile: move stack-protector compiler breakage test earlierMakefile+7 -30 replies
29/114Makefile: move stack-protector availability out of KconfigMakefile arch/Kconfig arch/x86/Kconfig+6 -100 replies
30/114Makefile: introduce CONFIG_CC_STACKPROTECTOR_AUTOMakefile arch/Kconfig kernel/configs/tiny.config+45 -40 replies
31/114uuid: cleanup <uapi/linux/uuid.h>include/linux/uuid.h include/uapi/linux/uuid.h+1 -10 replies
32/114tools/lib/subcmd/pager.c: do not alias select() paramstools/lib/subcmd/pager.c+4 -10 replies
33/114kernel/async.c: revert "async: simplify lowest_in_progress()"kernel/async.c+12 -80 replies
34/114MAINTAINERS: update sboyd's email addressMAINTAINERS+4 -40 replies
35/114bitmap: new bitmap_copy_safe and bitmap_{from,to}_arr32include/linux/bitmap.h lib/bitmap.c+87 -00 replies
36/114bitmap: replace bitmap_{from,to}_u32arrayarch/arm64/kernel/perf_event.c drivers/perf/arm_dsu_pmu.c include/linux/bitmap.h +3 more+57 -3110 replies
37/114lib/test_bitmap.c: add bitmap_zero()/bitmap_clear() test caseslib/test_bitmap.c+30 -00 replies
38/114lib/test_bitmap.c: add bitmap_fill()/bitmap_set() test caseslib/test_bitmap.c+30 -00 replies
39/114lib/test_bitmap.c: clean up test_zero_fill_copy() test case and renamelib/test_bitmap.c+4 -200 replies
40/114include/linux/bitmap.h: make bitmap_fill() and bitmap_zero() consistentinclude/linux/bitmap.h+10 -50 replies
41/114lib/stackdepot.c: use a non-instrumented version of memcmp()lib/stackdepot.c+16 -30 replies
42/114lib/test_find_bit.c: rename to find_bit_benchmark.clib/Kconfig.debug lib/Makefile lib/find_bit_benchmark.c +1 more+146 -1440 replies
43/114lib/find_bit_benchmark.c: improvementslib/find_bit_benchmark.c+21 -250 replies
44/114lib: optimize cpumask_next_and()arch/arm/include/asm/bitops.h arch/m68k/include/asm/bitops.h arch/unicore32/include/asm/bitops.h +7 more+148 -330 replies
45/114lib/: make RUNTIME_TESTS a menuconfig to ease disabling it alllib/Kconfig.debug+5 -20 replies
46/114lib/test_sort.c: add module unload supportlib/test_sort.c+6 -00 replies
47/114checkpatch: allow long lines containing URLscripts/checkpatch.pl+5 -00 replies
48/114checkpatch: ignore some octal permissions of 0scripts/checkpatch.pl+7 -20 replies
49/114checkpatch: improve quoted string and line continuation testscripts/checkpatch.pl+1 -10 replies
50/114checkpatch: add a few DEVICE_ATTR style testsscripts/checkpatch.pl+93 -210 replies
51/114checkpatch: improve the TABSTOP test to include declarationsscripts/checkpatch.pl+1 -10 replies
52/114checkpatch: exclude drivers/staging from if with unnecessary parentheses testscripts/checkpatch.pl+3 -10 replies
53/114checkpatch: avoid some false positives for TABSTOP declaration testscripts/checkpatch.pl+1 -10 replies
54/114checkpatch: improve OPEN_BRACE testscripts/checkpatch.pl+5 -30 replies
55/114elf: fix NT_FILE integer overflowfs/binfmt_elf.c+2 -00 replies
56/114kallsyms: let print_ip_sym() print raw addressesinclude/linux/kallsyms.h+1 -10 replies
57/114nilfs2: use time64_t internallyfs/nilfs2/segbuf.c fs/nilfs2/segbuf.h fs/nilfs2/segment.c +6 more+23 -240 replies
59/114<asm-generic/siginfo.h>: fix language in commentsinclude/uapi/asm-generic/siginfo.h+2 -20 replies
60/114kernel/fork.c: check error and return earlykernel/fork.c+31 -320 replies
61/114kernel/fork.c: add comment about usage of CLONE_FS flags and namespaceskernel/fork.c+4 -00 replies
62/114cpumask: make cpumask_size() return "unsigned int"include/linux/cpumask.h kernel/compat.c kernel/sched/core.c+3 -30 replies
63/114rapidio: delete an error message for a failed memory allocation in rio_init_mports()drivers/rapidio/rio.c+0 -10 replies
64/114rapidio: adjust 12 checks for null pointersdrivers/rapidio/rio.c+9 -90 replies
65/114rapidio: adjust five function calls together with a variable assignmentdrivers/rapidio/rio.c+14 -120 replies
66/114rapidio: improve a size determination in five functionsdrivers/rapidio/rio.c+3 -60 replies
67/114rapidio: delete an unnecessary variable initialisation in three functionsdrivers/rapidio/rio.c+3 -30 replies
68/114rapidio: return an error code only as a constant in two functionsdrivers/rapidio/rio.c+6 -150 replies
69/114rapidio: move 12 EXPORT_SYMBOL_GPL() calls to function implementationsdrivers/rapidio/rio.c+12 -00 replies
70/114drivers/rapidio/devices/tsi721_dma.c: delete an error message for a failed memory allocation in tsi721_alloc_chan_resources()drivers/rapidio/devices/tsi721_dma.c+0 -30 replies
71/114drivers/rapidio/devices/tsi721_dma.c: delete an unnecessary variable initialisation in tsi721_alloc_chan_resources()drivers/rapidio/devices/tsi721_dma.c+1 -10 replies
72/114drivers/rapidio/devices/tsi721_dma.c: adjust six checks for null pointersdrivers/rapidio/devices/tsi721_dma.c+3 -30 replies
73/114pids: introduce find_get_task_by_vpid() helperarch/ia64/kernel/perfmon.c include/linux/sched.h kernel/futex.c +5 more+32 -660 replies
74/114pps: parport: use timespec64 instead of timespecdrivers/pps/generators/pps_gen_parport.c+20 -200 replies
75/114kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"kernel/relay.c+0 -10 replies
75/114kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"kernel/relay.c+0 -10 replies
76/114kcov: detect double association with a single taskkernel/kcov.c+2 -20 replies
77/114include/linux/genl_magic_func.h: remove own BUILD_BUG_ON*() definesinclude/linux/genl_magic_func.h+1 -100 replies
78/114build_bug.h: remove BUILD_BUG_ON_NULL()include/linux/build_bug.h net/ipv6/mcast.c+4 -60 replies
79/114lib/ubsan.c: s/missaligned/misaligned/lib/ubsan.c+2 -20 replies
80/114lib/ubsan: add type mismatch handler for new GCC/Clanglib/ubsan.c lib/ubsan.h+52 -100 replies
80/114lib/ubsan: add type mismatch handler for new GCC/Clanglib/ubsan.c lib/ubsan.h+52 -100 replies
81/114lib/ubsan: remove returns-nonnull-attribute checkslib/ubsan.c lib/ubsan.h+0 -280 replies
82/114ipc: fix ipc data structures inconsistencyipc/msg.c ipc/sem.c ipc/shm.c +1 more+43 -120 replies
83/114ipc/mqueue.c: have RT tasks queue in by priority in wq_add()ipc/mqueue.c+1 -10 replies
84/114arch/score/kernel/setup.c: combine two seq_printf() calls into one call in show_cpuinfo()arch/score/kernel/setup.c+0 -20 replies
85/114vfs: remove might_sleep() from clear_inode()fs/inode.c+0 -10 replies
86/114mm/userfaultfd.c: remove duplicate includemm/userfaultfd.c+0 -10 replies
87/114mm: remove unneeded kallsyms includemm/memory.c+0 -40 replies
88/114hrtimer: remove unneeded kallsyms includekernel/time/hrtimer.c+0 -10 replies
89/114genirq: remove unneeded kallsyms includekernel/irq/spurious.c+0 -10 replies
90/114mm/memblock: memblock_is_map/region_memory can be booleaninclude/linux/memblock.h mm/memblock.c+5 -50 replies
91/114lib/lockref: __lockref_is_dead can be booleaninclude/linux/lockref.h+1 -10 replies
92/114kernel/cpuset: current_cpuset_is_being_rebound can be booleaninclude/linux/cpuset.h kernel/cgroup/cpuset.c+5 -50 replies
93/114kernel/resource: iomem_is_exclusive can be booleaninclude/linux/ioport.h kernel/resource.c+6 -60 replies
94/114kernel/module: module_is_live can be booleaninclude/linux/module.h+1 -10 replies
95/114kernel/mutex: mutex_is_locked can be booleaninclude/linux/mutex.h+2 -20 replies
96/114crash_dump: is_kdump_kernel can be booleaninclude/linux/crash_dump.h+6 -60 replies
97/114kasan: rework Kconfig settingslib/Kconfig.debug lib/Kconfig.kasan scripts/Makefile.kasan+14 -10 replies
98/114pipe, sysctl: drop 'min' parameter from pipe-max-size converterfs/pipe.c include/linux/pipe_fs_i.h kernel/sysctl.c+4 -170 replies
99/114pipe, sysctl: remove pipe_proc_fn()fs/pipe.c include/linux/pipe_fs_i.h include/linux/sysctl.h +1 more+5 -220 replies
100/114pipe: actually allow root to exceed the pipe buffer limitsfs/pipe.c+8 -30 replies
101/114pipe: fix off-by-one error when checking buffer limitsfs/pipe.c+2 -20 replies
102/114pipe: reject F_SETPIPE_SZ with size over UINT_MAXfs/pipe.c include/linux/pipe_fs_i.h kernel/sysctl.c+5 -40 replies
103/114pipe: simplify round_pipe_size()fs/pipe.c+1 -40 replies
104/114pipe: read buffer limits atomicallyfs/pipe.c+9 -40 replies
105/114mm: docs: fixup punctuationmm/ksm.c mm/memcontrol.c mm/mlock.c +2 more+27 -270 replies
106/114mm: docs: fix parameter names mismatchmm/bootmem.c mm/maccess.c mm/memcontrol.c +5 more+20 -200 replies
107/114mm: docs: add blank lines to silence sphinx "Unexpected indentation" errorsmm/pagewalk.c mm/process_vm_access.c mm/vmscan.c+4 -00 replies
108/114MAINTAINERS: remove ANDROID ION patternMAINTAINERS+0 -10 replies
109/114MAINTAINERS: remove ARM/CLKDEV SUPPORT file patternMAINTAINERS+0 -10 replies
110/114MAINTAINERS: update Cortina/Gemini patternsMAINTAINERS+1 -10 replies
111/114MAINTAINERS: update "ARM/OXNAS platform support" patternsMAINTAINERS+1 -30 replies
112/114MAINTAINERS: update various PALM patternsMAINTAINERS+4 -80 replies
113/114MAINTAINERS: update ARM/QUALCOMM SUPPORT patternsMAINTAINERS+0 -10 replies
114/114Documentation/sysctl/user.txt: fix typoDocumentation/sysctl/user.txt+1 -10 replies

Reviews trailers per patch

50 of 116 patches have a Reviewed-by or Acked-by.

PatchNick DesaulniersAndrey RyabininAlexander PotapenkoAndrew MortonCyrill GorcunovKees CookLaura AbbottAndy ShevchenkoTejun HeoYury NorovGeert UytterhoevenJoe PerchesRyusuke KonishiMichal HockoAlexandre BounineOleg NesterovRodolfo GiomettiDavidlohr BuesoSteven Rostedt (VMware)Joe LawrenceWilly TarreauLinus Walleij
1/114A-b
2/114A-b
3/114R-b
4/114A-b
5/114A-b
6/114A-b
7/114
8/114
9/114
10/114
11/114
12/114
13/114A-b
14/114A-b R-b
15/114
16/114
17/114
18/114
19/114
20/114A-b
21/114A-b A-b
21/114A-b A-b
22/114
23/114
24/114
25/114
26/114
27/114
28/114T-b
29/114T-b
30/114T-b
31/114R-b
32/114
33/114A-b
34/114
35/114
36/114
37/114R-b
38/114R-b
39/114R-b
40/114
41/114
42/114T-b
43/114T-b
44/114
45/114
46/114
47/114A-b
48/114
49/114
50/114
51/114
52/114
53/114
54/114
55/114
56/114
57/114A-b
59/114
60/114A-b
61/114
62/114
63/114A-b
64/114A-b
65/114A-b
66/114A-b
67/114A-b
68/114A-b
69/114A-b
70/114A-b
71/114A-b
72/114A-b
73/114A-b
74/114A-b
75/114R-b R-b
75/114R-b R-b
76/114
77/114
78/114
79/114
80/114
80/114
81/114
82/114R-b
83/114R-b R-b
84/114
85/114
86/114
87/114
88/114
89/114
90/114
91/114
92/114
93/114
94/114
95/114
96/114
97/114A-b
98/114A-b A-b
99/114A-b A-b
100/114A-b A-b
101/114A-b A-b A-b
102/114A-b A-b
103/114A-b A-b
104/114A-b A-b
105/114
106/114
107/114
108/114R-b A-b
109/114R-b
110/114R-b R-b
111/114R-b
112/114R-b
113/114R-b
114/114R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 22 reviewers.

Read the v1 thread