Commit Graph

259648 Commits

Author SHA1 Message Date
jmcneill
ab50e0574f dts: add sun50i-h5-libretech-all-h3-cc.dts 2018-06-27 16:38:40 +00:00
jmcneill
e7dd478e59 dts: add sun7i-a20-olimex-som-evb-emmc.dts, sun8i-h2-plus-libretech-all-h3-cc.dts, sun50i-h5-libretech-all-h3-cc.dts 2018-06-27 16:38:11 +00:00
jmcneill
7eb5140ac6 Merge conflicts. 2018-06-27 16:32:14 +00:00
jmcneill
a937e7f555 Import dts from Linux 4.18-rc2 2018-06-27 16:27:06 +00:00
maya
746c9ac266 Remove unused code. No functional change intended.
- We don't need to define __NetBSD__, C compilers do this for us.
- Defines which don't appear anywhere in src
- Don't need libpthread/librt
2018-06-27 16:13:43 +00:00
christos
ecf509af59 Reduce sizes for non _LP64 and compiler checks so that the code compiles
(but it will not work, since there is not enough address space to implement
the shadow space required).
2018-06-27 15:57:20 +00:00
christos
3a31568ee3 use the proper types for operator new 2018-06-27 15:56:30 +00:00
wiz
2900c67b14 Use An. 2018-06-27 13:53:55 +00:00
rkujawa
05ac9e42f2 Note slurm(4) driver, improve history. 2018-06-27 13:51:21 +00:00
ryo
c7edb74afd on evbarm/RPI,RPI2, VERBOSE_INIT_ARM had broken.
XPUTC() of evbarm/rpi/rpi*_start.S uses bcm283[567]_platform_early_putchar() and it requires stack.
fixed to allocate stack when starting from rpi*_start.S and a9_mpsubr.S if needed.

to work XPUTC(), need to define VERBOSE_INIT_ARM and EARLYCONS option.
2018-06-27 11:12:14 +00:00
ryo
92b0573144 keep stack pointer even if chainging CPU mode. 2018-06-27 11:05:50 +00:00
ryo
ad4c10866c remove unnecessary code. .Lmmu_init_table is in same section, and also not r8. 2018-06-27 11:05:38 +00:00
msaitoh
29dcf753cf Use definitions in mii.h and mdio.h. 2018-06-27 07:51:36 +00:00
martin
07f279e766 Comment out liblsan entries to fix the build 2018-06-27 06:08:15 +00:00
martin
9a2749bc95 Disable liblsan for now - it seems to be 64bit only - all 32bits are
failing and the 64bit ones with compat 32bit do not work either.
2018-06-27 06:06:39 +00:00
msaitoh
391c832089 Add missing BPF_D_OUT. Reported by John D. Baker. 2018-06-27 03:31:44 +00:00
kre
94c5c83f44 Since liblsan has been added to the sets already, we should build it. 2018-06-27 01:25:49 +00:00
kamil
bd8efe16d3 Avoid misaligned access in disklabel(8) in find_label()
Introduce a new helper variable tlp and use it for memory access.

Detected with MKSANITIZER/UBSan

A patch by <christos>
2018-06-27 01:14:48 +00:00
sevan
2e33b73cf0 Add another ARC, DCL, Emacs 2018-06-26 22:16:45 +00:00
christos
d9e32b60df mention lsan 2018-06-26 21:09:48 +00:00
christos
ae60fed3bd remove temp hack. 2018-06-26 21:06:45 +00:00
christos
ebb9bc82f9 Add the lsan libraries 2018-06-26 21:01:33 +00:00
christos
92d3d99452 Add support for lsan (Leak Sanitizer), crashes on exit, but works from gdb... 2018-06-26 20:55:37 +00:00
christos
748fe90b99 Add lsan support. 2018-06-26 20:54:32 +00:00
jmcneill
ea63e83eef device_printf -> aprint_debug 2018-06-26 17:44:04 +00:00
kamil
c74b070987 Add TODO.sanitizer
Note short term, long term and unspecified tasks with sanitizers.

