PATCH2: Better kqueue patches

2002-08-17 Thread Terry Lambert
OK, these patches still add support for System V message queue integration into kqueue. They also fix the problems I noted before, by adding a third parameter to KNOTE(), and fixing up the kn_fop->f_event() functions to take a third parameter. This fixes the message queue ID > 65536 problem, and

PATCH2: Better kqueue patches

2002-08-17 Thread Terry Lambert
OK, these patches still add support for System V message queue integration into kqueue. They also fix the problems I noted before, by adding a third parameter to KNOTE(), and fixing up the kn_fop->f_event() functions to take a third parameter. This fixes the message queue ID > 65536 problem, and

Re: Want something to do?

2002-08-17 Thread Artem 'Zazoobr' Ignatjev
On Fri, Aug 16, 2002 at 07:44:47PM -0400, [EMAIL PROTECTED] wrote: > I used to work at a company that does background investigations. You know, [buzz skipped] > I dare anyone to hack this site! It's way too secure for you!!! We're hacking localhost or OUR sources. If you need script kiddiez, tha

Re: strange name of a device

2002-08-17 Thread Roger 'Rocky' Vetterberg
Eugene Ossintsev wrote: > Hallo, > > Who knows, why that device is so funny named? > > from dmesg: > >acd0: CD-RW <@A CD\^LB C\^E $81"0B> at ata1-master PIO4 >^^^ > > It varies from stable to stable. Sometimes it's displayed correctly > as > >acd0:

Re: Commit schedule for bandwidth delay product pipeline limitingfor TCP

2002-08-17 Thread Nate Lawson
Comments below. Consider them only semi-informed. :) On Fri, 16 Aug 2002, Matthew Dillon wrote: > +void > +tcp_xmit_bandwidth_limit(struct tcpcb *tp, tcp_seq ack_seq) > +{ > + u_long bw; > + u_long bwnd; > + int save_ticks; > + > + /* > + * If inflight_enable is disabled in

Re: bin/20633: fdisk doesn't handle LBA correctly

2002-08-17 Thread Artem 'Zazoobr' Ignatjev
On Sun, Aug 18, 2002 at 02:12:45AM +1000, Bruce Evans wrote: Hi, if I understand what jhb said in audit trail, following patch should solve the issue. Stephen, if it still bothers you, could you try it? --- sbin/i386/fdisk/fdisk.c Fri Aug 16 16:24:27 2002

Re: Commit schedule for bandwidth delay product pipeline limitingfor TCP

2002-08-17 Thread Matthew Dillon
:Comments below. Consider them only semi-informed. :) : :> +save_ticks = ticks; :> +if ((u_int)(save_ticks - tp->t_bw_rtttime) < 1) :> +return; : :If tp->t_bw_rtttime is greater than save_ticks, the unsigned compare will :fail. Can this ever happen (say with the "tick count

Re: bin/20633: fdisk doesn't handle LBA correctly

2002-08-17 Thread Bruce Evans
On Sat, 17 Aug 2002, Artem 'Zazoobr' Ignatjev wrote: > On Sun, Aug 18, 2002 at 02:12:45AM +1000, Bruce Evans wrote: > >> [skip] > >>> > >>> Fdisk should print these values, at least optionally, since they are needed > >>> for debugging. The magic values might be non-magic on old systems. > >> De

IPDIVERT, having issues?

2002-08-17 Thread Devon Stark
Greetings! I am having a problem trying to get IPDIVERT to take.. I have setup my kernel conf to include the following lines   options IPFIREWALL options IPDIVERT   I have the nic configured and running just fine, for both local LAN and for internet (both of my NICs are plugged into the same

Re: microuptime() and nanouptime() library?

2002-08-17 Thread Poul-Henning Kamp
In message <000701c24593$ceb71810$[EMAIL PROTECTED]>, "Sean Hamilton" write s: >Greetings, > >I just tried to use nanouptime, then microuptime, but was disappointed to >find that a quick grep of /usr/lib revealed no libraries containing these >symbols. > >Are they only available to the kernel. If