Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Marco S Hyman
> FWIW, the original UNIX had bcopy. Which makes me an ignorant idiot. So it goes. /\/\arc

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Tim Wiess
> > On Tue, 22 Jun 2010 19:00:59 -0700, Tim Wiess wrote: > > > > FWIW, the original UNIX had bcopy. > > I can't find it in my Bell Labs "Unix programmer's manual" Vol 1 > 1983 I meant to say it had *a* bcopy. Since I found its definition in a copy of Lion's book (v6 kernel). I don't know if it w

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Rod Whitworth
On Tue, 22 Jun 2010 19:00:59 -0700, Tim Wiess wrote: >FWIW, the original UNIX had bcopy. I can't find it in my Bell Labs "Unix programmer's manual" Vol 1 1983 *** NOTE *** Please DO NOT CC me. I subscribed to the list. Mail to the sender address that does not originate at the list server is t

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Tim Wiess
> Bullshit. If you're going to rail against something at least get > the history correct. > > System III Unix in 1982 had neither > memcpy came with System V in about 1983 > bcopy came with 4.2 bsd in about 1983 > > If you grew up with BSD then bcopy was your friend. If you grew > up with Syst

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Marco Peereboom
Except that bcopy always works and memcpy doesn't. Sure it is historic. History is riddled with mistakes. BTW I grew up on memcpy and I always found it a stupid API, same is true for str* functions and original intel assembly. They all got it backwards. On Tue, Jun 22, 2010 at 06:00:33PM -0700,

Re: [PATCH] Unprotected imsg header

2010-06-22 Thread Christiano F. Haesbaert
Also a missing include. Index: imsg.h === RCS file: /cvs/src/lib/libutil/imsg.h,v retrieving revision 1.1 diff -d -u -p -w imsg.h --- imsg.h 26 May 2010 16:44:32 - 1.1 +++ imsg.h 23 Jun 2010 01:36:28 - @@ -18,6

[PATCH] Unprotected imsg header

2010-06-22 Thread Christiano F. Haesbaert
Hi, imsg.h in libutil was unprotected. Index: imsg.h === RCS file: /cvs/src/lib/libutil/imsg.h,v retrieving revision 1.1 diff -d -u -p -w imsg.h --- imsg.h 26 May 2010 16:44:32 - 1.1 +++ imsg.h 23 Jun 2010 01:23:00

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Theo de Raadt
> > miod is 100% right. memcpy is another committee hit job on > > practicality. OMG bcopy wasn't invented here lets flip around the > > parameters foar moar bettarone!!!```~!~!Y~%!^% > > Bullshit. If you're going to rail against something at least > get the history correct. > > System II

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Marco S Hyman
> miod is 100% right. memcpy is another committee hit job on > practicality. OMG bcopy wasn't invented here lets flip around the > parameters foar moar bettarone!!!```~!~!Y~%!^% Bullshit. If you're going to rail against something at least get the history correct. System III Unix in 1982 h

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Theo de Raadt
> Not that anyone here cares, but I expect the original comment stems > from having read a linux manual for bcopy, which states: > > CONFORMING TO >4.3BSD. This function is deprecated (marked as LEGACY > in >POSIX.1-2001): use memcpy(3) or memmove(3) in new programs.

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Graham Gower
On 23 June 2010 09:06, Marco Peereboom wrote: > On Wed, Jun 23, 2010 at 12:20:09AM +0200, Marc Espie wrote: >> On Tue, Jun 22, 2010 at 06:53:12PM +, Miod Vallat wrote: >> > > >> Is there any reson you use bcopy() not memcpy()? >> > > >> If not considder using memcpy() please. :) >> > > >> > >

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Marco Peereboom
On Wed, Jun 23, 2010 at 12:20:09AM +0200, Marc Espie wrote: > On Tue, Jun 22, 2010 at 06:53:12PM +, Miod Vallat wrote: > > > >> Is there any reson you use bcopy() not memcpy()? > > > >> If not considder using memcpy() please. :) > > > > > > > We couldn't care what you believe, unless you have

Procrastinez-vous ?

2010-06-22 Thread TIME-COACH
Connaissez-vous la signification du mot B+ PROCRASTINER B;  ? Si c'est le cas, il est indiscutable que les techniques de gestion du temps vous sont familiC(res, ou du moins, que vous vous y intC)ressez activement. M

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Marc Espie
On Tue, Jun 22, 2010 at 06:53:12PM +, Miod Vallat wrote: > > >> Is there any reson you use bcopy() not memcpy()? > > >> If not considder using memcpy() please. :) > > > > > We couldn't care what you believe, unless you have diffs of your own > > > to submit. > > > > I think the guy there aske

