Re: ASan checkpoint

2021-09-04 Thread Todd C . Miller
On Sat, 04 Sep 2021 11:36:33 +0200, Greg Steuck wrote: > This brings me to the "what's next" part. Obviously the mmap > interception needs to be fixed to get anywhere. MmapNamed invokes > internal_mmap which is defined in sanitizer_openbsd.cpp as: > > uptr internal_mmap(void *addr, size_t length,

Re: timeout: Prettify man page and usage

2021-09-04 Thread Ingo Schwarze
Hi Jason, Jason McIntyre wrote on Sat, Sep 04, 2021 at 09:47:12PM +0100: > pretty damning that my ok is on that commit ;) > i'll try to remember... Heh. With the amount of work you are doing - your current commit count stands at 9113, on average 1.34 per day, during a time of over eightteen

Re: update to tcpdump(8)

2021-09-04 Thread Jason McIntyre
On Sat, Sep 04, 2021 at 07:26:21PM +0200, Denis Fondras wrote: > Le Thu, Sep 02, 2021 at 08:36:06AM -0600, Theo de Raadt a ?crit : > > I think the following approach will work. > > > > 1. changes from tcpdump.8 -r1.00 to -rHEAD need merging into pcap-filter.5 > > > > Here is a diff for this

Re: timeout: Prettify man page and usage

2021-09-04 Thread Jason McIntyre
On Sat, Sep 04, 2021 at 02:14:47PM +0200, Ingo Schwarze wrote: > Hi Jason, > > Jason McIntyre wrote on Fri, Sep 03, 2021 at 02:46:47PM +0100: > > On Fri, Sep 03, 2021 at 03:42:21PM +0200, Ingo Schwarze wrote: > >> Theo de Raadt wrote on Thu, Sep 02, 2021 at 09:57:11AM -0600: > > >>> I think we

new gpiocharger driver

2021-09-04 Thread Klemens Nanni
Read a single GPIO pin indicating whether AC is plugged in or not. This gives me a sensor on my Pinebook Pro. cwfg(4) already provides battery information but not the charger bits. apm(4) integration can follow separately. Feedback? OK? diff 4e7699b4cf65fba4bf837b202fb68ee0f66e6d07

Re: iked(8): make proto option accept lists

2021-09-04 Thread Sebastian Benoit
Tobias Heider(tobias.hei...@stusta.de) on 2021.09.04 12:39:26 +0200: > Here's an updated diff including the man page bits. I don't want to bikeshed the manpage. The code is ok benno@ :) > Looking at pf.conf(5) > and ipsec.conf(5), there does not really seem to be a standard way to document >

Re: update to tcpdump(8)

2021-09-04 Thread Denis Fondras
Le Thu, Sep 02, 2021 at 08:36:06AM -0600, Theo de Raadt a écrit : > I think the following approach will work. > > 1. changes from tcpdump.8 -r1.00 to -rHEAD need merging into pcap-filter.5 > Here is a diff for this step. I have one question though. tcpdump.8 has : " tcpdump does not currently

Re: ksh: add support for bracketed paste mode

2021-09-04 Thread Sören Tempel
Ping. I've been using the patched the last ~6 months and didn't encounter any problems with it. If there is no interested in bracketed paste mode or if the design needs to be revised in general, please let me know. Below is a slightly updated version of this patch which should fix the build

Re: timeout: Prettify man page and usage

2021-09-04 Thread Ingo Schwarze
Hi Jason, Jason McIntyre wrote on Fri, Sep 03, 2021 at 02:46:47PM +0100: > On Fri, Sep 03, 2021 at 03:42:21PM +0200, Ingo Schwarze wrote: >> Theo de Raadt wrote on Thu, Sep 02, 2021 at 09:57:11AM -0600: >>> I think we should list shorts, and longs which have no shorts. >> I agree, and i think

Re: iked(8): make proto option accept lists

2021-09-04 Thread Tobias Heider
Here's an updated diff including the man page bits. Looking at pf.conf(5) and ipsec.conf(5), there does not really seem to be a standard way to document which parameters accept lists. Index: iked.conf.5 === RCS file:

riscv64: icache flush using sysarch(2)

2021-09-04 Thread Jeremie Courreges-Anglas
The first problem I was able to diagnose using egdb on riscv was lang/python/2.7 using libffi and aborting in libcompiler-rt (the compilerrt_abort() call below). --8<-- #elif defined(__riscv) && defined(__linux__) #define __NR_riscv_flush_icache (244 + 15) register void *start_reg __asm("a0")

ASan checkpoint

2021-09-04 Thread Greg Steuck
My aspiration for k2k21 was to get ASan working on OpenBSD. The following is a dump of the current state and questions about future directions. There are roughly two parts to ASan, the compiler instrumentation and the runtime library. The instrumentation is likely much less system dependent than