LPRng removed, how can I get a copy of last port before removal?

2016-02-17 Thread Chris Bennett
Last version from author was 3.8.35 done at end of 2010. Appears that many useful features are present, many other problems like Kerberos need removal. Author said that IPP would start at 4.x.x versions, which have never been done. Is using Artistic license. Has SSL support, which would need to be

Re: Optimize pledge-related notes in 59.html

2016-02-17 Thread Theo de Raadt
wow, 59.html is not a completed web page. It is a draft. in a bit more than 2 months it will start to move away from being a draft. some of you folk are unbelievable. and rather than actually helping, you write paragraphs of complaining and suggesting, withing precisely showing what you propose.

Re: Harmful casts in ufs

2016-02-17 Thread Martin Natano
On Wed, Feb 17, 2016 at 11:27:29AM -0700, Todd C. Miller wrote: > On Wed, 17 Feb 2016 10:22:04 +0100, Martin Natano wrote: > > > Casting the result of ext2fs_size() and DIP(ip, size) to int potentially > > truncates the result. Issue found by Stefan Kempf, see > > https://marc.info/?l=openbsd-tech

Re: Intel i219 network card support

2016-02-17 Thread Stuart Henderson
On 2016/02/17 15:45, Alexander Bluhm wrote: > On Mon, Feb 15, 2016 at 10:37:36AM +0100, Christian Ehrhardt wrote: > > before I post the next iteration of the patch, I'd like > > some more advice on some of the points you commented (inline): > > Christian Ehrhardt has asked me to port his fixes and

Re: Fix overflow check in sys/netinet6/in6.c

2016-02-17 Thread Stefan Kempf
Martin Pieuchot wrote: > On 13/02/16(Sat) 18:51, Stefan Kempf wrote: > > Some thoughts about this: > > > > If this particular type of undefined behavior is really a concern: maybe > > looking for bounds/overflow checks that are incorrect besides undefined > > behavior first is a better approach. A

Re: Make alpha 2038-safe

2016-02-17 Thread Philipp Schafft
flum, On Wed, 2016-02-17 at 12:05 -0500, Michael McConville wrote: > Now that we have 64-bit time. Otherwise, all the people running Alpha in > 2038 will yell at us. > Index: sys/arch/alpha/alpha/clock.c > === > RCS file: /cvs/src/s

Re: Integer overflow in syslogd

2016-02-17 Thread Alexander Bluhm
On Fri, Feb 12, 2016 at 11:28:22PM +, Michael Savage wrote: > I've added a comment and replaced memcpy with strlcpy as suggested. Commited, Thanks bluhm

Re: Make alpha 2038-safe

2016-02-17 Thread Michael McConville
Michael McConville wrote: > Now that we have 64-bit time. Otherwise, all the people running Alpha in > 2038 will yell at us. And sh: Index: arch/sh/sh/clock.c === RCS file: /cvs/src/sys/arch/sh/sh/clock.c,v retrieving revision 1.7 d

Re: Harmful casts in ufs

2016-02-17 Thread Todd C. Miller
On Wed, 17 Feb 2016 10:22:04 +0100, Martin Natano wrote: > Casting the result of ext2fs_size() and DIP(ip, size) to int potentially > truncates the result. Issue found by Stefan Kempf, see > https://marc.info/?l=openbsd-tech&m=145495905416536 . > > While there I also removed the cast in the ext2f

Make alpha 2038-safe

2016-02-17 Thread Michael McConville
Now that we have 64-bit time. Otherwise, all the people running Alpha in 2038 will yell at us. Index: sys/arch/alpha/alpha/clock.c === RCS file: /cvs/src/sys/arch/alpha/alpha/clock.c,v retrieving revision 1.21 diff -u -p -r1.21 clock

Re: Intel i219 network card support

2016-02-17 Thread Alexander Bluhm
On Mon, Feb 15, 2016 at 10:37:36AM +0100, Christian Ehrhardt wrote: > before I post the next iteration of the patch, I'd like > some more advice on some of the points you commented (inline): Christian Ehrhardt has asked me to port his fixes and test his new diff on -current. Works fine on my em0

Re: correct Mesa endian test

2016-02-17 Thread Martin Pieuchot
On 17/02/16(Wed) 00:43, Jonathan Gray wrote: > Due to the way Mesa can be built there are two headers that setup endian > tests. > > src/mesa/main/compiler.h and src/gallium/include/pipe/p_config.h > > The former relies on indirect inclusion as was recently pointed out > on the Mesa list. > > Th

Optimize pledge-related notes in 59.html

2016-02-17 Thread Alexey Suslikov
Hi tech@. pledge itself is a security feature, so maybe it is better to put pledge under "Security improvements", like "More than 200 daemons and programs was pledged, among them: dhclient, dhcpd, fdisk" etc I found myself happy to understand what a) pledge is a security feature, b) how deep ple

Harmful casts in ufs

2016-02-17 Thread Martin Natano
Casting the result of ext2fs_size() and DIP(ip, size) to int potentially truncates the result. Issue found by Stefan Kempf, see https://marc.info/?l=openbsd-tech&m=145495905416536 . While there I also removed the cast in the ext2fs_chmod() call, because the function expects a mode_t argument anywa