Re: patch: asr_debug.c prints SOA in wrong order

2021-04-01 Thread Boudewijn Dijkstra
Op Tue, 30 Mar 2021 12:15:42 +0200 schreef Boudewijn Dijkstra : Both asr_private.h and asr_utils.c have mname before rname but not asr_debug.c. And another thing while we're here: since 2019 the flag RES_USE_CD exists, but this was never added to asr_debug.c. New patch follows. Index

patch: asr_debug.c prints SOA in wrong order

2021-03-30 Thread Boudewijn Dijkstra
Both asr_private.h and asr_utils.c have mname before rname but not asr_debug.c. Index: asr_debug.c === RCS file: /cvs/src/lib/libc/asr/asr_debug.c,v retrieving revision 1.26 diff -u -p -r1.26 asr_debug.c --- asr_debug.c 3 Jul 2019

Re: spamd: make blacklists override learned whitelist

2020-12-10 Thread Boudewijn Dijkstra
amd blacklists in main process if the address is in the local traplist. If the address is in another blacklist, it will pick that up in the next loop. 3. In spamd(8), let sdl_check() disregard tag "spamd-greytrap". 4. ??? Which is preferred? -- Boudewijn Dijkstra Indes-IDS B.V. +31 345 545 535

[PATCH] __rec_open() should set the type

2020-12-01 Thread Boudewijn Dijkstra
According to dbopen(3), the 'type' field of struct DB holds the "type of the underlying access method (and file format)." In __bt_open() it is set to DB_BTREE and in __hash_open() it is set to DB_HASH, so one might expect that in __rec_open() it is set to DB_RECNO. However, it is left

Re: upd(4): force boolean indicator to be 0 or 1

2020-02-20 Thread Boudewijn Dijkstra
Anyone? Op Mon, 20 Jan 2020 12:22:07 +0100 schreef Boudewijn Dijkstra : Some upd(4) devices use -1 for "On" and some use 1. sysctl(8) and sensorsd(8) hide this detail from the user, which makes it difficult to define low and high values in sensorsd.conf(5). Also see https://ma

upd(4): force boolean indicator to be 0 or 1

2020-01-20 Thread Boudewijn Dijkstra
or->ksensor.flags &= ~SENSOR_FINVALID; Note that this will break some configurations. -- Boudewijn Dijkstra Indes-IDS B.V. +31 345 545 535

Re: armv7 really isn't a strict-alignment architecture

2018-02-23 Thread Boudewijn Dijkstra
Op Thu, 22 Feb 2018 22:51:12 +0100 schreef Mark Kettenis : I hate to loose yet another strict-alignment canary, but the reality is that the rest of the world assumes that armv7 supports unaligned access which means that compilers generate code that assumes this works

Re: enum unsigned or not?

2017-08-31 Thread Boudewijn Dijkstra
Op Thu, 31 Aug 2017 14:08:07 +0200 schreef Otto Moerbeek : /usr/src/usr.sbin/sasyncd/carp.c:157:12: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] if (state < 0 || state > FAIL) ~ ^ ~

Re: ksh(1): don't output invalid UTF-8 characters

2017-05-22 Thread Boudewijn Dijkstra
Op Fri, 19 May 2017 15:17:55 +0200 schreef Anton Lindqvist : On Fri, May 19, 2017 at 09:33:33AM -0300, Lucas Gabriel Vuotto wrote: On 19/05/17 03:42, Anton Lindqvist wrote: > > +static int > +u8len(unsigned char c) > +{ > + switch (c & 0xF0) { > + case 0xF0: > +

Re: freetype vulns

2015-03-09 Thread Boudewijn Dijkstra
Op Sat, 07 Mar 2015 20:13:45 +0100 schreef David Coppa dco...@gmail.com: On Sat, Mar 7, 2015 at 7:28 PM, Ted Unangst t...@tedunangst.com wrote: Or you could start with the linked Ubuntu advisory and try to discover where they hide the relevant patches. Heaven forbid they directly link to them,

Re: freetype vulns

2015-03-05 Thread Boudewijn Dijkstra
Op Wed, 04 Mar 2015 23:12:07 +0100 schreef Ted Unangst t...@tedunangst.com: Freetype (http://www.freetype.org/) 2.5.5 was released a little while ago, fixing some security vulnerabilities. Actually as I understand it, 2.5.4 fixed the vulns, then 2.5.5 fixed the fix. OpenBSD 5.7 will ship with

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Boudewijn Dijkstra
Op Wed, 27 Aug 2014 20:50:34 +0200 schreef Miod Vallat m...@online.fr: Why not keep the softdep flag when updating rw-ro? E.g. via mount -ur /usr/obj fstab(5) already allows ro+softdep. Because if we were to apply this diff, there would be no way to switch from rw+softdep to rw. That was

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Boudewijn Dijkstra
Op Thu, 28 Aug 2014 11:51:32 +0200 schreef Miod Vallat m...@online.fr: Because if we were to apply this diff, there would be no way to switch from rw+softdep to rw. That was already broken; rw-rw is not affected as per the enclosing if-block. Which is why the current way to remove softdep

i386/isa/clock.c Y2K complexities

2014-08-28 Thread Boudewijn Dijkstra
Until we start to worry about Y2K1, does it really matter what the NVRAM_CENTURY byte says? --- /usr/src/sys/arch/i386/isa/clock.c.orig Mon May 6 02:15:11 2013 +++ /usr/src/sys/arch/i386/isa/clock.c Wed Aug 27 19:02:46 2014 @@ -502,85 +502,6 @@ static int timeset; /* - * check

changing ffs mount between rw and ro while preserving softdep

2014-08-27 Thread Boudewijn Dijkstra
Why not keep the softdep flag when updating rw-ro? E.g. via mount -ur /usr/obj fstab(5) already allows ro+softdep. --- /usr/src/sys/ufs/ffs/ffs_vfsops.c.orig Wed Aug 27 19:00:31 2014 +++ /usr/src/sys/ufs/ffs/ffs_vfsops.c Wed Aug 27 19:01:19 2014 @@ -218,10 +218,9 @@

Re: Design of spamd

2011-12-01 Thread Boudewijn Dijkstra
Op Wed, 30 Nov 2011 20:02:38 +0100 schreef Han Boetes h...@mijncomputer.nl: Boudewijn Dijkstra wrote: Op Tue, 29 Nov 2011 21:54:37 +0100 schreef Han Boetes h...@mijncomputer.nl : At the moment all spamd greylisting cares about is, does it retry connecting? Unfortunately a lot of spammers do

Re: Design of spamd

2011-11-30 Thread Boudewijn Dijkstra
Op Tue, 29 Nov 2011 21:54:37 +0100 schreef Han Boetes h...@mijncomputer.nl: At the moment all spamd greylisting cares about is, does it retry connecting? Unfortunately a lot of spammers do a spamrun and simply try sending a spam message or 10 and then move on to the next smtp server on their

Re: ISO-8859-1 character in manpage

2011-03-17 Thread Boudewijn Dijkstra
Op Thu, 17 Mar 2011 00:55:32 +0100 schreef Ingo Schwarze schwa...@usta.de: Anthony J. Bentley wrote on Wed, Mar 16, 2011 at 01:37:50PM -0600: $ mandoc -Tlint /usr/src/share/man/man4/udl.4 /usr/src/share/man/man4/udl.4:42:6: ERROR: skipping bad character: ignoring byte Thanks for reporting!