The long term goals are planned to be started after emptying TODO.ptrace.
2018-06-26 17:13:41 +00:00
kamil
73efde6540 Remove roadmap/kamil
-8 goals finished in the possible scope for 8.0RC2
-9 abandoned in that scope after research
2018-06-26 16:06:20 +00:00
martin
d9d4389179 Replace references to i386 install media for Rawrite32 with
links to the homepage.
2018-06-26 10:49:54 +00:00
martin
0aab9c3c16 Remove Rawrite32 installer - no point having an outdated version on
some install media, the windows machine it needs to run on will
have internet and can easily download it.
2018-06-26 10:15:36 +00:00
msaitoh
204f26c6d9 Print BPF direction correctly. 2018-06-26 10:00:25 +00:00
msaitoh
90fcd8faa4 Fix a bug that BPF_D_OUT isn't printed correctly. 2018-06-26 09:50:42 +00:00
msaitoh
c354d9af4d Add the BPF direction filter (BIOC[GS]DIRECTION). 2018-06-26 06:52:43 +00:00
msaitoh
3d070ab383 Bump version to 8.99.21 (bpf_mtap*() API change & BIOC[GS]DIRECTION). 2018-06-26 06:50:52 +00:00
msaitoh
3cd62456f9 Implement the BPF direction filter (BIOC[GS]DIRECTION). It provides backward
compatibility with BIOC[GS]SEESENT ioctl. The userland interface is the same
as FreeBSD.

 This change also fixes a bug that the direction is misunderstand on some
environment by passing the direction to bpf_mtap*() instead of checking
m->m_pkthdr.rcvif.
2018-06-26 06:47:57 +00:00
thorpej
067d2463e3 Remove the i2c "size" locator and corresponding property / attach arg.
It was a hack meant only for EEPROMs, which have another way to specify
size in the config directive ("flag" paramter), as well as a better way
to detect size based on "compatible" string.
2018-06-26 06:34:55 +00:00
thorpej
c61b43cf75 In of_enter_i2c_devs(), we no longer need to set a "size" property
for a couple of models of Atmel EEPROMs because the driver can figure
this out on its own now (based on the same "compatible" criteria that
we're using).
2018-06-26 06:24:52 +00:00
thorpej
7b7b75dcdf Encode the size information in the compat data. 2018-06-26 06:21:23 +00:00
msaitoh
e07fb63fca bpf_mtap*() after ieee80211_encap() should be bpf_mtap3() rather than
bpf_mtap(). bpf_mtap3() is for raw bpf.
2018-06-26 06:17:40 +00:00
msaitoh
53e375eb53 bpf_mtap*() before ieee80211_encap() should be bpf_mtap() rather than
bpf_mtap3(). bpf_mtap3() is for raw bpf and be used after ieee80211_encap().
2018-06-26 06:16:09 +00:00
thorpej
feee3a19f4 In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication).  So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.
2018-06-26 06:03:57 +00:00
thorpej
408f5aa571 Change device_compatible_match() and iic_compatible_match() to return
the weighted match value and take an optional compatible-entry pointer,
rather than the other way around.
2018-06-26 04:32:35 +00:00
kamil
53b1355eec Document sanitizers in acronyms.comp
Added: ASan, CFI, DFSan, ESan, HWASan, LSan, MSan, TSan, UBSan.
2018-06-26 00:06:08 +00:00
sevan
453f52add6 Add HVDS, LVDS, RDRAM 2018-06-25 19:56:54 +00:00
kamil
eb8a7705cd Avoid UB in tmux/window_copy_add_formats()
Do not perform NULL pointer arithmetics.

Reported with MKSANITIZER/UBSan.

The patch proposed by upstream https://github.com/tmux/tmux/issues/1382
2018-06-25 18:41:25 +00:00
kamil
54b8bd3463 Include <stddef.h> for offsetof(3) 2018-06-25 18:36:36 +00:00
kamil
2ca8c8d72f Specify SANITIZER_RENAME_SYMBOL in chpass
Rename local versions of getpwent getpwnam getpwnam_r getpwuid getpwuid_r
(all of the symbols are namespaced) in order to remove symbol clash with
libc.

This program uses code directly from libc.
2018-06-25 18:05:25 +00:00
kamil
ee01cd1e81 Specify SANITIZER_RENAME_SYMBOL in cvs
Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
2018-06-25 18:03:56 +00:00
kamil
45d1d00b99 Specify SANITIZER_RENAME_SYMBOL in grep
Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
2018-06-25 18:02:49 +00:00
kamil
f1e4bfafe7 Specify SANITIZER_RENAME_SYMBOL in diffutils
Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
2018-06-25 18:01:13 +00:00
kamil
17b10cd3f4 Specify SANITIZER_RENAME_SYMBOL in nvi
Rename local versions of regcomp regerror regexec regfree in order to
remove symbol clash with libc.
2018-06-25 18:00:34 +00:00