MFS_IMAGE with a DEBUG kernel

2006-12-12 Thread Neelkanth Natu
Hi, Trying to stuff in an MFS_IMAGE into a debug kernel does not work in -current. kern.post.mk tries to put the MFS_IMAGE in ${KERNEL_KO} when building ${FULLKERNEL} - but ${KERNEL_KO} has not been created at that point. The error message I get is: linking kernel.debug textdata bss

Re: divert socket

2003-03-10 Thread Neelkanth Natu
--- Ferruccio Vitale <[EMAIL PROTECTED]> wrote: > > I try to explain better my problem: when my daemon tries to read from this socket, > recv tells me > it read 68 bytes, for example, which is about message size at application layer, but > what I read > is not I expect (string without sense). Is

Re: bug in ptcwrite()

2002-02-17 Thread Neelkanth Natu
Hi, I changed the NetBSD sources (which have the identical bug) and it now it works as it should. i.e. writes to the pseudo terminal block, don't overflow the real tty. I have not done any testing with FreeBSD. The bug is easy to reproduce and the fix is correspondingly easy to verify. I don't

bug in ptcwrite()

2002-02-17 Thread Neelkanth Natu
Hi, The following code in ptcwrite() in kern/tty_pty.c is supposed to prevent the tty input buffer overflow (for certain cases): 612 if ((tp->t_rawq.c_cc + tp->t_canq.c_cc) >= TTYHOG - 2 && 613 (tp->t_canq.c_cc > 0 || !(tp->t_iflag&ICANON))) { 614 wakeup(TSA_HUP_OR_INPUT(