pf.c Pflow TOS zeroed out

2017-08-01 Thread Sam Taufa
Hi, We've been maintaining this small patch since 5.8 and it seems to work as expected but could be wrong. Unpatched Behaviour: * netflow always shows TOS values as 0 Patched behaviour: * netflow now shows a TOS value when either set by the PF rule, or if packet originally had the

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-08-10 Thread sam
On Fri, 7 Aug 2015 22:49:50 +0200 shun.obsd.t...@dropcut.net wrote: Hi Maxime, Hi Sam, I have been following this thread (and others) for some time. On Fri, Aug 07, 2015 at 09:55:21PM +0200, Maxime Villard wrote: Well, I guess I'll have to admit that I find your attitude extremely

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-08-10 Thread sam
/2015 12:31, sam a écrit : On Tue, 21 Jul 2015 11:31:44 +0200 Maxime Villard m...@m00nbsd.net wrote: Found by The Brainy Code Scanner. It is not the last bug Brainy has found, but it is the last one I report. I don't have time for that. How about you release the Brainy Code

Re: Brainy: User-Triggerable Kernel Memory Leak in execve()

2015-07-21 Thread sam
On Tue, 21 Jul 2015 11:31:44 +0200 Maxime Villard m...@m00nbsd.net wrote: Found by The Brainy Code Scanner. It is not the last bug Brainy has found, but it is the last one I report. I don't have time for that. How about you release the Brainy Code Scanner then? I have so many bugs; in

Re: Brainy: Kernel Use-after-free Memory Leak in hifn

2015-05-12 Thread sam
On Mon, 11 May 2015 22:11:10 +0200 Maxime Villard m...@m00nbsd.net wrote: Hi, I put here two bugs among others: sys/dev/pci/hifn7751.c 2757 if (!(m0-m_flags M_EXT)) m_freem(m0); len = MCLBYTES;

Typo in Tetris

2014-08-04 Thread Sam Hart
Absolutely trivial, but none the less ... --- tetris-orig/shapes.c2014-08-03 14:12:09.0 +0100 +++ tetris/shapes.c 2014-08-03 14:12:26.0 +0100 @@ -76,7 +76,7 @@ }; /* - * Return true iff the given shape fits in the given position, + * Return true if the given shape

Re: Typo in Tetris

2014-08-04 Thread Sam Hart
Well, I've learned something today. Apologies for the noise. On Mon, Aug 4, 2014 at 9:51 AM, Stuart Henderson s...@spacehopper.org wrote: http://en.m.wikipedia.org/wiki/If_and_only_if

Re: shared libs and ports, maybe a proposal

2010-07-08 Thread Sam Smith
as a tie breaker against two otherwise similar versions. there's probably an obvious reason why this is a bad idea. Sam -- Talk does not cook rice - Chinese Proverb