Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2003 18:08:31 +0000 (UTC)
From:      othermark <atkin901@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Re: stable libmilter leaks kqueue descriptors?
Message-ID:  <slrnbj7ppq.5pb.atkin901@adkinson245.f5net.com>
References:  <slrnbidfm6.11jf.atkin901@adkinson245.f5net.com> <slrnbifq2n.13vk.atkin901@adkinson245.f5net.com> <20030808133657.GA42855@curry.mchp.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm glad I'm not 'seeing' things.  If you have a good enough idea
of where the leakage is occuring, could you file a PR against -STABLE?
I'd like to see this fixed soon.  I'm not even sure that the pr I
referenced is the exact problem, but seems likely.

In article <20030808133657.GA42855@curry.mchp.siemens.de>, 
Andre Albsmeier wrote:

> I have a self-written milter app. Today I upgraded to the recent
> -STABLE and now it eats KQUEUE filedscriptors like crazy. I tried
> to MFC the fix in lib/libc_r/uthread/uthread_kqueue.c but I always
> get complaints about multiple definition of `_kqueue':
> 
> building shared library libc_r.so.4
> kqueue.So: In function `_kqueue':
> kqueue.So(.text+0x14): multiple definition of `_kqueue'
> uthread_kqueue.So(.text+0x0): first defined here
> *** Error code 1
> 
> Seems it conflicts with /usr/obj/lib/libc_r/kqueue.S
> which is generated everytime from scratch during the build.
> 
> I assume that I have to add kqueue.o to HIDDEN_SYSCALLS
> but I am not sure if this is correct and what it will break :-)

---
Mark
atkin901 at NOSPAM yahoo dot com
(!wired)?(coffee++):(wired);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnbj7ppq.5pb.atkin901>