Website and Graphic design service

2010-06-22 Thread Exysoft
Good Design is Good Business If your website & email marketing isn't generating quality leads, let us help. Our email marketing software will make sure your email newsletter, email advertising, and other important communications produce the results you really want. We create an EXTRAORDINARY webs

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Henning Brauer
* Philipp Schafft [2010-06-22 20:09]: > reflum, > > On Mon, 2010-06-21 at 12:44 -0700, Matthew Dempsky wrote: > > It looks like adw(4) has never correctly supported >12 byte SCSI > > requests. It wants to copy from 12 bytes past the start of the CDB, > > but &xs->cmd[12] is actually 192 bytes pa

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Hudson Flavio V Mateus
> >> Is there any reson you use bcopy() not memcpy()? > >> If not considder using memcpy() please. :) > > > We couldn't care what you believe, unless you have diffs of your own > > to submit. > > I think the guy there asked if there is any difference, it was just that. I > also don't know bcopy() a

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Miod Vallat
> >> Is there any reson you use bcopy() not memcpy()? > >> If not considder using memcpy() please. :) > > > We couldn't care what you believe, unless you have diffs of your own > > to submit. > > I think the guy there asked if there is any difference, it was just that. I > also don't know bcopy()

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Hudson Flavio V Mateus
>> Is there any reson you use bcopy() not memcpy()? >> If not considder using memcpy() please. :) > We couldn't care what you believe, unless you have diffs of your own > to submit. I think the guy there asked if there is any difference, it was just that. I also don't know bcopy() and would like

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Theo de Raadt
> Is there any reson you use bcopy() not memcpy()? > If not considder using memcpy() please. :) We couldn't care what you believe, unless you have diffs of your own to submit.

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Miod Vallat
> > diff -u -p dev/ic/adw.c > > [...] > > + bcopy(xs->cmd, &scsiqp->cdb, MIN(xs->cmdlen, 12)); > > [...] > > Is there any reson you use bcopy() not memcpy()? > If not considder using memcpy() please. :) Is there any reason you advocate memcpy() over bcopy()? If not, consider advocating the mor

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Kenneth R Westerback
On Tue, Jun 22, 2010 at 04:02:16PM +0200, Philipp Schafft wrote: > reflum, > > On Mon, 2010-06-21 at 12:44 -0700, Matthew Dempsky wrote: > > It looks like adw(4) has never correctly supported >12 byte SCSI > > requests. It wants to copy from 12 bytes past the start of the CDB, > > but &xs->cmd[12

Re: Patch for bogus pointer arithmetic in adw(4)

2010-06-22 Thread Philipp Schafft
reflum, On Mon, 2010-06-21 at 12:44 -0700, Matthew Dempsky wrote: > It looks like adw(4) has never correctly supported >12 byte SCSI > requests. It wants to copy from 12 bytes past the start of the CDB, > but &xs->cmd[12] is actually 192 bytes past (and pointing at who knows > what). > > However

Re: OpenBSD closes TCP connections between unrelated hosts

2010-06-22 Thread Claudio Jeker
On Wed, Jun 16, 2010 at 01:37:19PM +0100, Stuart Henderson wrote: > On 2010/06/16 20:19, Patrick Coleman wrote: > > >> > > > > > > trunk(4) places trunkports into promiscuous mode anyway, > > > so would it make more sense just to skip the IFF_PROMISC > > > check here? in which case, there would be

Re: PF state inspection, second try

2010-06-22 Thread Vadim Zhukov
2010/6/22 Theo de Raadt : > It is way too easy to misuse this. People who use it will reduce > security when they think they are increasing security. 2010/6/22 Henning Brauer : > I am extremely sceptical about this. first thought is really - do it > in userland. Hm-m-m. Say creating uniproxyd(8)

[Private Photo Share] Cali Girl- Has sent you private photos.

2010-06-22 Thread sweetieingirl
I do not want the entire group seeing these photos.Because some may recognize me. Here's the link: http://diehar.zoomshare.com/files/photos.htm

Re: PF state inspection, second try

2010-06-22 Thread Henning Brauer
I am extremely sceptical about this. first thought is really - do it in userland. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting