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
kamil
eb682ff828
Add a framework for renaming symbols in libc&co for MKSANITIZER
...
A new keyword SANITIZER_RENAME_SYMBOL. It's a variable that has specified
a list of symbols to be renamed in a processor in order to remove naming
conflicts with public symbols in libc/m/pthread/rt.
This renaming will occur for libraries and programs.
A symbol with a conflicting 'name', will be renamed to '__mksanitizer_name'.
Based on an idea by <christos>
2018-06-25 17:58:36 +00:00
kamil
626dd188a2
Avoid unportable offsetof(3) calculation in nvi in log1.c
...
Detected with MKSANITIZER/UBSan.
2018-06-25 17:42:34 +00:00
christos
fd98358317
Don't require any arguments as the usage indicates; simplifies the code
...
and the documentation: now "jot" works like "jot -" used to (and continues
to). From Ingo Schwarze
2018-06-25 14:29:17 +00:00
msaitoh
3d3638f672
KNF & fix typo. No functional change.
2018-06-25 13:28:12 +00:00
martin
67f3e0d165
Do not put debug.tgz and xdebug.tgz onto install CDs (a lot of them
...
grow out of bounds and for some architectures can not turn into DVDs).
2018-06-25 12:18:22 +00:00
wiz
1045729af3
Remove superfluous Pp.
2018-06-25 10:53:47 +00:00
msaitoh
313477deff
Simplify bpf_mtap() call. No functional change.
2018-06-25 09:57:25 +00:00
kamil
ef7aae126a
Rephrase the documentation of MKSANITIZER
...
Based on the feedback from <f8l> and <pgoyette>.
2018-06-25 09:38:46 +00:00
msaitoh
483517e3bb
Move txintr_setup() stuff from lmc_interrupt() and do it in ifnet_start().
...
Now we can use bpf_mtap() in the TX path. Not tested.
2018-06-25 09:32:28 +00:00
msaitoh
351461b019
Remove duplicated inclusion of net/bpf.h.
2018-06-25 04:59:42 +00:00
msaitoh
3f65f475e9
Bump version to 8.99.20 (removal of bpf_tap()).
2018-06-25 03:23:55 +00:00
msaitoh
c6a4b11da8
Removal of bpf_tap().
2018-06-25 03:22:14 +00:00
dholland
bc382992a0
Describe what this actually does. Bump date.
2018-06-25 01:21:21 +00:00
christos
f0907ab569
Fix the rest of the functions that have been made visible by xopen5,
...
posix 2017, and c99.
2018-06-24 23:55:29 +00:00
christos
9dd3d50e00
PR/53393: coypu: move rint to the right section.
2018-06-24 22:07:46 +00:00